Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Enterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/writenotenow/mysql-mcp:v1.0.0"
]
}
}
}在终端中运行这条命令
claude mcp add mysql -- docker run -i --rm docker.io/writenotenow/mysql-mcp:v1.0.0粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/writenotenow/mysql-mcp:v1.0.0"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mysql": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/writenotenow/mysql-mcp:v1.0.0"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 neverinfamous 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.0)于11个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
[📚 Full Documentation (Wiki)](https://github.com/neverinfamous/mysql-mcp/wiki) • [Changelog](CHANGELOG.md) • [Security](SECURITY.md) • [Release Article](https://adamic.tech/articles/mysql-mcp-server)
Integrate your AI agents with a production-ready MySQL environment. Deploy MCP v2 stateless architecture via HTTP transport. Optimize token efficiency via Code Mode. Secure your database with OAuth 2.1.
| Feature | Description |
|---|---|
| Specialized Tools | Access specialized tools for core CRUD, JSON, spatial data, document stores, and clusters. |
| Resources | Monitor schema, performance metrics, process lists, replication status, and InnoDB diagnostics in real-time. |
| AI-Powered Prompts | Execute guided workflows for query building, schema design, performance tuning, and infrastructure setup. |
| Code Mode | Reduce LLM token consumption by consolidating operations inside a secure, sandboxed V8 isolate. |
| Token-Optimized Payloads | Maximize token efficiency. Use optional flags to reduce response size for large payloads. |
| OAuth 2.1 Security | Enforce granular access control with RFC compliance, strict scopes, and Keycloak integration. |
| Smart Tool Filtering | Use tool groups and shortcuts to stay within IDE tool limits. |
| Streamable & Stateless HTTP | Support MCP v2 streamable HTTP and stateless HTTP deployments. |
| Connection Pooling | Leverage built-in connection pooling for efficient, highly concurrent database access. |
| Ecosystem Integrations | Manage MySQL Router, ProxySQL, and MySQL Shell utilities directly from your agent. |
| Advanced Encryption | Enforce TLS/SSL connections. Manage data masking, encryption monitoring, and compliance effortlessly. |
| Production-Ready Security | Prevent SQL injection with parameterized queries. Rely on strict input validation and audit logging. |
| Deterministic Errors | Receive structured responses with actionable suggestions. Eliminate silent failures and raw exceptions. |
| Observability | Export Prometheus metrics. Track container logs with Dozzle and audit trails with Grafana Alloy/Loki. |
| Strict TypeScript | Rely on strict TypeScript backed by robust test suites. |
| MCP v2 Compliant | Fully support the MCP v2 specification. This includes stateless routing, caching, safety hints, and notifications. |
This server includes intelligent prompts for guided workflows:
| Prompt | Description |
|---|---|
mysql_tool_index | Complete tool index with categories |
mysql_quick_query | Quick query execution shortcut |
mysql_quick_schema | Quick schema exploration |
mysql_setup_observability | Complete observability stack setup guide (Datadog, etc.) |
Note: This is a subset of available prompts. Use
mysql_tool_indexto discover the full list of guided workflows.
This server exposes a comprehensive set of resources for database observability and telemetry:
| Resource | Category | Description |
|---|---|---|
mysql://schema | Core | Full database schema |
mysql://tables | Core | Table listing with metadata |
mysql://variables | Core | Server configuration variables |
mysql://status | Core | Server status metrics |
mysql://processlist | Core | Active connections and queries |
mysql://pool | Core | Connection pool statistics |
mysql://capabilities | Extended | Server version, features, and tool categories |
mysql://health | Extended | Comprehensive database health status |
mysql://performance | Extended | Query performance metrics |
mysql://indexes | Extended | Index usage and statistics |
mysql://replication | Extended | Replication status and lag |
mysql://innodb | Extended | InnoDB buffer pool and engine metrics |
mysql://events | Domain | Event Scheduler status and scheduled events |
mysql://sysschema | Domain | sys schema diagnostics summary |
mysql://locks | Domain | InnoDB lock contention detection |
mysql://cluster | Domain | Group Replication / InnoDB Cluster status |
mysql://spatial | Domain | Spatial columns and indexes |
mysql://docstore | Domain | Document Store collections |
mysql://insights | Analytics | Business insights memo from mysql_append_insight |
mysql://metrics | Observability | In-memory token usage, latency, and request metrics |
mysql://audit | Observability | Forensic trail and snapshot of system errors |
mysql://help | Documentation | Critical gotchas and high-level API reference |
mysql://help/{group} | Documentation | Dynamic group-specific tool reference (e.g., core, codemode) |
.node-version for the pinned local development version)pnpm add -g @neverinfamous/mysql-mcp
Run the server:
mysql-mcp --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"
Or use npx without installing:
npx @neverinfamous/mysql-mcp --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"
Note on Namespaces: The Docker image uses the
writenotenownamespace. The GitHub repo usesneverinfamous.
Linux Users: For
host.docker.internalon Linux, run the container with--add-host host.docker.internal:host-gateway.
docker run -i --rm -v ./data:/app/data -v ./logs:/var/log/mysql-mcp writenotenow/mysql-mcp:latest \
--transport stdio \ --allowed-io-roots /app/data \ --mysql "mysql://mcp_user:secure_password@host.docker.internal:3306/testdb"
Launch the full observability stack using the included template. This includes Datadog, OpenTelemetry, Prometheus, and Grafana. This spins up the MCP server, MySQL database, Redis, and observability sidecars:
cd examples/basic-mysql-datadog
cp .env.example .env docker compose up -d
http://localhost:3001 (Dashboard pre-loaded).http://localhost:9090.http://localhost:3000.Datadog Constraints:
pup CLI for authentication.tags.datadoghq.com/env, tags.datadoghq.com/service, tags.datadoghq.com/version) to your containers.stop_grace_period: 30s, mem_limit: 1536m, and OpenMetrics timeouts of 10s.DD_HOSTNAME and native /etc/docker/daemon.json cgroup configurations ("default-cgroupns-mode": "host"). Disable DD_EXTRA_PERFORMANCE_METRICS.inotify tailing issues may occur with Docker/WSL2 log mapping.OpenTelemetry Rules:
gen_ai.* semantics.traceparent and tracestate propagation.Audit Architecture & Exporter Healthcheck:
mcp-audit.jsonl via the --audit-log flag.mcp-audit.jsonl using the AUDIT_LOG_PATH environment variable to compute metrics.--audit-log flag to exporter-audit.jsonl.3000. This prevents port contention.wget --spider -q http://127.0.0.1:3000/metricsgit clone https://github.com/neverinfamous/mysql-mcp.git
cd mysql-mcp pnpm install pnpm run build node dist/cli.js --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"
We provide production-ready Docker Compose templates in the examples/ directory. Use these to spin up test environments quickly. These templates include full Datadog observability out-of-the-box (Metrics, APM, and Logs).
See the README in each directory for quick start instructions.
Code Mode (mysql_execute_code) reduces token usage by consolidating operations in a secure sandbox.
Code executes securely in a C++ V8 isolate sandbox. It enforces strict heap limits and synchronous termination. Native wrappers map all API calls across the boundary. This guarantees defense-in-depth and fleet-standard restrictions:
只显示了开头部分;其余内容请在仓库中阅读