CnosDB MCP Server

Official
by cnosdb
MIT License
  • Apple

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

  1. 打开位于以下位置的 Claude Desktop 配置文件:
    • 在 macOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
    • 在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json
  2. 添加以下内容:
{ "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 服务。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

一个 MCP 服务器,可以通过 Claude 与 CnosDB 数据库交互,支持 SQL 查询、数据库列表、表列表和模式描述。

  1. Features
    1. Development
      1. Configuration

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      An MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.
      Last updated -
      1
      Python
      MIT License
      • Apple
    • A
      security
      F
      license
      A
      quality
      MCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.
      Last updated -
      1
      6
      3
      JavaScript
    • -
      security
      A
      license
      -
      quality
      A lightweight MCP server that enables database access and querying through ODBC connections, with special support for Virtuoso DBMS features like SPARQL and AI assistance through natural language.
      Last updated -
      Python
      MIT License
      • Apple
      • Linux
    • -
      security
      -
      license
      -
      quality
      An MCP server that allows working with MySQL databases by providing tools for executing read-only SQL queries, getting table schemas, and listing database tables.
      Last updated -
      1
      JavaScript

    View all related MCP servers

    ID: wy78fk6mt5