LogoSTMCP
Download
iotdb-mcp-server

IoTDB MCP Server

An MCP server implementation providing database interaction and business intelligence capabilities through IoTDB, enabling SQL queries with Tree and Table Model dialects.

Tools

1. metadata_query

Execute SHOW/COUNT queries to read metadata from the database.

2. select_query

Execute SELECT queries to read data from the database.

3. export_query

Execute a query and export the results to a CSV or Excel file.

4. read_query

Execute SELECT queries to read data from the database.

5. list_tables

Get a list of all tables in the database.

6. describe_table

View schema information for a specific table.

7. export_table_query

Execute a query and export the results to a CSV or Excel file.

Open Graph image for IoTDB MCP Server

JSON Config

{
  "mcpServers": {
    "iotdb": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/your_username/iotdb-mcp-server/src/iotdb_mcp_server",
        "run",
        "server.py"
      ],
      "env": {
        "IOTDB_HOST": "127.0.0.1",
        "IOTDB_PORT": "6667",
        "IOTDB_USER": "root",
        "IOTDB_PASSWORD": "root",
        "IOTDB_DATABASE": "test",
        "IOTDB_SQL_DIALECT": "table",
        "IOTDB_EXPORT_PATH": "/path/to/export/folder"
      }
    }
  }
}

Information

  • Author@apache
  • Published date2025/09/13