
wenb1n-dev/smartdb_mcp 是从 https://github.com/wenb1n-dev/smartdb_mcp. 导入的 MCP 服务器候选
概览
wenb1n-dev/smartdb_mcp 是从 https://github.com/wenb1n-dev/smartdb_mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
SmartDB 是一个通用数据库网关,实现了模型上下文协议(MCP)服务器接口。该网关允许兼容 MCP 的客户端连接并探索不同的数据库。
与类似产品相比,SmartDB 不仅提供基础的数据库连接和探索功能,还增加了 OAuth 2.0 认证、健康检查、SQL 优化和索引健康检测等高级功能,使数据库管理和维护更加安全和智能。
当前支持的数据库
| 数据库 | 类型 | 支持 | 描述 |
|---|---|---|---|
| MySQL | 关系型 | √ | 支持 MySQL 5.6+,MariaDB 10+ |
| PostgreSQL | 关系型 | √ | 支持 PostgreSQL 9.6+、YMatrix |
| Oracle | 关系型 | √ | Oracle 12+ |
| SQL Server | 关系型 | √ | Microsoft SQL Server 2012+ |
| 达明 | 关系 | √ | 大孟 8.0+ |
| Redis | KV 商店 | √ | Redis 5.0+ |
| MongoDB | 文档 | √ | MongoDB 4.0+ |
| 米尔弗斯 | 向量 | √ | Milvus 2.3+ |
工具清单
关系数据库工具
|工具名称 |说明 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
SmartDB
SmartDB is a universal multi-paradigm data-infrastructure gateway that implements the Model Context Protocol (MCP) server interface. This gateway allows MCP-compatible clients to connect and explore different data sources in a unified way.
It currently covers 6 data paradigms and 10 data sources: 5 relational databases (MySQL, PostgreSQL, Oracle, SQL Server, Dameng), KV store (Redis), document store (MongoDB), vector database (Milvus), search engine (Elasticsearch), and message queue (Apache Kafka), with 26 MCP tools in total. Tools are dynamically filtered and exposed according to the paradigm of each connection pool.
Compared to similar products, SmartDB not only provides basic database connection and exploration capabilities but also adds advanced features such as OAuth 2.0 authentication, health checks, SQL optimization, and index health detection, making database management and maintenance more secure and intelligent.
Currently Supported Databases
| Database | Type | Support | Description |
|---|---|---|---|
| MySQL | Relational | √ | Supports MySQL 5.6+, MariaDB 10+ |
| PostgreSQL | Relational | √ | Supports PostgreSQL 9.6+, YMatrix |
| Oracle | Relational | √ | Oracle 12+ |
| SQL Server | Relational | √ | Microsoft SQL Server 2012+ |
| Dameng | Relational | √ | Dameng 8.0+ |
| Redis | KV Store | √ | Redis 5.0+ |
| MongoDB | Document | √ | MongoDB 4.0+ |
| Milvus | Vector | √ | Milvus 2.3+ |
| Elasticsearch | Search Engine | √ | Python driver ≥ 8.0, auto-adapts to ES 7/8/9 servers |
| Apache Kafka | Message Queue | √ | kafka-python-ng driver ≥ 2.2.2 |
Tool List
There are 26 tools in total. get_db_health and get_db_version are universal tools available for every data source; the other tools are exposed according to the paradigm of the connection pool.
Relational Database Tools
| Tool Name | Description |
|---|
安装
docker run -d \配置
{
"mcpServers": {
"smartdb": {
"name": "smartdb",
"type": "streamableHttp",
"description": "",
"isActive": true,
"url": "http://localhost:3000/mcp/"
}
}
}