SSyncDev

Thingsboard MCP Server

Type-safe TypeScript client for the ThingsBoard REST API with Zod v4 runtime validation

Local serverstdioTypeScript

What is the Thingsboard MCP Server?

Type-safe TypeScript client for the ThingsBoard REST API with Zod v4 runtime validation

What you get

Generated from the official ThingsBoard OpenAPI 3.1 spec using @hey-api/openapi-ts.

  • Full ThingsBoard REST API coverage, generated from a TB Professional Edition spec (PE is a superset of CE — CE-only consumers will see SDK functions for PE-only endpoints that 404 on their server)
  • login() / logout() helpers (not in the OpenAPI spec, provided manually)
  • TypeScript types for all endpoints, request bodies, and responses
  • Zod schemas for runtime validation at API boundaries
  • Native fetch — works in Node.js 20+, Bun, Deno, and browsers
  • Tree-shakeable — import only the endpoints you use for minimal bundle size

Configuration and credentials

  • Node.js 20+ - pnpm 8+

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js 20+ - pnpm 8+
VariableDescriptionRequired
THINGSBOARD_SPEC_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Thingsboard to Prerequisites.”
  • “Use Thingsboard to Setup.”

Frequently asked questions

Type-safe TypeScript client for the ThingsBoard REST API with Zod v4 runtime validation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.