DB MCP Server
by github.com/stucchi · v1.2.1 · updated Mar 24, 2026
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
Run it locally
Install the package and point your AI client at it.
PyPI
uvx db-mcp-server==1.2.1Environment variables
DB_TYPErequiredDatabase type
DB_DATABASErequiredDatabase name
DB_MODEAccess mode
DB_HOSTDatabase host (MySQL/PostgreSQL)
DB_PORTDatabase port (MySQL: 3306, PostgreSQL: 5432)
DB_USERDatabase user (MySQL default: root, PostgreSQL default: postgres)
DB_PASSWORDsecretDatabase password (MySQL/PostgreSQL, optional)
DB_URLsecretMongoDB connection URL (required for MongoDB, e.g. mongodb://...)
SSH_HOSTSSH bastion host for tunneling (MySQL/PostgreSQL only)
SSH_PORTSSH port
SSH_USERSSH username (default: current OS user)
SSH_KEYPath to SSH private key (e.g. ~/.ssh/id_rsa)
SSH_PASSWORDsecretSSH password (if no key provided)
More from github.com/stucchi
MCP Advisor
github.com/stucchi
Browse, search, and discover MCP servers from your AI assistant
Trello MCP Server
github.com/stucchi
MCP server for the Trello REST API – manage boards, lists, cards, labels, checklists and more
Telnyx
github.com/stucchi
MCP server for the Telnyx API — billing, phone numbers, and messaging
Google Analytics 4
github.com/stucchi
Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.
Domain Check
github.com/stucchi
Check domain availability across 500+ TLDs. Single and bulk checks with UI.
Nexi XPay
github.com/stucchi
MCP server for Nexi XPay Back Office APIs: orders, transactions, warnings.
More MCP servers
Open Eagle Eye
github.com/stuchapin909
Live snapshots from ~29,000 public cameras across 11 countries — traffic, weather, webcams
Face Recognition Mcp Server
github.com/student920
On-premise face recognition MCP server for 3DiVi Face SDK. No cloud required.
Local Memory
github.com/studiomeyer-io
Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.
Aviasales Flight Prices
github.com/stufently
Flight price search via Aviasales/Travelpayouts: fares by route, cheapest days, flexible dates.
Beget S3 Mcp Ai Cli
github.com/stufently
Beget S3 MCP server and AI CLI with scoped access and signed human approvals.
Bing Webmaster AI CLI MCP
github.com/stufently
Read Bing Webmaster data and change it, directly or through a reviewed plan.