drio
Open app

Thingsboard MCP Server

Source

Thingsboard MCP Server for using Thingsboard Data as context in LLM tools

Catalog onlyCatalog onlySTDIO

Overview

Thingsboard MCP Server is a server designed to utilize Thingsboard Data as context in Large Language Model (LLM) tools, enabling enhanced data-driven applications.

To use the Thingsboard MCP Server, set up your environment by following the installation instructions for your operating system, configure the necessary environment variables, install dependencies, and run the server.

  • Integration with Thingsboard for data context in LLM tools - Support for virtual environments to manage dependencies - Easy setup process for both Windows and Linux users
  1. Enhancing LLM applications with real-time data from Thingsboard.
  2. Building data-driven AI applications that require contextual information.
  3. Facilitating research and development in AI by providing a robust data backend.

Add to your AI client

Use these steps to connect Thingsboard MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "thingsboard-mcp-server-anycontext-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-thingsboard-mcp-server-anycontext-ai"
      ]
    }
  }
}

FAQ

What is Thingsboard?

Thingsboard is an open-source IoT platform for data collection, processing, visualization, and device management.

Is Thingsboard MCP Server free to use?

Yes! Thingsboard MCP Server is open-source and free to use.

What programming languages are supported?

The server is primarily built using Python, and it supports any language that can interact with its API.