MCP.so
登录

Thingsboard MCP Server

@thingsboard

基本信息

分类

其他

传输方式

stdio

作者

thingsboard

提交者

Volodymyr Babak

关于 Thingsboard MCP Server

暂无概览

#thingsboard#iot-platform#monitoring#data-visualization#device-management

Thingsboard MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "thingsboard": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "THINGSBOARD_URL",
        "-e",
        "THINGSBOARD_USERNAME",
        "-e",
        "THINGSBOARD_PASSWORD",
        "-e",
        "LOGGING_PATTERN_CONSOLE",
        "thingsboard/mcp"
      ],
      "env": {
        "THINGSBOARD_URL": "<thingsboard_url>",
        "THINGSBOARD_USERNAME": "<thingsboard_username>",
        "THINGSBOARD_PASSWORD": "<thingsboard_password>",
        "LOGGING_PATTERN_CONSOLE": ""
      }
    }
  }
}

Thingsboard MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Thingsboard MCP Server?

The Thingsboard MCP Server provides a natural language interface for LLMs and AI agents to interact with the ThingsBoard IoT platform via the Model Context Protocol (MCP). It enables querying device data and telemetry, managing assets, customers, and users, analyzing IoT data, and automating ThingsBoard operations through conversational AI.

How to use Thingsboard MCP Server?

Deploy via Docker (STDIO or SSE mode) or build from source with Java 17+ and Maven. Set environment variables THINGSBOARD_URL, THINGSBOARD_USERNAME, and THINGSBOARD_PASSWORD. Configure your MCP client (e.g., Claude Desktop) with the appropriate JSON configuration for Docker or binary mode.

Key features of Thingsboard MCP Server

  • Query device details, credentials, profiles, and relationships
  • View and manage assets, customers, and users
  • Retrieve and insert/update attributes and time-series data
  • Discover and navigate relationships between entities
  • Fetch alarms, alarm types, and severity for entities
  • Access system settings, security policies, and version control

Use cases of Thingsboard MCP Server

  • Query device telemetry and status using natural language in an AI chat
  • Manage customers and users through a conversational assistant
  • Generate IoT reports by asking for aggregated time-series data
  • Automate routine ThingsBoard operations (e.g., alarm lookup) via AI workflows

常见问题

1

What are the requirements to run the server?

You need a running ThingsBoard instance (local, cloud, or demo), valid authentication credentials, network connectivity to the instance, and proper environment variables. The server can be run with Docker or built from source (Java 17+, Maven 3.6+).

2

How do I run the server in SSE mode?

Use Docker with the `-p 8000:8000` flag and set `SPRING_AI_MCP_SERVER_STDIO=false` and `SPRING_WEB_APPLICATION_TYPE=servlet`. For JAR mode, add `-Dspring.ai.mcp.server.stdio=false -Dspring.main.web-application-type=servlet` to the Java command.

3

How do I configure an MCP client like Claude Desktop?

Add a JSON entry to your client settings (`claude_desktop_config.json`) specifying the command (docker or java) and environment variables (`THINGSBOARD_URL`, `THINGSBOARD_USERNAME`, `THINGSBOARD_PASSWORD`). See the README for exact templates.

4

What environment variables are required?

`THINGSBOARD_URL`, `THINGSBOARD_USERNAME`, and `THINGSBOARD_PASSWORD` are mandatory. Optional variables include `THINGSBOARD_LOGIN_INTERVAL_SECONDS`, `SPRING_AI_MCP_SERVER_STDIO`, `SPRING_WEB_APPLICATION_TYPE`, and server port settings.

5

What transport modes does the server support?

Two modes: STDIO (standard input/output, default) for direct communication with the MCP client, and SSE (Server-Sent Events) where the server runs as an HTTP server on port 8000.

评论

其他 分类下的更多 MCP 服务器