DB MCP Server
by FreePeak
Connect AI assistants to multiple SQL databases with generated tools for queries, transactions, schemas, and performance analysis.
Install DB MCP Server
Run the project’s own setup commands, in order.
Setup steps from the project
FreePeak/db-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
make build./bin/server -t stdio -c /absolute/path/to/config.local.json./bin/server -t sse -h 127.0.0.1 -p 9092 \ -allow-insecure-sse -c /absolute/path/to/config.local.jsondocker build -t db-mcp-server:local .docker run --rm -p 127.0.0.1:9092:9092 \ -p 127.0.0.1:9093:9093 \ -v "$(pwd)/config.local.json:/app/config.json:ro" \ db-mcp-server:localgit clone https://github.com/FreePeak/db-mcp-server.git
Overview
Use cases
- Query several MySQL and PostgreSQL databases from one agent session
- Inspect schemas before generating SQL
- Restrict an agent to read-only database access
- Cap result sizes and enforce query timeouts
- Mask sensitive values in query results
Key features
- Multi-database connections
- Generated tools per database connection
- SQL queries, statements, and transactions
- Schema and performance inspection
- Read-only, row-limit, and timeout guardrails
- Column and content-based data masking
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How DB MCP Server works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about DB MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/freepeak-db-mcp-server)<a href="https://allmcps.com/mcp/freepeak-db-mcp-server"><img src="https://allmcps.com/api/badge/freepeak-db-mcp-server?style=directory" alt="DB MCP Server on AllMCPs" /></a>