MCP.Market

Database MCP server

by cocaxcode·io.github.cocaxcode/database-mcp·v0.1.14·2 stars

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
Growing

2 stars126 downloads/wk

Reviews

Write one

Nobody has reviewed Database yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Database tools (26, 4 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • config_get

    Muestra la configuracion actual del servidor (limites de rollback e historial).

  • config_set

    Modifica la configuracion del servidor. Los cambios se guardan permanentemente.

  • conn_createwrite action

    Crea una nueva conexion a base de datos (PostgreSQL, MySQL o SQLite).

  • conn_deletewrite action

    Elimina una conexion. IMPORTANTE: pide confirmacion al usuario antes de llamar esta tool con confirm=true.

  • conn_duplicate

    Duplica una conexion existente con un nuevo nombre.

  • conn_export

    Exporta conexiones a JSON. Por defecto enmascara passwords \u2014 usa include_secrets=true para incluirlos.

  • conn_get

    Obtiene los detalles de una conexion. El password se muestra enmascarado.

  • conn_import

    Importa conexiones desde un JSON exportado. Omite conexiones que ya existen (usa overwrite=true para reemplazar).

  • conn_list

    Lista todas las conexiones disponibles e indica cual esta activa.

  • conn_project_clear

    Elimina la asociacion de conexion especifica de un proyecto.

  • conn_project_list

    Lista todos los proyectos con conexiones especificas asignadas.

  • conn_rename

    Renombra una conexion existente.

  • conn_set

    Actualiza un campo de una conexion existente.

  • conn_switch

    Cambia la conexion activa. Si se especifica project, solo aplica a ese directorio.

  • conn_test

    Prueba la conexion a una base de datos. Ejecuta SELECT 1 y mide la latencia.

  • db_dump

    Exporta la base de datos a un archivo SQL. Flujo conversacional: primero pregunta si exportar todas las tablas o personalizar, luego que contenido incluir (estructura, datos o todo).

  • db_dump_list

    Lista los dumps disponibles en el proyecto actual.

  • db_restore

    Restaura un dump SQL en la base de datos activa. IMPORTANTE: esta operacion es destructiva (DROP TABLE + CREATE TABLE). Pide confirmacion al usuario antes de ejecutar con confirm=true.

  • execute_mutationwrite action

    Ejecuta una mutacion (INSERT, UPDATE, DELETE, DDL). Pide confirmacion y crea snapshot para rollback.

  • execute_querywrite action

    Ejecuta una consulta de lectura (SELECT, SHOW, etc.). Inyecta LIMIT automaticamente.

  • explain_query

    Muestra el plan de ejecucion de una consulta (EXPLAIN). Sin ANALYZE por defecto.

  • history_clear

    Limpia el historial de consultas. Opcionalmente solo las anteriores a una fecha.

  • history_list

    Lista el historial de consultas ejecutadas. Filtrable por tipo, conexion y estado.

  • rollback_apply

    Revierte una mutacion usando un rollback snapshot. IMPORTANTE: confirma con el usuario antes de ejecutar con confirm=true.

  • rollback_list

    Lista los rollback snapshots disponibles. Muestra las mutaciones recientes que se pueden revertir.

  • search_schema

    Busca tablas/vistas en el schema de la base de datos. Soporta 3 niveles de detalle: names (solo nombres), summary (nombres + columnas), full (todo + FK + indices).

Public scan report

scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan5 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 32 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Database compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 65% of 802 Databases servers
Tools
26
the typical Databases server has 8
Tools that change things
15%
typical: 10%. Fewer write tools means less an agent can break
GitHub stars
2
more than 60% of 601 Databases servers
Downloads a week
126
more than 63% of 324 Databases servers with a package

What its tools let an agent do: 22 read · 2 change · 2 run or deploy

Install Database in Claude Code, Cursor or VS Code

Runs npx -y @cocaxcode/database-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add database-mcp -- npx -y @cocaxcode/database-mcp
Add to Cursor

What the publisher says

From the Database repository's README, as published. We do not edit it. Read it on GitHub

@cocaxcode/database-mcp Your databases, one conversation away. 33 tools · PostgreSQL · MySQL · SQLite · Connection Groups · Rollback · Dump/Restore · Schema auto-discovery

Overview · Just Talk to It · Connection Groups · Installation · Features · Tool Reference · Storage · Architecture

Quick Overview

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 sessions, introspect schemas at three levels of detail, get pre-mutation snapshots on every write, undo mistakes with reverse SQL, dump and restore entire databases, and track every query you run — per project, per connection.

Every connection belongs to a group. Groups have scopes (directories), a default connection, and an active connection. When you work inside a scoped directory, you only see that group's connections — no clutter, no confusion.

You describe what you need. The AI reads your schema, writes the SQL, and executes it safely — with automatic LIMIT injection, pre-mutation snapshots, and confirmation before destructive operations. No cloud accounts, no ORMs, no config files. Credentials never leave your machine. Everything runs locally.

Works with Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, Gemini CLI, and any MCP-compatible client.

Just Talk to It

You don't need to memorize tool names or SQL syntax. Just say what you want.

> "Connect to my local PostgreSQL on port 5432, database myapp, user admin"

> "Create a group called backend and add this directory"

> "Connect to my PostgreSQL on localhost, put it in the backend group"

> "Set local-pg as the default connection"

> "Show me all tables"

> "What columns does the users table have?"

> "Show me the last 10 orders with the customer name"
  -> AI reads FKs from schema, builds the JOIN, applies LIMIT 10

> "Insert a test user called Alice"
  -> Snapshot captured for rollback

> "Oops, undo that"
  -> Rows restored via reverse SQL

> "Switch to the production database for this session"
  -> Instant context change, all queries now go to prod

> "Delete all inactive users"
  -> "This will affect N rows. Call again with confirm=true to proceed."

> "What did I run today?"
  -> Full query history with timestamps and execution times

> "Dump the database — structure and data"
  -> SQL file generated, ready for restore

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Database: common questions

Is Database MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the Database safety report
How do I install Database?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Database need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Database maintained?
The last commit was 68 days ago (2026-08-26). The latest release is v0.1.14.
What can I use instead of Database?
Servers from other publishers that do the same job: DBHub MCP server, Faucet MCP server and Quarry MCP server. Compare all Database alternatives.
How does Database compare with other Databases MCP servers?
safety score 85/100 (higher than 65% of 802 Databases servers); tools 26 (the typical Databases server has 8); tools that change things 15% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Database

Same job from other publishers: the closest match first, then the best rated.

All Database alternatives →
  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A
  • Faucet
    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
    A
  • Quarry
    Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.
    A
  • NeoSQL MCP
    Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
    A
  • DB Explorer
    Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
    B

More from cocaxcode →