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 라이선스 에 따라 배포됩니다.
보안
이 서버는 데이터베이스 보호를 위해 읽기 전용 액세스를 적용합니다. 모든 쿼리는 읽기 전용 트랜잭션 내에서 실행됩니다.
보안을 강화하려면 읽기 전용 사용자를 만드는 것이 좋습니다.
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Generate, fix, explain and run read-only SQL on PostgreSQL, MySQL and SQL Server
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
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.989MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely interact with MySQL databases, including listing tables, viewing schemas, and executing read-only SQL queries through natural language.6-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuru-sha/mcp-server-mysql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server