Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
An MCP server for MySQL databases.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MYSQL_USER, MYSQL_PASSWORD「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add mysql --env MYSQL_USER=your-value --env MYSQL_PASSWORD=your-value -- npx -y @marcelo-ochoa/server-mysql動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"mysql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
MYSQL_USER envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント marcelo-ochoa で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:MYSQL_PASSWORD
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.7)がレジストリに届いたのは8 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas, execute and explain read-only queries, and analyze performance metrics.
sql (string): The SQL query to executesql (string): The SQL query to explainname (string): The table nameconnectionString (string): MySQL connect string (e.g., host.docker.internal:3306/mydb)user (string): Username (e.g., root)password (string): PasswordExample: mysql-connect host.docker.internal:3306/hr root my_2025
The server provides schema information for each table in the MySQL database:
mysql:// / /schema)The MySQL server uses environment variables or the mysql-connect tool for secure credential management:
mysql-connect)mysql-connect)The connection string should contain only the host, port, and database information (without embedded credentials). Providing it as a command-line argument is optional. If omitted at startup, you must use the mysql-connect tool to establish a connection before using other functionality.
Supported connection string formats:
mysql://host:port/dbnamehost:port/dbnameTo use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
host.docker.internal if the MySQL server is running on the host network (e.g., localhost)MYSQL_USER and MYSQL_PASSWORD{
"mcpServers": { "mysql": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MYSQL_USER=myuser", "-e", "MYSQL_PASSWORD=mypassword", "mochoa/mcp-mysql" ] } } }
Note: You can still provide the connection string as a final argument if you want to connect automatically on startup: "args": [..., "mochoa/mcp-mysql", "host.docker.internal:3306/mydb"].
{
"mcpServers": { "mysql": { "command": "npx", "args": [ "-y", "@marcelo-ochoa/server-mysql" ], "env": { "MYSQL_USER": "myuser", "MYSQL_PASSWORD": "mypassword" } } } }
Replace /mydb with your database name.
Note: Replace the following placeholders with your actual values:
myuser and mypassword with your MySQL credentialslocalhost:3306 with your MySQL server host and portmydb with your database nameFor manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).
Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.
Note that the
mcpkey is not needed in the.vscode/mcp.jsonfile.
Note: When using Docker and connecting to a MySQL server on your host machine, use host.docker.internal instead of localhost in the connection URL.
{
"mcp": { "inputs": [ { "type": "promptString", "id": "mysql_user", "description": "MySQL username" }, { "type": "promptString", "id": "mysql_password", "description": "MySQL password", "password": true } ], "servers": { "mysql": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MYSQL_USER=${input:mysql_user}", "-e", "MYSQL_PASSWORD=${input:mysql_password}", "mochoa/mcp-mysql" ] } } } }
Note: You can add an input for mysql_url and append it to args if you want to connect on startup.
{
"mcp": { "inputs": [ { "type": "promptString", "id": "mysql_user", "description": "MySQL username" }, { "type": "promptString", "id": "mysql_password", "description": "MySQL password", "password": true } ], "servers": { "mysql": { "command": "npx", "args": [ "-y", "@marcelo-ochoa/server-mysql" ], "env": { "MYSQL_USER": "${input:mysql_user}", "MYSQL_PASSWORD": "${input:mysql_password}" } } } } }
Put this in ~/.gemini/antigravity/mcp_config.json
{
"mcpServers": { "mysql": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MYSQL_USER=myuser", "-e", "MYSQL_PASSWORD=mypassword", "mochoa/mcp-mysql", "host.docker.internal:3306/mydb" ] } }, "inputs": [] }
For optimal performance monitoring with the mysql-awr tool, ensure that the Performance Schema is enabled in your MySQL configuration:
[mysqld]
performance_schema = ON
The Performance Schema provides detailed query statistics and performance metrics. If it's not enabled, the AWR report will still generate but with limited query-level statistics.
Docker:
docker build -t mochoa/mcp-mysql -f src/mysql/Dockerfile .
NPM:
cd src/mysql
npm install npm run build
Sample prompts to try with the MySQL MCP server:
users tableSee Demos for usage examples with Claude Desktop, Docker AI, Gemini CLI, and Antigravity Code Editor.
See MySQL AWR in action for an example of a performance report generated by the mysql-awr tool, highlighting specific optimization opportunities.
See Change Log for the history of changes.
As usual, the code of this extension is at GitHub, feel free to suggest changes and make contributions.
This project is licensed under the Apache License, Version 2.0 for new contributions, with existing code under MIT - see the LICENSE file for details.