MCP MySQL Server
mcp-서버-mysql
MySQL 데이터베이스용 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 데이터베이스 스키마를 검사하고 읽기 전용 쿼리를 실행할 수 있습니다.
특징
MySQL 데이터베이스에 대한 읽기 전용 액세스
스키마 검사 기능
READ ONLY 트랜잭션 내에서 안전한 쿼리 실행
도커 지원
NPM 패키지 사용 가능
Related MCP server: MySQL MCP Server
설치
Docker 사용하기
지엑스피1
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 MySQL 데이터베이스 서버를 자동으로 설치하려면:
npx -y @smithery/cli install @yuru-sha/mcp-server-mysql --client claude용법
Claude Desktop과 함께
claude_desktop_config.json 에 다음 구성을 추가하세요.
{
"mcpServers": {
"mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/mysql",
"mysql://host:port/dbname"
]
}
}
}참고: macOS에서 Docker를 사용하는 경우 MySQL 서버가 호스트 네트워크에서 실행 중이면 host.docker.internal 사용하세요.
연결 URL 형식
mysql://[user][:password]@host[:port]/database/database 데이터베이스 이름으로 바꾸세요.
개발
# Initial setup
make setup
# Build the project
make build
# Format code
make format
# Run linter
make lint특허
이 프로젝트는 MIT 라이선스 에 따라 배포됩니다.
보안
이 서버는 데이터베이스 보호를 위해 읽기 전용 액세스를 적용합니다. 모든 쿼리는 읽기 전용 트랜잭션 내에서 실행됩니다.
보안을 강화하려면 읽기 전용 사용자를 만드는 것이 좋습니다.
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
This server cannot be deployed
Maintenance
Related MCP Connectors
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
- dataOAuthco.thinair
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables read-only access to MySQL databases through natural language queries. Provides automatic table schema discovery and executes SELECT, SHOW, DESCRIBE, and EXPLAIN statements within secure read-only transactions.MIT
- FlicenseNot gradedqualityDmaintenanceEnables safe interaction with MySQL databases through SELECT queries, table structure inspection, and database schema exploration. Provides read-only access to query data and examine database metadata.1-
- AlicenseAqualityCmaintenanceEnables AI assistants to inspect and query a MySQL database through safe, structured tools, including schema discovery and read-only queries.935 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables schema introspection and safe read-only queries on MySQL databases, supporting table/column discovery, relationship exploration, and controlled SELECT queries.8 npmMIT