L'Atlas / MCP servers / DB MCP Server
MCP server

DB MCP Server

io.github.stucchi/db

MCP server Not tested

Get a review See pricing

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

Technical sheet

Author
stucchi (registry namespace)
Repository
github.com/stucchi/db-mcp-server
Site
—
Version
1.2.1
Transport
stdio
Authentication
None (declared in the registry)
Packages
db-mcp-server 1.2.1 pypi stdio
Tools
—
Categories
Databases
Last updated
24 Mar 2026
Published
24 Mar 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.stucchi/db.svg?lang=en)](https://latlas.dev/en/mcp/io.github.stucchi/db)
HTML
<a href="https://latlas.dev/en/mcp/io.github.stucchi/db"><img src="https://latlas.dev/badge/fiche/io.github.stucchi/db.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

No remote address published: this server runs locally, so we do not test it.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package db-mcp-server (PyPI). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json db '{"command":"uvx","args":["db-mcp-server==1.2.1"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "db": {
      "command": "uvx",
      "args": ["db-mcp-server==1.2.1"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "db": {
      "type": "stdio",
      "command": "uvx",
      "args": ["db-mcp-server==1.2.1"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "db": {
      "type": "stdio",
      "command": "uvx",
      "args": ["db-mcp-server==1.2.1"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "db": {
      "command": "uvx",
      "args": ["db-mcp-server==1.2.1"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "db": {
      "command": "uvx",
      "args": ["db-mcp-server==1.2.1"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.db]
command = "uvx"
args = ["db-mcp-server==1.2.1"]

Declared environment variables

NameRequiredDescription
DB_TYPEyesDatabase type
DB_DATABASEyesDatabase name
DB_MODEnoAccess mode
DB_HOSTnoDatabase host (MySQL/PostgreSQL)
DB_PORTnoDatabase port (MySQL: 3306, PostgreSQL: 5432)
DB_USERnoDatabase user (MySQL default: root, PostgreSQL default: postgres)
DB_PASSWORDno (secret)Database password (MySQL/PostgreSQL, optional)
DB_URLno (secret)MongoDB connection URL (required for MongoDB, e.g. mongodb://...)
SSH_HOSTnoSSH bastion host for tunneling (MySQL/PostgreSQL only)
SSH_PORTnoSSH port
SSH_USERnoSSH username (default: current OS user)
SSH_KEYnoPath to SSH private key (e.g. ~/.ssh/id_rsa)
SSH_PASSWORDno (secret)SSH password (if no key provided)

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

DB MCP Server · L’Atlas

Markdown
[DB MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.stucchi/db)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.