DB MCP Server

DB MCP Server

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

stdio v1.1.3

Connection Configuration

Add this to your AI agent's MCP config file to connect.

Run in your terminal:

claude mcp add io.github.stucchi--db -- uvx

Server Details

Transport

stdio

Authentication

None

Version

v1.1.3

Server Name

io.github.stucchi/db

Last Updated

Mar 4, 2026

Get Started

How to install and connect this MCP server.

Required Configuration

Environment variables you must provide when running this server.

Variable Required
DB_TYPE Yes
DB_DATABASE Yes
DB_MODE Optional
DB_HOST Optional
DB_PORT Optional
DB_USER Optional
DB_PASSWORD secret Optional
DB_URL secret Optional
SSH_HOST Optional
SSH_PORT Optional
SSH_USER Optional
SSH_KEY Optional
SSH_PASSWORD secret Optional