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 프로젝트의 `
MCP server for interacting with Neon Management API and databases
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.

Model Context Protocol Servers
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
コメント