Skip to main content
Glama
yuru-sha

MCP MySQL Server

by yuru-sha

mcp-서버-mysql

CI 상태 대장간 배지

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to inspect and query a MySQL database through safe, structured tools, including schema discovery and read-only queries.
    9
    89
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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

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