dbmcp
dbmcp is an MCP server, listed under databases. It reaches dbmcp, mysql, postgresql and sqlite. It needs DBMCP_TOKEN, DB_PASSWORD and HTTP_AUTH_TOKEN to authenticate. Its repository has 32 GitHub stars and is licensed under MIT; we last read it on 2026-10-27.
dbmcp is a server that connects to MySQL, MariaDB, PostgreSQL, and SQLite databases, providing built-in PII redaction and write prevention features.
Install
Read from dbmcp’s own README, close to verbatim -- not written by us, and not guessed.
curl -fsSL https://dbmcp.haymon.ai/install.sh | bash
What it reaches, and what it needs
Maintenance
Database MCP server for MySQL, MariaDB, PostgreSQL, and SQLite - with builtin PII redaction and write-prevention
What dbmcp can do
6 tools documented in its README. An AI client calls these by name.
listDatabases- Lists accessible databases, paginated via `cursor` / `nextCursor`.
listTables- Lists tables in a database, paginated via `cursor` / `nextCursor`.
listViews- Lists views in a database, paginated via `cursor` / `nextCursor`.
listTriggers- Lists user-defined triggers on tables, paginated via `cursor` / `nextCursor`.
listFunctions- Lists user-defined SQL functions, paginated via `cursor` / `nextCursor`.
listProcedures- Lists user-defined stored procedures, paginated via `cursor` / `nextCursor`.
Read from the README; names are kept only if the README contains them.
dbmcp compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| dbmcp (this page) | dbmcp, mysql, postgresql, sqlite | DBMCP_TOKEN, DB_PASSWORD, HTTP_AUTH_TOKEN | 32 | 2026-10-26 | MIT |
| mcp-alchemy | mysql, postgresql, sqlite(3 shared) | None listed | 422 | 2026-10-15 | MPL-2.0 |
| dbhub | mysql, postgres, sqlite(2 shared) | None listed | 3,702 | 2026-10-21 | MIT |
| gnosis-mcp | postgresql, sqlite(2 shared) | None listed | 29 | 2026-10-15 | MIT |
| heimdall-mcp | mysql, postgres, sqlite(2 shared) | None listed | 11 | 2026-07-16 | NOASSERTION |
| jdbc-mcp-server | billing, postgresql, sqlite(2 shared) | BILLING_DB_PASSWORD | 1 | 2026-09-25 | Apache-2.0 |
Ranked by services in common with dbmcp, then by stars. Figures are from each repository when we last read it.
Common questions about dbmcp
- What does dbmcp do?
- dbmcp is a server that connects to MySQL, MariaDB, PostgreSQL, and SQLite databases, providing built-in PII redaction and write prevention features.
- How do I install dbmcp?
- Its own README gives this command: curl -fsSL https://dbmcp.haymon.ai/install.sh | bash. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does dbmcp connect to, and what does it need?
- It reaches dbmcp, mysql, postgresql and sqlite. The credentials we found in its source are DBMCP_TOKEN, DB_PASSWORD and HTTP_AUTH_TOKEN.
- Is dbmcp official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 32 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-26.
- What licence does dbmcp use?
- The repository declares the MIT licence.
More MCP servers for databases
- CodeGraphContext4,360 stars
- dbhub3,702 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars