About thingsboard/thingsboard-mcp
thingsboard/thingsboard-mcp is an MCP server published by thingsboard in the Commerce category: mCP Server for Thingsboard. Conduid read 108 tools from its source: ackAlarm, addEntitiesToEntityGroup, assignOtaPackageToDevice, assignOtaPackageToDeviceProfile, clearAlarm, countByApiUsageStateFilter and 102 more. No package is published for it, so it installs from a source checkout.
The repository has 99 stars and 28 forks, is licensed Apache-2.0, and its last commit was on 16 Mar 2026. The latest release is v2.1.0 (17 Feb 2026): Minor release with the following improvements: New Features API key authentication Tool groups - ability to enable/disable tools by their group to reduce context size fo… It follows v2.0.0 (27 Oct 2025), and the 3 most recent releases go back to v1.0.0 (15 Aug 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include commerce.
Install
git clone https://github.com/thingsboard/thingsboard-mcpTools (108)
ackAlarmAcknowledge the alarm.addEntitiesToEntityGroupAdd entities to a group.assignOtaPackageToDeviceAssign or clear OTA package for a device.assignOtaPackageToDeviceProfileAssign or clear OTA package for a device profile.clearAlarmClear the alarm.countByApiUsageStateFilterCount API usage rows.countByAssetSearchQueryFilterCount related assets.countByAssetTypeFilterCount assets by type.countByDeviceProfileAndEmptyOtaPackageCount devices without assigned OTA package.countByDeviceSearchQueryFilterCount related devices.countByDeviceTypeFilterCount devices by type.countByEdgeQueryFilterCount related edges.countByEdgeTypeFilterCount edges by type.countByEntityListFilterCount by entity ID list.countByEntityNameFilterCount by name prefix.countByEntityTypeFilterCount by entity type.countByEntityViewSearchQueryFilterCount related entity views.countByEntityViewTypeFilterCount entity views by type.countByRelationsQueryFilterCount related entities.countBySingleEntityFilterCount by single entity ID.createOrUpsertDeviceCreate or update a device by name. Primary tool for most device tasks.deleteAlarmDelete the alarm by id.deleteAssetDelete the asset by id.deleteCustomerDelete the customer by id.deleteDeviceDelete the device by id.deleteEntityGroupDelete an entity group by id.deleteOtaPackageDelete OTA package by id.deleteRelationDelete a relation between two entities.deleteRelationsDelete all relations for an entity.deleteUserDelete the user by id.downloadOtaPackageDownload OTA package binary to a local file path.findByFromWithRelationTypeFind relations from an entity filtered by type.findByToWithRelationTypeFind relations to an entity filtered by type.findEntityDataByApiUsageStateFilterFind API usage data.findEntityDataByAssetSearchQueryFilterFind related assets.findEntityDataByAssetTypeFilterFind assets by type.findEntityDataByDeviceSearchQueryFilterFind related devices.findEntityDataByDeviceTypeFilterFind devices by type.findEntityDataByEdgeQueryFilterFind related edges.findEntityDataByEdgeTypeFilterFind edges by type.findEntityDataByEntityListFilterFind data for a list of entity IDs.findEntityDataByEntityNameFilterFind data by name prefix.findEntityDataByEntityTypeFilterFind data by entity type.findEntityDataByEntityViewSearchQueryFilterFind related entity views.findEntityDataByEntityViewTypeFilterFind entity views by type.findEntityDataByRelationsQueryFilterFind related entities.findEntityDataBySingleEntityFilterFind data for one entity by ID.findEntityDataByStateEntityOwnerFilterFind data for entity owner.findInfoByFromFind relations from an entity (includes entity names).findInfoByToFind relations to an entity (includes entity names).getAlarmInfoByIdGet alarm info by id (includes originator name).getAlarmTypesGet unique alarm types.getAlarmsGet a page of alarms for the selected entity.getAllAlarmsGet a page of alarms for the current user owner.getAssetByIdGet the Asset object by id.getAttributeKeysGet all attribute keys for an entity.getAttributeKeysByScopeGet attribute keys by scope.getAttributesGet attributes for an entity.getAttributesByScopeGet attributes by scope.getCustomerAssetsReturns a page of assets assigned to customer.getCustomerByIdGet the Customer object by id.getCustomerDevicesReturns a page of devices assigned to customer.getCustomerUsersReturns a page of users assigned to a customer.getCustomersReturns a page of customers owned by tenant.getDeviceByIdFetch the Device object based on the provided Device Id.getDeviceCredentialsByDeviceIdGet device credentials by device id.getDevicesByIdsGet devices by ids.getEdqCountGuideGet documentation for creating Entity Count Queries.getEdqGuideGet documentation for creating Entity Data Queries.getEntityGroupByIdGet entity group by id.getEntityGroupByOwnerAndNameAndTypeGet entity group by owner, type, and name.getEntityGroupsByIdsGet entity groups by ids.getEntityGroupsByOwnerAndTypeGet entity groups by owner and type.getEntityGroupsByTypeGet entity groups by entity type.getEntityGroupsForEntityGet groups containing a specified entity.getHighestAlarmSeverityGet highest alarm severity by originator.getKeyFiltersGuideGet documentation for creating key filters.getLatestTimeseriesGet latest time-series values.getOtaPackageByIdGet OTA package by id.getOtaPackageInfoByIdGet OTA package info by id.getOtaPackagesGet OTA packages (paged).getOtaPackagesByDeviceProfileGet OTA packages by device profile and type.getRelationGet a relation between two entities.getTenantAdminsReturns a page of tenant administrator users.getTenantAssetGet tenant asset by name.getTenantAssetsReturns a page of assets owned by tenant.getTenantCustomerGet customer by title.getTenantDeviceGet tenant device by name.getTenantDevicesReturns a page of devices owned by tenant.getTimeseriesGet time-series data for a time range.getTimeseriesKeysGet all time-series keys for an entity.getUserByIdFetch the User object by id.getUsersReturns a page of users owned by tenant or customer.getUsersForAssignReturns users that can be assigned to an alarm.removeEntitiesFromEntityGroupRemove entities from a group.saveAlarmCreate or update the alarm object.saveAssetCreate or update the asset object.saveCustomerCreate or update the customer object.saveDeviceCreate or update the device object from raw JSON. Advanced tool.saveDeviceAttributesSave device attributes.saveEntityAttributesV2Save entity attributes.saveEntityGroupCreate or update an entity group.saveEntityTelemetrySave entity telemetry data.saveEntityTelemetryWithTTLSave entity telemetry with TTL.saveOtaPackageDataUpload OTA package binary from a file path.saveOtaPackageInfoCreate or update OTA package info.saveRelationCreate or update a relation.saveUserCreate or update the user object.Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 30 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 2 callssrc/main/java/org/thingsboard/ai/mcp/server/tools/ota/OtaTools.java:113, src/main/java/org/thingsboard/ai/mcp/server/tools/ota/OtaTools.java:116
- Lockfile
- None in the repository
Pattern matches on the source text of 30 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README