MCP.so
登录

Multi Database MCP Server

@FreePeak

基本信息

分类

数据库

许可证

MIT

传输方式

stdio

作者

FreePeak

关于 Multi Database MCP Server

A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

#mcp-server#database-mcp-server

Multi Database MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "db-mcp-server": {
      "command": "docker",
      "args": [
        "pull",
        "freepeak/db-mcp-server:latest"
      ]
    }
  }
}

Multi Database MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Multi Database MCP Server?

The Multi Database MCP Server is a server that implements the Model Context Protocol (MCP) to give AI assistants structured access to multiple databases simultaneously. Built on the FreePeak/cortex framework, it lets AI models execute SQL queries, manage transactions, explore schemas, and analyze performance across MySQL, PostgreSQL, SQLite, Oracle, and TimescaleDB through a single, unified interface.

How to use Multi Database MCP Server?

Configure database connections in a config.json file, then run the server with ./bin/server -t <transport> -c <config.json>. Use STDIO mode (-t stdio) for IDE integration (e.g., Cursor) or SSE mode (-t sse) for remote access on a specified host and port (default localhost:9092). Docker deployment and source compilation from GitHub are also supported.

Key features of Multi Database MCP Server

  • Simultaneous multi-database support with MySQL, PostgreSQL, SQLite, Oracle, and TimescaleDB
  • Dynamic, database-specific tool generation for each configured connection
  • Lazy loading mode to defer connections until first use
  • Clean Architecture with clear separation of concerns
  • Full compatibility with OpenAI Agents SDK
  • Health check with automatic connectivity validation on startup
  • Unified interface for queries, transactions, schema exploration, and performance analysis

Use cases of Multi Database MCP Server

  • AI assistants running cross-database analytics and reporting across different SQL systems
  • IDE integration enabling natural-language database queries via tools like Cursor
  • Automated schema exploration and performance tuning across development and production databases
  • Managing encrypted SQLite databases (SQLCipher) alongside cloud Oracle databases in one session
  • Time-series analysis on TimescaleDB hypertables through AI-driven workflows

常见问题

1

How does this server differ from a standard database connector?

Unlike a single-database connector, the Multi Database MCP Server connects to multiple databases concurrently and automatically generates specialized MCP tools for each connection, providing a unified interface for queries, transactions, schema exploration, and performance analysis.

2

What are the runtime requirements?

The server is built in Go and runs as a standalone binary. It requires a valid configuration file (JSON) with database connection details. For Docker deployment, use the `freepeak/db-mcp-server:latest` image.

3

How is data transmitted between the AI and the database?

Data flows through the MCP protocol via either STDIO (for local IDE integration) or SSE (Server-Sent Events) mode. The server handles authentication and connection management locally based on the provided configuration file.

4

What transport modes are supported?

Two transport modes are supported: STDIO (`-t stdio`) for local IDE integration, and SSE (`-t sse`) for remote access with a configurable host and port (default `localhost:9092`). The client connects to the SSE endpoint at `http://<host>:<port>/sse`.

5

Are there any known limits?

The README recommends enabling lazy loading (`--lazy-loading` flag) for setups with 10 or more databases to defer connection establishment until first use. All other limits depend on the underlying database systems and server resources.

评论

数据库 分类下的更多 MCP 服务器