Skip to main content
Glama

ThingsBoard MCP Server

Official
by thingsboard
Dockerfile580 B
# Stage 1: Build the project using Maven FROM maven:3.9.4-eclipse-temurin-21 AS builder WORKDIR /app COPY . . RUN mvn clean package -DskipTests # Stage 2: Runtime container FROM eclipse-temurin:21-jre WORKDIR /app # Copy the built jar from the builder stage (using wildcard to match any version) COPY --from=builder /app/target/thingsboard-mcp-server-*.jar app.jar # Optional JVM extras at runtime: -Xmx, debug agent, log levels, etc. ENV JAVA_OPTS="" # Let Spring read env vars from application.yml (${VAR:default}) ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar app.jar"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thingsboard/thingsboard-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server