Skip to main content
Glama

IoTDB MCP Server

Official
by apache

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IOTDB_HOSTNoThe IoTDB server host127.0.0.1
IOTDB_PORTNoThe IoTDB server port6667
IOTDB_USERNoThe IoTDB usernameroot
IOTDB_DATABASENoThe IoTDB database nametest
IOTDB_PASSWORDNoThe IoTDB passwordroot
IOTDB_SQL_DIALECTNoThe SQL dialect to use (tree or table)table

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
read_query

Execute a SELECT query on the IoTDB. Please use table sql_dialect when generating SQL queries.

Args: query_sql: The SQL query to execute (using TABLE dialect)
list_tables

List all tables in the IoTDB database.

describe_table

Get the schema information for a specific table Args: table_name: name of the table to describe

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/apache/iotdb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server