
abel9851/mcp-server-mariadb
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MariaDB에 대한 읽기 전용 액세스를 제공하는 mcp 서버.
개요
Mariadb에서 데이터를 검색하기위한 MCP 서버 구현 - query database - MariDB에 대한 읽기 전용 작업을 수행 - Mac - mariadb를 설치할 때, 아마 아래 os 오류를 제기합니다. mariadb-connector-c를 설치하여 해결할 수 있습니다. 1. Brew install mariadb-connector-c 2. echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"를 실행하십시오 >> ~/.bashrc 3. 설정 환경 변수 내보내기 MARIADB CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb config 4. uv add mariadb 다시 실행합니다. - : ~/Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json 이 구성을 추가하여 게시된 서버 활성화 : 실제 경로를 가진 이 위주자를 대체하십시오: - /PATH/TO/uvx: uvx 실행 가능한 전체 경로
개요(AI 번역)
Mariadb에서 데이터를 검색하기위한 MCP 서버 구현
특징
자원
Expose schema list 에 데이터베이스
도구
- 쿼리 database
- MariDB에 대한 읽기 전용 작업을 수행
신뢰성
##는 mariadb 설치
- 맥
- mariadb를 설치할 때, 아래 os 오류를 제기합니다. mariadb-connector-c를 설치하여 해결할 수 있습니다.
brew install mariadb-connector-c실행echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc실행- 설정 환경 변수
export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config uv add mariadb을 다시 실행합니다.
Claude 데스크탑 사용
구성 파일
Claude Desktop config 파일 경로:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - 윈도우:
%APPDATA%\Claude\claude_desktop_config.json
이 구성을 추가하여 게시된 서버 활성화
Note: 실제 경로로 이러한 위주자를 대체하십시오:
/PATH/TO/uvx: uvx executable에 대한 전체 경로
개발/unpublished 서버를 가능하게 하는 이 윤곽을 추가하십시오
Note: 실제 경로로 이러한 위주자를 대체하십시오:
- [T7]]: UV 실행 가능한 전체 경로
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-server-mariadb
An MCP server implementation for retrieving data from mariadb
Features
Resources
Expose schema list in database
Tools
- query_database
- Execute read-only operations against MariDB
dependency
install mariadb
- mac
- when install mariadb, maybe raise os error below. you can resolve by installing mariadb-connector-c.
OSError: mariadb_config not found.
This error typically indicates that MariaDB Connector/C, a dependency which
must be preinstalled, is not found.
If MariaDB Connector/C is not installed, see installation instructions
If MariaDB Connector/C is installed, either set the environment variable
MARIADB_CONFIG or edit the configuration file 'site.cfg' to set the
'mariadb_config' option to the file location of the mariadb_config utility.
- execute
brew install mariadb-connector-c - execute
echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc - set environment variable
export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config - execute
uv add mariadbagain.
Usage with Claude Desktop
Configuration File
Paths to Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
License
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"mcp_server_mariadb": {
"command": "/PATH/TO/uvx"
"args": [
"mcp-server-mariadb",
"--host",
"${DB_HOST}",
"--port",
"${DB_PORT}",
"--user",
"${DB_USER}",
"--password",
"${DB_PASSWORD}",
"--database",
"${DB_NAME}"
]
}
}
}