Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
unavailable — the image reference already carries a tag
Docker
docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.2Docker
docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"dbmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.2"
],
"env": {
"HTTP_AUTH_TOKEN": "<YOUR_HTTP_AUTH_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env HTTP_AUTH_TOKEN=<YOUR_HTTP_AUTH_TOKEN> dbmcp -- docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"dbmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.2"
],
"env": {
"HTTP_AUTH_TOKEN": "<YOUR_HTTP_AUTH_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"dbmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.2"
],
"env": {
"HTTP_AUTH_TOKEN": "<YOUR_HTTP_AUTH_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"dbmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.2"
],
"env": {
"HTTP_AUTH_TOKEN": "<YOUR_HTTP_AUTH_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
HTTP_HOST — HTTP bind hostHTTP_PORT — HTTP bind portHTTP_ALLOWED_ORIGINS — Allowed CORS origins (comma-separated)HTTP_ALLOWED_HOSTS — Allowed host names (comma-separated)HTTP_AUTH_TOKEN secret — Bearer token required on every request; mandatory for non-loopback binds⭐ 33 stars · 最近更新于 28 天前 · MIT license
Database MCP A single binary MCP server for SQL databases. Connect your AI assistant to MySQL/MariaDB, PostgreSQL, or SQLite with zero runtime dependencies. Website · Documentation · Releases Features ✨ Multi database — MySQL/MariaDB, PostgreSQL, and SQLite from one binary MCP tools — schema discove…
Summary from the project README — github.com/haymon-ai/dbmcp
Distributed as Docker, listed under Databases. Review our MCP security guide before granting access to real data.
Database MCP A single binary MCP server for SQL databases. Connect your AI assistant to MySQL/MariaDB, PostgreSQL, or SQLite with zero runtime dependencies. Website · Documentation · Releases Features ✨ Multi database — MySQL/MariaDB, PostgreSQL, and SQLite from one binary MCP tools — schema discove
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/haymon-ai/dbmcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/dbmcp/)
HTML
<a href="https://mcpnav.net/server/dbmcp/"><img src="https://mcpnav.net/badge/dbmcp.svg" alt="Listed on MCPNav" height="20"></a>