AI Open Radar

haymon-ai/dbmcp

Privacy-first MCP server for SQL databases that redacts sensitive data by default

★ 33 License: MIT Last commit: 0d Transport: stdio / http Repository ↗

What it solves

Without it, AI clients would see sensitive values such as emails, phone numbers, and card numbers in query results.

Works with

Install

npx @modelcontextprotocol/inspector ./target/release/dbmcp
npx -y @haymon-ai/dbmcp

Copy-ready config

{
  "mcpServers": {
    "dbmcp": {
      "command": "dbmcp",
      "env": {
        "DBMCP_DB_BACKEND": "mysql",
        "DBMCP_DB_HOST": "127.0.0.1",
        "DBMCP_DB_PORT": "3306",
        "DBMCP_DB_USER": "root",
        "DBMCP_DB_PASSWORD": "secret",
        "DBMCP_DB_NAME": "mydb"
      }
    }
  }
}
{
  "mcpServers": {
    "dbmcp": {
      "type": "http",
      "url": "http://127.0.0.1:9001/mcp"
    }
  }
}
{
  "mcpServers": {
    "dbmcp": {
      "type": "http",
      "url": "http://127.0.0.1:9001/mcp",
      "headers": {
        "Authorization": "Bearer ${DBMCP_TOKEN}"
      }
    }
  }
}

Security flags

Maintenance

Last commit2026-12-05(0d)
Stars33
Open issues13
LicenseMIT
ArchivedNo
Data fetched2026-12-05

Source excerpt

Verbatim README excerpt, unedited, so you can check the summary above.

Out of the box, dbmcp redacts e-mail addresses, phone numbers, bank and card numbers, national IDs, API keys, and other pattern-detected values inside the server, so the AI client never sees them.

Similar projects