Discover and explore top open-source AI tools and projects—updated daily.
Database server for AI assistants
Top 90.1% on SourcePulse
This project provides a multi-database server that implements the Model Context Protocol (MCP) to enable AI assistants to interact with various databases. It targets AI developers and researchers needing structured, simultaneous access to multiple data sources, offering a unified interface for querying, transaction management, schema exploration, and performance analysis.
How It Works
The server connects to multiple MySQL and PostgreSQL databases concurrently, as defined in a JSON configuration file. For each connected database, it dynamically generates specialized tools (e.g., query_mysql1
, schema_postgres1
) that abstract database-specific operations. This approach, built on Clean Architecture principles, provides a modular and maintainable system for AI agents to interact with data through a consistent interface.
Quick Start & Requirements
docker pull freepeak/db-mcp-server:latest
then docker run -p 9092:9092 -v $(pwd)/config.json:/app/my-config.json -e TRANSPORT_MODE=sse -e CONFIG_PATH=/app/my-config.json freepeak/db-mcp-server
git clone https://github.com/FreePeak/db-mcp-server.git
, cd db-mcp-server
, make build
, ./bin/server -t sse -c config.json
Highlighted Details
Maintenance & Community
CONTRIBUTING.md
.Licensing & Compatibility
Limitations & Caveats
The project primarily supports MySQL and PostgreSQL; other database types are not explicitly mentioned. While TimescaleDB is supported, its specific features are noted as extensions to PostgreSQL.
5 days ago
Inactive