Supabase
MCP server for interacting with the Supabase platform
Descripción del creador (original en inglés)
An MCP server for MySQL databases.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
MYSQL_USER, MYSQL_PASSWORDLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add mysql --env MYSQL_USER=your-value --env MYSQL_PASSWORD=your-value -- npx -y @marcelo-ochoa/server-mysqlCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"mysql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql"
],
"env": {
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
MYSQL_USER envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub marcelo-ochoa, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: MYSQL_PASSWORD
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (1.0.7) llegó al registro hace 8 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.
En la misma categoría: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
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.