
MySQL-MCP-Server
Modellkontext -Protokollserver für MySQL -Datenbanken in 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
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.
Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
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.