CnosDB MCP Server

by cnosdb

1 148 downloads Not rated yet MIT

About

CnosDB MCP Server is a Model Context Protocol (MCP) server that enables Claude Desktop and other MCP clients to interact with a CnosDB database. It allows users to list databases, list tables, describe table schemas, and execute arbitrary SQL queries against a CnosDB instance…

Details

License
MIT

Explore

- 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]

> For alternative MCP clients, see: https://github.com/punkpeye/awesome-mcp-clients

1. 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

2. 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.

uv .venv
source .venv/bin/activate # or venv\Scripts\activate on Windows

pip install -r requirements.txt
```

Python 3.8
License

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

```shell

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.