Database MCP Server
@georgi-terziyski
About Database MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"database_mcp_server": {
"command": "python",
"args": [
"-m",
"db_mcp_server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Database MCP Server?
Database MCP Server is a Model Context Protocol (MCP) server that provides a unified interface for connecting to and interacting with multiple database systems: SQLite, PostgreSQL, MySQL/MariaDB, and SQL Server. It is designed for LLMs like Claude to execute queries, manage schemas, and handle transactions programmatically.
How to use Database MCP Server?
Install from source with pip install -e ., configure via environment variables (DB_CONFIG_PATH, DB_CONNECTIONS) or a JSON config file, then run as an MCP server with python -m db_mcp_server or as a standalone web server with python -m db_mcp_server.web_server. Use built-in MCP tools like execute_query, list_tables, or add_connection. For other LLMs, send HTTP POST requests to the /call_tool endpoint.
Key features of Database MCP Server
- Multi-database support (SQLite, PostgreSQL, MySQL/MariaDB, SQL Server)
- Unified interface for database operations across all types
- Schema management (create, alter, drop tables and indexes)
- Query execution (raw SQL or structured tools)
- Transaction support (begin, commit, rollback)
- Connection management (add, test, list, remove connections)
Use cases of Database MCP Server
- Allow Claude or other LLMs to query and update a database using natural language
- Manage database schemas programmatically through an LLM agent
- Execute parameterized SQL queries via MCP tools
- Integrate database operations into automated cross-database workflows
FAQ from Database MCP Server
What databases does Database MCP Server support?
It supports SQLite, PostgreSQL, MySQL/MariaDB, and SQL Server.
How does Database MCP Server connect to a database?
Connections are configured via environment variables (DB_CONFIG_PATH, DB_CONNECTIONS) or a JSON configuration file specifying type, host, port, credentials, and database path.
What are the runtime requirements for Database MCP Server?
Python 3.8+ and SQLAlchemy are required, along with optional database‑specific drivers like psycopg2-binary (PostgreSQL) or mysql-connector-python (MySQL).
What transport protocols does Database MCP Server support?
It supports the standard MCP protocol (stdio) and can also run as a standalone HTTP web server exposing /list_tools and /call_tool endpoints.
Where does the data managed by Database MCP Server live?
Data resides in the connected external databases; the server itself does not store any data.
More Databases MCP servers
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeroSnowflake MCP Server
isaacwassermanElasticsearch/OpenSearch MCP Server
cr7258A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Comments