@cocaxcode/database-mcp

Level CLocal

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), connection management, schema introspection, query execution with token-optimized responses, rollback, history, elicitation for destructive ops, and prepared statements. Zero conf

⭐ 0DatabaseJavaScriptRepo ↗Updated 2026-04-21

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-cocaxcode-database-mcp": {
      "command": "npx",
      "args": [
        "@cocaxcode/database-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://www.npmjs.com/package/@cocaxcode/database-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-cocaxcode-database-mcp": {
      "command": "npx",
      "args": [
        "@cocaxcode/database-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers