cocaxcode/database-mcp
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), connection management, schema introspection, query execution with rollback and history.
Platform-specific configuration:
{
"mcpServers": {
"database-mcp": {
"command": "npx",
"args": [
"-y",
"database-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p align="center"> <h1 align="center">@cocaxcode/database-mcp</h1> <p align="center"> <strong>Your databases, one conversation away.</strong><br/> 33 tools · PostgreSQL · MySQL · SQLite · Connection Groups · Rollback · Dump/Restore · Schema auto-discovery </p> </p>
<p align="center"> <a href="https://www.npmjs.com/package/@cocaxcode/database-mcp"></a> <a href="https://www.npmjs.com/package/@cocaxcode/database-mcp"></a> <a href="https://opensource.org/licenses/MIT"></a> </p>
<p align="center"> <a href="#quick-overview">Overview</a> · <a href="#just-talk-to-it">Just Talk to It</a> · <a href="#connection-groups">Connection Groups</a> · <a href="#installation">Installation</a> · <a href="#features">Features</a> · <a href="#tool-reference">Tool Reference</a> · <a href="#storage">Storage</a> · <a href="#architecture">Architecture</a> </p>
---
The most complete MCP server for databases. 33 tools across 3 engines (PostgreSQL, MySQL, SQLite), with connection groups, named connection management, automatic rollback, dump/restore, schema auto-discovery via MCP Resources, and full query history — all from natural language.
This is not just a query runner. It is a full database workbench: organize connections into groups scoped to your project directories, set defaults that persist between
Loading reviews...