MCP Server
CnosDB MCP Server
An MCP server that enables interacting with CnosDB databases through Claude, supporting SQL queries, database listing, table listing, and schema descriptions.
1
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "CnosDB",
3 "key": "CnosDBMCPServer",
4 "command": "uv",
5 "args": [
6 "--directory",
7 "REPO_PATH/cnosdb-mcp-server",
8 "run",
9 "server.py"
10 ],
11 "env": {
12 "CNOSDB_HOST": "127.0.0.1",
13 "CNOSDB_PORT": "8902",
14 "CNOSDB_USERNAME": "root",
15 "CNOSDB_PASSWORD": "CnosDB#!"
16 }
17}
JSON17 lines
README Documentation
CnosDB MCP Server
An MCP server for CnosDB.
Features
-
query
Execute query (automatically identifies SQL)
-
list_databases
List all databases
-
list_tables
List tables in database
-
describe_table
Display table schema for [table_name]
Development
# 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
Configuration
For alternative MCP clients, see: https://github.com/punkpeye/awesome-mcp-clients
-
Open the Claude Desktop configuration file located at:
-
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
-
On Windows: %APPDATA%/Claude/claude_desktop_config.json
-
-
Add the following:
{
"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#!"
}
}
Update the environment variables to point to your own CnosDB service.
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source