
mysql-mcp-server
Modèle de serveur de protocole de contexte pour les bases de données MySQL dans Cursor IDE
2
Github Watches
0
Github Forks
1
Github Stars
MySQL MCP 서버
Cursor IDE를 위한, MySQL 데이터베이스와 상호작용하는 Model Context Protocol(MCP) 서버입니다.
설치 및 실행
-
필요한 패키지 설치:
npm install
-
서버 실행:
npm start
환경 변수
서버 실행 시 다음 환경 변수를 설정할 수 있습니다:
-
MYSQL_HOST
: MySQL 서버 호스트 (기본값: "localhost") -
MYSQL_PORT
: MySQL 서버 포트 (기본값: 3306) -
MYSQL_USER
: MySQL 사용자 이름 (기본값: "root") -
MYSQL_PASSWORD
: MySQL 비밀번호 (기본값: "") -
MYSQL_DATABASE
: 기본 데이터베이스 (기본값: "test") -
MYSQL_READONLY
: 읽기 전용 모드 활성화 여부 ("true" 또는 "false")
Cursor IDE와 함께 사용하기
mcp.json
파일을 Cursor IDE 프로젝트에 추가하고 다음과 같이 구성하세요:
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"github:comonetso/mysql-mcp-server"
],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "사용자명",
"MYSQL_PASSWORD": "비밀번호",
"MYSQL_DATABASE": "데이터베이스명",
"MYSQL_READONLY": "true"
}
}
}
}
기능
- SQL 쿼리 실행
- 테이블 목록 조회
- 테이블 구조 설명
- 데이터베이스 목록 조회
- 데이터베이스 전환
- 연결 상태 확인
라이센스
MIT
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews

user_jfyopXG3
mysql-mcp-server by comonetso is a fantastic tool for anyone who uses MySQL extensively. Its seamless integration and robust performance have truly enhanced my database management experience. I highly recommend checking it out on GitHub: https://github.com/comonetso/mysql-mcp-server.