CnosDB MCP 服务器
CnosDB 的 MCP 服务器。
特征
询问
执行查询(自动识别SQL)
列出数据库
列出所有数据库
列表表
列出数据库中的表
描述表
显示 [table_name] 的表模式
发展
# Clone the repository
git clone https://github.com/cnosdb/cnosdb-mcp-server.git
cd cnosdb-mcp-server
# Create virtual environment
uv .venv
source .venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install development dependencies
pip install -r requirements.txt
配置
对于其他 MCP 客户端,请参阅: https://github.com/punkpeye/awesome-mcp-clients
打开位于以下位置的 Claude Desktop 配置文件:
在 macOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json
添加以下内容:
{
"name": "CnosDB",
"key": "CnosDBMCPServer",
"command": "uv",
"args": [
"--directory",
"REPO_PATH/cnosdb-mcp-server",
"run",
"server.py"
],
"env": {
"CNOSDB_HOST": "127.0.0.1",
"CNOSDB_PORT": "8902",
"CNOSDB_USERNAME": "root",
"CNOSDB_PASSWORD": "CnosDB#!"
}
}
更新环境变量以指向您自己的 CnosDB 服务。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
一个 MCP 服务器,可以通过 Claude 与 CnosDB 数据库交互,支持 SQL 查询、数据库列表、表列表和模式描述。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -15525101MIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -710714MIT License
- AsecurityAlicenseAqualityAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.Last updated -27MIT License
- -securityAlicense-qualityAn MCP server implementation that enables Claude to execute read-only queries against MariaDB databases and explore database schemas through natural language.Last updated -19MIT License