MCP Database Server
Read-only HTTP access to PostgreSQL and MySQL with natural-language SQL generation, schema inspection, and table sampling.
Install MCP Database Server
Run the project’s own setup commands, in order.
Setup steps from the project
MCP Database 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
git clone https://github.com/Souhar-dya/mcp-db-server.gitcd mcp-db-serverdocker-compose up --buildpip install -r requirements.txtpython -m app.serverdocker run -d \ -p 8000:8000 \ -e DATABASE_URL="<your_cloud_database_url>" \ -e MCP_API_KEY="<your_random_api_key>" \ souhardyak/mcp-db-server:latest
Overview
Use cases
- Query PostgreSQL data with natural-language requests
- Explore schemas before building agent workflows
- Retrieve sample rows for database-aware agents
- Run a read-only database service in Docker
Key features
- PostgreSQL and MySQL connectivity
- Natural-language to SQL conversion
- Table and schema inspection
- Sample data retrieval
- Read-only query validation and result limits
- API-key protected HTTP endpoints
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 MCP Database 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 MCP Database 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/mcp-database-server)<a href="https://allmcps.com/mcp/mcp-database-server"><img src="https://allmcps.com/api/badge/mcp-database-server?style=directory" alt="MCP Database Server on AllMCPs" /></a>