mcpField
C
CnosDB MCP Server

CnosDB MCP Server

Local
github.com/cnosdbDatabases1Updated 79w ago

About CnosDB MCP Server

CnosDB MCP Server lets MCP clients query CnosDB and inspect its databases, tables, and table schemas. Its listed tools cover basic database discovery and queries.

Key features

  1. 01Query CnosDB
  2. 02List databases
  3. 03List tables in a database
  4. 04Describe table schemas

Use cases

  1. 01Run queries against CnosDB
  2. 02Find databases and tables
  3. 03Inspect a table's schema

MCP support

Exposes CnosDB query and database-inspection tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

CnosDB MCP Server

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

# 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

  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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.