MySQL 연결을 어떻게 구성하나요?
환경 변수 `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_DATABASE`를 설정합니다. 기본값은 각각 localhost, 3306, root, 빈 문자열, test입니다.
@comonetso
Basic information
Model Context Protocol server for MySQL databases in Cursor IDE
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"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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 프로젝트의 `
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
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.

Model Context Protocol Servers
Comments