ThingsBoard MCP Server is an MCP (Model Context Protocol) server officially developed by ThingsBoard, used to connect AI agents to the ThingsBoard IoT platform. Its core purpose is to allow users to interact with the IoT platform through natural language to complete tasks such as device queries, entity management, telemetry data analysis, and operations automation.
In terms of main capabilities, this server works with Claude Desktop, Cursor, VS Code Copilot, Claude Code, and any MCP-compatible client. It provides more than 120 tools, distributed across 10 tool groups: devices (create, update, delete, list, search by name/type/group), assets (CRUD, list by tenant/customer, search), customers (CRUD, list, search by title), users (CRUD, list, admin/customer user management), alarms (create, acknowledge, clear, delete, query by severity), telemetry (read and write attributes and time series, aggregation, TTL), relations (create, delete, navigate entity relations), OTA packages (upload, download, assign firmware/software to devices), entity groups (PE, manage groups, assign/remove entities), and entity data queries (complex filtered queries across all entity types, supporting attribute/telemetry filters). It also provides tools for counting entities and documentation to help the LLM construct correct queries.
In terms of usage, users need a ThingsBoard instance (Cloud, EU Cloud, self-hosted CE/PE, or Edge) and an API key (ThingsBoard 4.3+) or username/password. For Claude Desktop, configuration must be added in claude_desktop_config.json; for Cursor, add it to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project); for VS Code, add it to settings.json or .vscode/mcp.json. After starting the server, point the MCP client to http://localhost:8000/sseγε¦ζ For ThingsBoard versions lower than 4.3, THINGSBOARD_USERNAME and THINGSBOARD_PASSWORD must be used instead of THINGSBOARD_API_KEY. Deployment methods include Docker (recommended, supporting the default STDIO mode and SSE mode), downloading the binary JAR, or building from source (requires Java 17+ and Maven 3.6+).
Applicable scenarios include: quickly querying and managing IoT devices and assets through natural language; analyzing telemetry data and performing aggregate queries; automating alarm management and OTA firmware/software distribution; and directly operating the ThingsBoard platform in AI programming assistants or desktop clients.
In terms of limitations, the material mentions that the 120+ tools exposed by the server may exceed the context limits of some clients, and users can disable unnecessary tool groups through environment variables (for example, reducing the tools to about 50 to accommodate clients with limited context). The project uses the Apache License 2.0 license and includes a code of conduct and security policy. The specific environment variable names, complete configuration examples, and detailed usage steps are not fully expanded in the material and are not yet provided.