MySQL MCP 서버
@comonetso
About MySQL MCP 서버
Model Context Protocol server for MySQL databases in Cursor IDE
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MySQL MCP 서버?
MySQL MCP 서버는 Cursor IDE에서 MySQL 데이터베이스와 상호작용하기 위한 Model Context Protocol (MCP) 서버입니다. SQL 쿼리 실행, 테이블 목록 조회, 데이터베이스 관리 등의 기능을 제공합니다.
How to use MySQL MCP 서버?
npm으로 패키지를 설치하고 (npm install), 서버를 실행합니다 (npm start). MySQL 연결 정보는 환경 변수로 설정합니다. Cursor IDE에서는 mcp.json 파일에 npx 명령어와 환경 변수를 추가하여 사용합니다.
Key features of MySQL MCP 서버
- SQL 쿼리 실행
- 테이블 목록 조회
- 테이블 구조 설명
- 데이터베이스 목록 조회
- 데이터베이스 전환
- 연결 상태 확인
Use cases of MySQL MCP 서버
- Cursor IDE 내에서 MySQL 데이터베이스 관리
- 읽기 전용 모드로 프로덕션 데이터베이스 쿼리
- 데이터베이스 스키마 탐색 및 문서화
- 개발 워크플로우에서 데이터베이스 작업 자동화
FAQ from MySQL MCP 서버
MySQL 연결을 어떻게 구성하나요?
환경 변수 MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE를 설정합니다. 기본값은 각각 localhost, 3306, root, 빈 문자열, test입니다.
읽기 전용 모드를 사용할 수 있나요?
네, MYSQL_READONLY 환경 변수를 "true"로 설정하면 쿼리 실행이 읽기 전용으로 제한됩니다.
서버를 어떻게 실행하나요?
npm install로 패키지를 설치한 후 npm start 명령어로 실행합니다.
Cursor IDE와 어떻게 통합하나요?
Cursor IDE 프로젝트의 `
More Databases MCP servers
Database Gateway
centralmindUniversal MCP-Server for your Databases optimized for LLMs and AI-Agents.
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
Sail MCP Server for Spark SQL
lakehqDrop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Comments