Thingsboard MCP Server logo

Thingsboard MCP Server

by AnyContext-ai

The Thingsboard MCP Server allows connection to Thingsboard. It provides a server implementation for managing and controlling devices within the Thingsboard IoT platform.

View on GitHub

Last updated: N/A

Thingsboard MCP Server

Setup environment using uv

Windows

# Install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Create virtual environment
uv venv

# Activate virtual environment
.venv\Scripts\activate

Linux

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create virtual environment
uv venv

# Activate virtual environment
source .venv/bin/activate

Add environment variables

Create .env file: cp .env.example .env

Add the environment variables to allow the MCP server to connect to Thingsboard.

Install dependencies

uv pip install -r pyproject.toml

Run server

uv run src/thingsboard.py