MySQL 연결을 어떻게 구성하나요?
환경 변수 `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_DATABASE`를 설정합니다. 기본값은 각각 localhost, 3306, root, 빈 문자열, test입니다.
@comonetso
基本信息
Model Context Protocol server for MySQL databases in Cursor IDE
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MySQL MCP 서버는 Cursor IDE에서 MySQL 데이터베이스와 상호작용하기 위한 Model Context Protocol (MCP) 서버입니다. SQL 쿼리 실행, 테이블 목록 조회, 데이터베이스 관리 등의 기능을 제공합니다.
npm으로 패키지를 설치하고 (npm install), 서버를 실행합니다 (npm start). MySQL 연결 정보는 환경 변수로 설정합니다. Cursor IDE에서는 mcp.json 파일에 npx 명령어와 환경 변수를 추가하여 사용합니다.
환경 변수 `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_DATABASE`를 설정합니다. 기본값은 각각 localhost, 3306, root, 빈 문자열, test입니다.
네, `MYSQL_READONLY` 환경 변수를 "true"로 설정하면 쿼리 실행이 읽기 전용으로 제한됩니다.
`npm install`로 패키지를 설치한 후 `npm start` 명령어로 실행합니다.
Cursor IDE 프로젝트의 `

Connect Karma.Domains to ChatGPT, Claude, Cursor, VS Code, or another MCP client — and find a domain in plain language. The same auctions, expired, backorder, and buy-now data you use in the app, plus saved filters, note
A 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.
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

Model Context Protocol Servers
评论