
Database Mcp
Connect your agent to PostgreSQL, MySQL, or SQLite so it can inspect schemas, run queries, and debug data issues while you build.
Overview
io.github.cocaxcode/database-mcp is a MCP server for the Build phase that connects agents to PostgreSQL, MySQL, and SQLite through 19 database tools.
What is this MCP server?
- 19 MCP tools for database connectivity and agent-driven data operations
- Multi-database support: PostgreSQL, MySQL, and SQLite
- stdio npm package @cocaxcode/database-mcp (v0.1.14)
- Suited to schema exploration and query iteration without a separate GUI session
- GitHub-hosted cocaxcode/database-mcp with MCP 2025-12-11 server schema
- 19 MCP database tools
- Engines: PostgreSQL, MySQL, SQLite
- Package @cocaxcode/database-mcp v0.1.14
Community signal: 1 GitHub stars.
What problem does it solve?
Indie builders stall when the agent cannot see real schema and query results and every data question becomes manual SQL client work.
Who is it for?
Solo SaaS and API builders who self-host SQL databases and want agent-assisted schema checks and query debugging during development.
Skip if: Builders on managed-only platforms with no SQL access, or teams that prohibit agents from connecting to databases with PII.
What do I get? / Deliverables
Once configured, your agent can use 19 tools across supported engines to explore and operate on databases you authorize.
- Agent-invokable database connectivity across three SQL engines
- Schema and query-oriented operations via 19 MCP tools
- Faster iteration on backend data issues without leaving the agent session
Recommended MCP Servers
Journey fit
How it compares
Multi-DB MCP connector with 19 tools, not an ORM code generator skill or a hosted analytics warehouse.
Common Questions / FAQ
Who is io.github.cocaxcode/database-mcp for?
It is for developers using AI agents who need direct, tool-based access to PostgreSQL, MySQL, or SQLite while building backends.
When should I use io.github.cocaxcode/database-mcp?
Use it during Build when you are modeling data, debugging queries, or validating migrations against a dev or staging database.
How do I add io.github.cocaxcode/database-mcp to my agent?
Install @cocaxcode/database-mcp from npm, configure stdio MCP in your agent with connection settings via environment variables, and enable the server in your MCP config.