Thingsboard MCP logo

Thingsboard MCP

by thingsboard

Connects AI agents to ThingsBoard for device management, telemetry analysis, alarms, relations, and other IoT operations.

Install Thingsboard MCP

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:8000/sse

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

thingsboard/thingsboard-mcp MCP server connects MCP-compatible AI clients to a ThingsBoard Cloud, self-hosted, CE, PE, or Edge instance. It exposes more than 120 tools for querying and managing devices, assets, customers, users, alarms, telemetry, relations, OTA packages, entity groups, and cross-entity data. The server runs over STDIO by default or SSE for HTTP-based clients. Use it when an agent needs natural-language access to ThingsBoard data and operations.

Use cases

  • Query device inventory and metadata
  • Analyze telemetry and time-series data
  • Manage alarms and entity relationships
  • Update devices, assets, customers, and users
  • Assign firmware or software through OTA packages

Key features

  • 120+ ThingsBoard tools across 10 groups
  • Device, asset, customer, and user management
  • Telemetry, attributes, aggregation, and TTL operations
  • Alarm creation and lifecycle management
  • STDIO and SSE transport modes
  • Configurable tool groups and connection settings

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/21 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars99Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Thingsboard MCP works

What thingsboard/thingsboard-mcp MCP server does

thingsboard/thingsboard-mcp MCP server gives AI agents an MCP interface to a ThingsBoard IoT platform. It can retrieve structured information, change entities, inspect telemetry, and perform operational tasks through natural-language requests. Supported ThingsBoard deployments include Cloud, EU Cloud, self-hosted Community Edition or Professional Edition, and Edge.

The server covers common platform administration and monitoring workflows. Depending on the enabled tool groups, an agent can manage devices and assets, work with customers and users, query alarms, read or write attributes and time-series data, navigate relations, handle OTA packages, and run filtered entity data queries. Entity groups are available for Professional Edition deployments.

How it works

The server translates MCP tool calls into requests against the configured ThingsBoard instance and returns structured results to the connected client. Docker is the recommended distribution method, although a downloadable JAR and source build are also provided. Java 17 or newer and Maven 3.6 or newer are required when building from source.

STDIO is enabled by default for clients that launch MCP servers as subprocesses. SSE mode runs an HTTP service, with /sse as the default connection endpoint and port 8000 as the default HTTP port. An HTTP-based MCP client can connect to the running SSE service.

Setup and configuration

To use thingsboard/thingsboard-mcp MCP server, provide the base URL of a ThingsBoard instance through THINGSBOARD_URL. ThingsBoard 4.3 and newer can authenticate with THINGSBOARD_API_KEY. Older versions use THINGSBOARD_USERNAME and THINGSBOARD_PASSWORD instead. Docker examples pass these values into the container; the JAR can be configured with the same environment variables.

The transport can be selected with SPRING_AI_MCP_SERVER_STDIO and SPRING_WEB_APPLICATION_TYPE. SSE deployments can also change the bind address, port, and endpoint paths. Connection retry counts, retry delays, timeouts, and logging levels are configurable through environment variables.

The server exposes over 120 tools by default. Tool groups can be disabled individually with variables such as THINGSBOARD_TOOLS_TELEMETRY, THINGSBOARD_TOOLS_DEVICE, and THINGSBOARD_TOOLS_EDQ. This can reduce the tool set for clients with limited context capacity.

Tools and capabilities

Available groups include:

  • Devices: create, update, delete, list, and search by name, type, or group.
  • Assets, customers, and users: perform CRUD operations, listing, and searches.
  • Alarms: create, acknowledge, clear, delete, and query by severity.
  • Telemetry and attributes: read, write, aggregate, and apply time-to-live settings.
  • Relations and OTA packages: navigate relationships and manage firmware or software assignments.
  • Entity data queries: filter across entity types using attributes and telemetry.

Limitations and notes

thingsboard/thingsboard-mcp MCP server requires access to a ThingsBoard instance and valid credentials. Some capabilities depend on the ThingsBoard edition; entity groups are marked as Professional Edition functionality. The large default tool inventory may exceed the context limits of some clients, so unused groups should be disabled when necessary.

The documented client configurations cover Claude Desktop, Cursor, VS Code Copilot, and Claude Code. Other clients must support the selected MCP transport and authentication setup. SSE is intended for HTTP-based MCP clients, while STDIO is intended for clients that start the process locally.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Thingsboard MCP

thingsboard/thingsboard-mcp is an MCP server that connects AI agents to ThingsBoard IoT platforms. Its main tools manage devices, assets, customers, users, alarms, telemetry, relations, OTA packages, entity groups, and filtered entity data queries. It supports natural-language requests through STDIO or SSE transports.

Install it with the `thingsboard/mcp` Docker image, download the release JAR, or build it from source. Docker is the documented recommended option. Source builds require Java 17+ and Maven 3.6+, while the JAR can run in STDIO or SSE mode.

Provide `THINGSBOARD_URL` and authentication credentials. ThingsBoard 4.3+ uses `THINGSBOARD_API_KEY`; older versions use `THINGSBOARD_USERNAME` and `THINGSBOARD_PASSWORD`. The server supports ThingsBoard Cloud, EU Cloud, self-hosted CE or PE, and Edge instances.

Yes, thingsboard/thingsboard-mcp works with Cursor through its STDIO configuration. Add the server to the global `~/.cursor/mcp.json` or project `.cursor/mcp.json`, launch the Docker image, and pass the ThingsBoard URL and credentials as environment variables.

Yes, use SSE mode for HTTP-based MCP clients. Start the Docker container with STDIO disabled and the web application set to servlet mode, then connect the client to `http://localhost:8000/sse`. The bind address, port, and endpoint paths can be configured.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewThingsboard MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/thingsboard-thingsboard-mcp?style=directory)](https://allmcps.com/mcp/thingsboard-thingsboard-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/thingsboard-thingsboard-mcp"><img src="https://allmcps.com/api/badge/thingsboard-thingsboard-mcp?style=directory" alt="Thingsboard MCP on AllMCPs" /></a>