Skip to main content
Glama
xianzong85

MySQL Server MCP Server

by xianzong85

MySQL 서버 MCP 서버

MySQL 데이터베이스 액세스를 위한 모델 컨텍스트 프로토콜 서버

이는 MySQL 데이터베이스 쿼리 도구를 제공하는 TypeScript 기반 MCP 서버입니다. 다음을 통해 핵심 MCP 개념을 보여줍니다.

  • SQL 쿼리 실행을 위한 도구

  • 환경 변수를 통한 MySQL 데이터베이스 연결

특징

도구

  • query - SQL 쿼리 실행

    • SQL 쿼리 문자열을 필수 매개변수로 사용합니다.

    • 쿼리 결과를 반환합니다

Related MCP server: Angular Bootstrap MCP Server

구성

MCP 서버 구성에서 다음 환경 변수를 설정하세요.

  • MYSQL_HOST: MySQL 서버 호스트

  • MYSQL_USER: MySQL 사용자 이름

  • MYSQL_PASSWORD: MySQL 비밀번호

  • MYSQL_DATABASE: MySQL 데이터베이스 이름

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

설치

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mysql": {
      "command": "/path/to/mysql-server/build/index.js",
      "env": {
        "MYSQL_HOST": "your-mysql-host",
        "MYSQL_USER": "your-mysql-user",
        "MYSQL_PASSWORD": "your-mysql-password",
        "MYSQL_DATABASE": "your-mysql-database"
      }
    }
  }
}

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

A
license - permissive license
Not graded
quality - not tested
D
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 Servers

  • A
    license
    A
    quality
    F
    maintenance
    A TypeScript-based MCP server that enables testing of REST APIs through Cline. This tool allows you to test and interact with any REST API endpoints directly from your development environment.
    1
    100
    99
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A TypeScript-based MCP server that provides backend API handling and facilitates communication between microservices. Features an organized structure with controllers, routes, and models for easy extensibility and maintenance.
    381
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A TypeScript/Node.js MCP server that wraps the Metabase REST API, enabling AI agents to execute queries, explore schemas, and build dashboards through structured tool calls.
    61
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    A simple MCP server that executes SQL queries on a MariaDB database using a YAML config file.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…

  • MCP server for managing Prisma Postgres.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

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/xianzong85/mysql-server-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server