Back to Home
pophalea icon

thingsboard-mcp

Verified Safe

by pophalea

Overview

Enables AI assistants to interact directly with ThingsBoard instances for managing IoT assets, devices, telemetry, and alarms via a Model Context Protocol (MCP) server.

Installation

Run Command
python3 thingsboard_mcp/main.py

Environment Variables

  • TB_URL
  • TB_USERNAME
  • TB_PASSWORD
  • TB_EDITION

Security Notes

The server uses environment variables for ThingsBoard credentials, which is good practice. No direct 'eval' or similar arbitrary code execution found within the MCP server's own Python code. However, several tools (e.g., `rule_chain.test_script`, `converter.test_down_link_converter`, `converter.test_up_link_converter`) explicitly take string arguments that are then executed as scripts (JavaScript) on the remote ThingsBoard platform. This exposes a vector for server-side script injection on the ThingsBoard instance if the AI assistant is not constrained from providing malicious scripts, though this is an inherent feature of ThingsBoard's rule engine and converter capabilities, not a vulnerability in the MCP server's direct execution context.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2026-01-18

Tags

ThingsBoardIoTAI AssistantMCP ServerAPI Integration