thingsboard/thingsboard-mcp
thingsboard
e2cf79bd8265thingsboard-mcp-server2.1.0 in pom.xmlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 138 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- HIGHTool
saveOtaPackageDatareads or writes any file path by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
saveOtaPackageDatacan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
saveOtaPackageData, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 124 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
saveOtaPackageDataNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · saveOtaPackageData
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (124: 124 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
saveOtaPackageDatatool Use this to upload OTA package binary data from a file path on the MCP host.Filesoutside textReads/writes files
Use this to upload OTA package binary data from a file path on the MCP host.
ackAlarmtool Use this to acknowledge an alarm. Sets 'ack_ts' and triggers ALARM_ACK rule chain event.
Use this to acknowledge an alarm. Sets 'ack_ts' and triggers ALARM_ACK rule chain event.
addEntitiesToEntityGrouptool Use this to add entities to an entity group. Cannot add to the 'All' group. PE only.
Use this to add entities to an entity group. Cannot add to the 'All' group. PE only.
assignOtaPackageToDevicetool Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a specific device.
Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a specific device.
assignOtaPackageToDeviceProfiletool Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a device profile.
Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a device profile.
clearAlarmtool Use this to clear an alarm. Sets 'clear_ts' and triggers ALARM_CLEAR rule chain event.
Use this to clear an alarm. Sets 'clear_ts' and triggers ALARM_CLEAR rule chain event.
countByApiUsageStateFiltertool
No description.
countByAssetSearchQueryFiltertool
No description.
countByAssetTypeFiltertool
No description.
countByDeviceProfileAndEmptyOtaPackagetool Use this to count devices in a profile that have no assigned OTA package.
Use this to count devices in a profile that have no assigned OTA package.
countByDeviceSearchQueryFiltertool
No description.
countByDeviceTypeFiltertool
No description.
countByEdgeQueryFiltertool
No description.
countByEdgeTypeFiltertool
No description.
countByEntitiesGroupNameFiltertool
No description.
countByEntityGroupFiltertool
No description.
countByEntityGroupListFiltertool
No description.
countByEntityGroupNameFiltertool
No description.
countByEntityListFiltertool
No description.
countByEntityNameFiltertool
No description.
countByEntityTypeFiltertool
No description.
countByEntityViewSearchQueryFiltertool
No description.
countByEntityViewTypeFiltertool
No description.
countByRelationsQueryFiltertool
No description.
countBySingleEntityFiltertool
No description.
createOrUpsertDevicetool
No description.
deleteAlarmtool Use this to permanently delete an alarm by its id.
Use this to permanently delete an alarm by its id.
deleteAssettool Use this to permanently delete an asset and all its relations by id.
Use this to permanently delete an asset and all its relations by id.
deleteCustomertool Use this to permanently delete a customer and all its users. Assigned dashboards, assets, devices will be unassigned but not deleted.
Use this to permanently delete a customer and all its users. Assigned dashboards, assets, devices will be unassigned but not deleted.
deleteDevicetool Use this to permanently delete a device, its credentials, and all relations by id.
Use this to permanently delete a device, its credentials, and all relations by id.
deleteEntityGrouptool Use this to delete an entity group by id. Entities remain in the 'All' group. Cannot delete the 'All' group. PE only.
Use this to delete an entity group by id. Entities remain in the 'All' group. Cannot delete the 'All' group. PE only.
deleteOtaPackagetool Use this to delete an OTA package by id.
Use this to delete an OTA package by id.
deleteRelationtool Use this to delete a specific relation identified by (from, to, typeGroup, type). Defaults typeGroup to COMMON.
Use this to delete a specific relation identified by (from, to, typeGroup, type). Defaults typeGroup to COMMON.
deleteRelationstool Use this to delete all relations (both directions) for an entity in the COMMON group.
Use this to delete all relations (both directions) for an entity in the COMMON group.
deleteUsertool Use this to permanently delete a user by id.
Use this to permanently delete a user by id.
downloadOtaPackagetool Use this to download OTA package binary to a local file path on the MCP host.
Use this to download OTA package binary to a local file path on the MCP host.
findByFromWithRelationTypetool Use this to list outgoing relations of a specific type for an entity.
Use this to list outgoing relations of a specific type for an entity.
findByToWithRelationTypetool Use this to list incoming relations of a specific type for an entity.
Use this to list incoming relations of a specific type for an entity.
findEntityDataByApiUsageStateFiltertool
No description.
findEntityDataByAssetSearchQueryFiltertool
No description.
findEntityDataByAssetTypeFiltertool
No description.
findEntityDataByDeviceSearchQueryFiltertool
No description.
findEntityDataByDeviceTypeFiltertool
No description.
findEntityDataByEdgeQueryFiltertool
No description.
findEntityDataByEdgeTypeFiltertool
No description.
findEntityDataByEntitiesGroupNameFiltertool
No description.
findEntityDataByEntityGroupFiltertool
No description.
findEntityDataByEntityGroupListFiltertool
No description.
findEntityDataByEntityGroupNameFiltertool
No description.
findEntityDataByEntityListFiltertool
No description.
findEntityDataByEntityNameFiltertool
No description.
findEntityDataByEntityTypeFiltertool
No description.
findEntityDataByEntityViewSearchQueryFiltertool
No description.
findEntityDataByEntityViewTypeFiltertool
No description.
findEntityDataByRelationsQueryFiltertool
No description.
findEntityDataBySingleEntityFiltertool
No description.
findEntityDataByStateEntityOwnerFiltertool
No description.
findInfoByFromtool Use this to list all outgoing relations (FROM direction) for an entity. Returns RelationInfo with entity names.
Use this to list all outgoing relations (FROM direction) for an entity. Returns RelationInfo with entity names.
findInfoByTotool Use this to list all incoming relations (TO direction) for an entity. Returns RelationInfo with entity names.
Use this to list all incoming relations (TO direction) for an entity. Returns RelationInfo with entity names.
getAlarmInfoByIdtool Use this to get alarm details by id. Returns AlarmInfo including originator name.
Use this to get alarm details by id. Returns AlarmInfo including originator name.
getAlarmTypestool Use this to list unique alarm type names visible to the current user.
Use this to list unique alarm type names visible to the current user.
getAlarmstool Use this to get a paginated list of alarms for a specific entity. Filter by searchStatus or status (not both). Returns PageData of AlarmInfo.
Use this to get a paginated list of alarms for a specific entity. Filter by searchStatus or status (not both). Returns PageData of AlarmInfo.
getAllAlarmstool Use this to get all alarms visible to the current user (tenant-scoped or customer-scoped). Filter by searchStatus or status (not both). Returns PageData of Alar
Use this to get all alarms visible to the current user (tenant-scoped or customer-scoped). Filter by searchStatus or status (not both). Returns PageData of AlarmInfo.
getAllCustomerUserstool Use this to get a paginated list of all customer users for the current tenant. PE only.
Use this to get a paginated list of all customer users for the current tenant. PE only.
getAssetByIdtool Use this to get an asset by its id.
Use this to get an asset by its id.
getAssetsByEntityGroupIdtool Use this to get a paginated list of assets in a specific entity group. PE only.
Use this to get a paginated list of assets in a specific entity group. PE only.
getAttributeKeystool Use this to get all attribute key names for an entity (merged across SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
Use this to get all attribute key names for an entity (merged across SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
getAttributeKeysByScopetool Use this to get attribute key names for an entity filtered by scope (SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
Use this to get attribute key names for an entity filtered by scope (SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
getAttributestool Use this to get all attributes for an entity. Use optional 'keys' to return specific attributes.
Use this to get all attributes for an entity. Use optional 'keys' to return specific attributes.
getAttributesByScopetool Use this to get attributes for an entity filtered by scope. Scopes: SERVER_SCOPE, SHARED_SCOPE, CLIENT_SCOPE (devices only). Use optional 'keys' to filter.
Use this to get attributes for an entity filtered by scope. Scopes: SERVER_SCOPE, SHARED_SCOPE, CLIENT_SCOPE (devices only). Use optional 'keys' to filter.
getCustomerAssetstool Use this to get a paginated list of assets assigned to a specific customer. Filter by type.
Use this to get a paginated list of assets assigned to a specific customer. Filter by type.
getCustomerByIdtool Use this to get a customer by its id.
Use this to get a customer by its id.
getCustomerDevicestool Use this to get a paginated list of devices assigned to a specific customer. Filter by type.
Use this to get a paginated list of devices assigned to a specific customer. Filter by type.
getCustomerUserstool Use this to get a paginated list of users assigned to a specific customer.
Use this to get a paginated list of users assigned to a specific customer.
getCustomerstool Use this to get a paginated list of customers owned by the tenant.
Use this to get a paginated list of customers owned by the tenant.
getCustomersByEntityGroupIdtool Use this to get a paginated list of customers in a specific entity group. PE only.
Use this to get a paginated list of customers in a specific entity group. PE only.
getDeviceByIdtool Use this to get a device by its id.
Use this to get a device by its id.
getDeviceCredentialsByDeviceIdtool Use this to get device credentials (e.g., ACCESS_TOKEN) by device id.
Use this to get device credentials (e.g., ACCESS_TOKEN) by device id.
getDevicesByEntityGroupIdtool Use this to get a paginated list of devices in a specific entity group. PE only.
Use this to get a paginated list of devices in a specific entity group. PE only.
getDevicesByIdstool Use this to get multiple devices by their ids (comma-separated).
Use this to get multiple devices by their ids (comma-separated).
getEdqCountGuidetool Call this to get the documentation for creating and run complex queries to search the count of platform entities based on filters.
Call this to get the documentation for creating and run complex queries to search the count of platform entities based on filters.
getEdqGuidetool Call this to get the documentation for creating and run complex queries over platform entities based on filters.
Call this to get the documentation for creating and run complex queries over platform entities based on filters.
getEntityGroupByIdtool Use this to get an entity group by its id. Returns EntityGroupInfo with owner IDs. PE only.
Use this to get an entity group by its id. Returns EntityGroupInfo with owner IDs. PE only.
getEntityGroupByOwnerAndNameAndTypetool Use this to get an entity group by owner, type, and name. PE only.
Use this to get an entity group by owner, type, and name. PE only.
getEntityGroupsByIdstool Use this to get multiple entity groups by their ids (comma-separated). PE only.
Use this to get multiple entity groups by their ids (comma-separated). PE only.
getEntityGroupsByOwnerAndTypetool Use this to list entity groups by owner and type. PE only.
Use this to list entity groups by owner and type. PE only.
getEntityGroupsByTypetool Use this to list all entity groups of a specific type (CUSTOMER, ASSET, DEVICE, USER, ENTITY_VIEW, DASHBOARD, EDGE). PE only.
Use this to list all entity groups of a specific type (CUSTOMER, ASSET, DEVICE, USER, ENTITY_VIEW, DASHBOARD, EDGE). PE only.
getEntityGroupsForEntitytool Use this to list all groups containing a specific entity. Always includes the 'All' group. PE only.
Use this to list all groups containing a specific entity. Always includes the 'All' group. PE only.
getHighestAlarmSeveritytool Use this to get the highest alarm severity for an entity. Returns: CRITICAL, MAJOR, MINOR, WARNING, or INDETERMINATE. Filter by searchStatus or status (not both
Use this to get the highest alarm severity for an entity. Returns: CRITICAL, MAJOR, MINOR, WARNING, or INDETERMINATE. Filter by searchStatus or status (not both).
getKeyFiltersGuidetool Call this to get the full documentation and JSON schema for creating 'keyFilters'. Use it if you are unsure about filter keys, value types, or predicates.
Call this to get the full documentation and JSON schema for creating 'keyFilters'. Use it if you are unsure about filter keys, value types, or predicates.
getLatestTimeseriestool Use this to get the latest time series values for an entity. Use optional 'keys' to filter. Set 'useStrictDataTypes'=true to preserve original types.
Use this to get the latest time series values for an entity. Use optional 'keys' to filter. Set 'useStrictDataTypes'=true to preserve original types.
getOtaPackageByIdtool Use this to get the full OTA package object by id.
Use this to get the full OTA package object by id.
getOtaPackageInfoByIdtool Use this to get OTA package info by id.
Use this to get OTA package info by id.
getOtaPackagestool Use this to get a paginated list of OTA packages.
Use this to get a paginated list of OTA packages.
getOtaPackagesByDeviceProfiletool Use this to get a paginated list of OTA packages filtered by device profile and type (FIRMWARE/SOFTWARE).
Use this to get a paginated list of OTA packages filtered by device profile and type (FIRMWARE/SOFTWARE).
getRelationtool Use this to get a specific relation between two entities.
Use this to get a specific relation between two entities.
getTenantAdminstool Use this to get a paginated list of tenant administrator users for a specified tenant.
Use this to get a paginated list of tenant administrator users for a specified tenant.
getTenantAssettool Use this to get an asset by its unique name within the tenant.
Use this to get an asset by its unique name within the tenant.
getTenantAssetstool Use this to get a paginated list of assets owned by the tenant. Filter by type.
Use this to get a paginated list of assets owned by the tenant. Filter by type.
getTenantCustomertool Use this to get a customer by its unique title within the tenant.
Use this to get a customer by its unique title within the tenant.
getTenantDevicetool Use this to get a device by its unique name within the tenant.
Use this to get a device by its unique name within the tenant.
getTenantDevicestool Use this to get a paginated list of devices owned by the tenant. Filter by type.
Use this to get a paginated list of devices owned by the tenant. Filter by type.
getTimeseriestool
No description.
getTimeseriesKeystool Use this to get all time series key names for an entity.
Use this to get all time series key names for an entity.
getUserAssetstool Use this to get a paginated list of assets available to the current user. PE only.
Use this to get a paginated list of assets available to the current user. PE only.
getUserByIdtool Use this to get a user by id.
Use this to get a user by id.
getUserCustomerstool Use this to get a paginated list of customers available to the current user. PE only.
Use this to get a paginated list of customers available to the current user. PE only.
getUserDevicestool Use this to get a paginated list of devices available to the current user. PE only.
Use this to get a paginated list of devices available to the current user. PE only.
getUserstool Use this to get a paginated list of users. Scope depends on caller's authority.
Use this to get a paginated list of users. Scope depends on caller's authority.
getUsersByEntityGroupIdtool Use this to get a paginated list of users in a specific entity group. PE only.
Use this to get a paginated list of users in a specific entity group. PE only.
getUsersForAssigntool Use this to get users that can be assigned to a specific alarm. Searches by email, firstName, lastName.
Use this to get users that can be assigned to a specific alarm. Searches by email, firstName, lastName.
removeEntitiesFromEntityGrouptool Use this to remove entities from an entity group. Cannot remove from the 'All' group. PE only.
Use this to remove entities from an entity group. Cannot remove from the 'All' group. PE only.
saveAlarmtool
No description.
saveAssettool
No description.
saveCustomertool Use this to create or update a customer. Omit 'id' to create; include 'id' to update. Customer titles are unique per tenant. PE: use 'entityGroupId'/'entityGrou
Use this to create or update a customer. Omit 'id' to create; include 'id' to update. Customer titles are unique per tenant. PE: use 'entityGroupId'/'entityGroupIds' for groups.
saveDevicetool
No description.
saveDeviceAttributestool Use this to create or update device attributes. Provide device id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
Use this to create or update device attributes. Provide device id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
saveEntityAttributesV2tool Use this to create or update attributes for any entity. Provide entity type/id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
Use this to create or update attributes for any entity. Provide entity type/id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
saveEntityGrouptool Use this to create or update an entity group. Omit 'id' to create; include 'id' to update. Group names are unique per owner + entity type. Supported types: CUST
Use this to create or update an entity group. Omit 'id' to create; include 'id' to update. Group names are unique per owner + entity type. Supported types: CUSTOMER, ASSET, DEVICE, USER, ENTITY_VIEW, DASHBOARD, EDGE. PE only.
saveEntityTelemetrytool Use this to save time series data for an entity. Accepts JSON: simple {key:value}, with timestamp {ts:...,values:{...}}, or array format.
Use this to save time series data for an entity. Accepts JSON: simple {key:value}, with timestamp {ts:...,values:{...}}, or array format.saveEntityTelemetryWithTTLtool Use this to save time series data with a TTL (Time to Live) for an entity. TTL only applies with Cassandra DB.
Use this to save time series data with a TTL (Time to Live) for an entity. TTL only applies with Cassandra DB.
saveOtaPackageInfotool Use this to create or update OTA package info. Omit 'id' to create; include 'id' to update.
Use this to create or update OTA package info. Omit 'id' to create; include 'id' to update.
saveRelationtool Use this to create or update a relation between two entities. Unique key: (from, to, typeGroup, type). 'typeGroup' defaults to COMMON.
Use this to create or update a relation between two entities. Unique key: (from, to, typeGroup, type). 'typeGroup' defaults to COMMON.
saveUsertool Use this to create or update a user. Omit 'id' to create; include 'id' to update. Required: 'email' (unique per tenant), 'authority' (SYS_ADMIN|TENANT_ADMIN|CUS
Use this to create or update a user. Omit 'id' to create; include 'id' to update. Required: 'email' (unique per tenant), 'authority' (SYS_ADMIN|TENANT_ADMIN|CUSTOMER_USER). PE: use 'entityGroupId'/'entityGroupIds' for groups.
Text the model reads (124)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
saveAlarm tool
deleteAlarm tool
Use this to permanently delete an alarm by its id.
ackAlarm tool
Use this to acknowledge an alarm. Sets 'ack_ts' and triggers ALARM_ACK rule chain event.
clearAlarm tool
Use this to clear an alarm. Sets 'clear_ts' and triggers ALARM_CLEAR rule chain event.
getAlarmInfoById tool
Use this to get alarm details by id. Returns AlarmInfo including originator name.
getAlarms tool
Use this to get a paginated list of alarms for a specific entity. Filter by searchStatus or status (not both). Returns PageData of AlarmInfo.
getAllAlarms tool
Use this to get all alarms visible to the current user (tenant-scoped or customer-scoped). Filter by searchStatus or status (not both). Returns PageData of AlarmInfo.
getHighestAlarmSeverity tool
Use this to get the highest alarm severity for an entity. Returns: CRITICAL, MAJOR, MINOR, WARNING, or INDETERMINATE. Filter by searchStatus or status (not both).
getAlarmTypes tool
Use this to list unique alarm type names visible to the current user.
saveAsset tool
deleteAsset tool
Use this to permanently delete an asset and all its relations by id.
getAssetById tool
Use this to get an asset by its id.
getTenantAssets tool
Use this to get a paginated list of assets owned by the tenant. Filter by type.
getTenantAsset tool
Use this to get an asset by its unique name within the tenant.
getCustomerAssets tool
Use this to get a paginated list of assets assigned to a specific customer. Filter by type.
getUserAssets tool
Use this to get a paginated list of assets available to the current user. PE only.
getAssetsByEntityGroupId tool
Use this to get a paginated list of assets in a specific entity group. PE only.
saveCustomer tool
Use this to create or update a customer. Omit 'id' to create; include 'id' to update. Customer titles are unique per tenant. PE: use 'entityGroupId'/'entityGroupIds' for groups.
deleteCustomer tool
Use this to permanently delete a customer and all its users. Assigned dashboards, assets, devices will be unassigned but not deleted.
getCustomerById tool
Use this to get a customer by its id.
getCustomers tool
Use this to get a paginated list of customers owned by the tenant.
getTenantCustomer tool
Use this to get a customer by its unique title within the tenant.
getUserCustomers tool
Use this to get a paginated list of customers available to the current user. PE only.
getCustomersByEntityGroupId tool
Use this to get a paginated list of customers in a specific entity group. PE only.
createOrUpsertDevice tool
saveDevice tool
deleteDevice tool
Use this to permanently delete a device, its credentials, and all relations by id.
getDeviceById tool
Use this to get a device by its id.
getDeviceCredentialsByDeviceId tool
Use this to get device credentials (e.g., ACCESS_TOKEN) by device id.
getTenantDevices tool
Use this to get a paginated list of devices owned by the tenant. Filter by type.
getTenantDevice tool
Use this to get a device by its unique name within the tenant.
getCustomerDevices tool
Use this to get a paginated list of devices assigned to a specific customer. Filter by type.
getUserDevices tool
Use this to get a paginated list of devices available to the current user. PE only.
getDevicesByIds tool
Use this to get multiple devices by their ids (comma-separated).
getDevicesByEntityGroupId tool
Use this to get a paginated list of devices in a specific entity group. PE only.
saveEntityGroup tool
Use this to create or update an entity group. Omit 'id' to create; include 'id' to update. Group names are unique per owner + entity type. Supported types: CUSTOMER, ASSET, DEVICE, USER, ENTITY_VIEW, DASHBOARD, EDGE. PE only.
deleteEntityGroup tool
Use this to delete an entity group by id. Entities remain in the 'All' group. Cannot delete the 'All' group. PE only.
addEntitiesToEntityGroup tool
Use this to add entities to an entity group. Cannot add to the 'All' group. PE only.
removeEntitiesFromEntityGroup tool
Use this to remove entities from an entity group. Cannot remove from the 'All' group. PE only.
getEntityGroupById tool
Use this to get an entity group by its id. Returns EntityGroupInfo with owner IDs. PE only.
getEntityGroupsByType tool
Use this to list all entity groups of a specific type (CUSTOMER, ASSET, DEVICE, USER, ENTITY_VIEW, DASHBOARD, EDGE). PE only.
getEntityGroupByOwnerAndNameAndType tool
Use this to get an entity group by owner, type, and name. PE only.
getEntityGroupsByOwnerAndType tool
Use this to list entity groups by owner and type. PE only.
getEntityGroupsForEntity tool
Use this to list all groups containing a specific entity. Always includes the 'All' group. PE only.
getEntityGroupsByIds tool
Use this to get multiple entity groups by their ids (comma-separated). PE only.
saveOtaPackageInfo tool
Use this to create or update OTA package info. Omit 'id' to create; include 'id' to update.
saveOtaPackageData tool
Use this to upload OTA package binary data from a file path on the MCP host.
downloadOtaPackage tool
Use this to download OTA package binary to a local file path on the MCP host.
getOtaPackageInfoById tool
Use this to get OTA package info by id.
getOtaPackageById tool
Use this to get the full OTA package object by id.
getOtaPackages tool
Use this to get a paginated list of OTA packages.
getOtaPackagesByDeviceProfile tool
Use this to get a paginated list of OTA packages filtered by device profile and type (FIRMWARE/SOFTWARE).
countByDeviceProfileAndEmptyOtaPackage tool
Use this to count devices in a profile that have no assigned OTA package.
assignOtaPackageToDevice tool
Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a specific device.
assignOtaPackageToDeviceProfile tool
Use this to assign or clear an OTA package (FIRMWARE/SOFTWARE) on a device profile.
deleteOtaPackage tool
Use this to delete an OTA package by id.
findEntityDataBySingleEntityFilter tool
findEntityDataByEntityGroupFilter tool
findEntityDataByEntityListFilter tool
findEntityDataByEntityNameFilter tool
findEntityDataByEntityTypeFilter tool
findEntityDataByEntityGroupListFilter tool
findEntityDataByEntityGroupNameFilter tool
findEntityDataByEntitiesGroupNameFilter tool
findEntityDataByStateEntityOwnerFilter tool
findEntityDataByAssetTypeFilter tool
findEntityDataByDeviceTypeFilter tool
findEntityDataByEdgeTypeFilter tool
findEntityDataByEntityViewTypeFilter tool
findEntityDataByApiUsageStateFilter tool
findEntityDataByRelationsQueryFilter tool
findEntityDataByAssetSearchQueryFilter tool
findEntityDataByDeviceSearchQueryFilter tool
findEntityDataByEntityViewSearchQueryFilter tool
findEntityDataByEdgeQueryFilter tool
countBySingleEntityFilter tool
countByEntityGroupFilter tool
countByEntityListFilter tool
countByEntityNameFilter tool
countByEntityTypeFilter tool
countByEntityGroupListFilter tool
countByEntityGroupNameFilter tool
countByEntitiesGroupNameFilter tool
countByAssetTypeFilter tool
countByDeviceTypeFilter tool
countByEdgeTypeFilter tool
countByEntityViewTypeFilter tool
countByApiUsageStateFilter tool
countByRelationsQueryFilter tool
countByAssetSearchQueryFilter tool
countByDeviceSearchQueryFilter tool
countByEntityViewSearchQueryFilter tool
countByEdgeQueryFilter tool
getKeyFiltersGuide tool
Call this to get the full documentation and JSON schema for creating 'keyFilters'. Use it if you are unsure about filter keys, value types, or predicates.
getEdqGuide tool
Call this to get the documentation for creating and run complex queries over platform entities based on filters.
getEdqCountGuide tool
Call this to get the documentation for creating and run complex queries to search the count of platform entities based on filters.
saveRelation tool
Use this to create or update a relation between two entities. Unique key: (from, to, typeGroup, type). 'typeGroup' defaults to COMMON.
deleteRelation tool
Use this to delete a specific relation identified by (from, to, typeGroup, type). Defaults typeGroup to COMMON.
deleteRelations tool
Use this to delete all relations (both directions) for an entity in the COMMON group.
getRelation tool
Use this to get a specific relation between two entities.
findInfoByFrom tool
Use this to list all outgoing relations (FROM direction) for an entity. Returns RelationInfo with entity names.
findByFromWithRelationType tool
Use this to list outgoing relations of a specific type for an entity.
findInfoByTo tool
Use this to list all incoming relations (TO direction) for an entity. Returns RelationInfo with entity names.
findByToWithRelationType tool
Use this to list incoming relations of a specific type for an entity.
getAttributeKeys tool
Use this to get all attribute key names for an entity (merged across SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
getAttributeKeysByScope tool
Use this to get attribute key names for an entity filtered by scope (SERVER_SCOPE, CLIENT_SCOPE, SHARED_SCOPE).
getAttributes tool
Use this to get all attributes for an entity. Use optional 'keys' to return specific attributes.
getAttributesByScope tool
Use this to get attributes for an entity filtered by scope. Scopes: SERVER_SCOPE, SHARED_SCOPE, CLIENT_SCOPE (devices only). Use optional 'keys' to filter.
getTimeseriesKeys tool
Use this to get all time series key names for an entity.
getLatestTimeseries tool
Use this to get the latest time series values for an entity. Use optional 'keys' to filter. Set 'useStrictDataTypes'=true to preserve original types.
getTimeseries tool
saveDeviceAttributes tool
Use this to create or update device attributes. Provide device id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
saveEntityAttributesV2 tool
Use this to create or update attributes for any entity. Provide entity type/id, scope (SERVER_SCOPE or SHARED_SCOPE), and JSON key-value payload.
saveEntityTelemetry tool
Use this to save time series data for an entity. Accepts JSON: simple {key:value}, with timestamp {ts:...,values:{...}}, or array format.saveEntityTelemetryWithTTL tool
Use this to save time series data with a TTL (Time to Live) for an entity. TTL only applies with Cassandra DB.
saveUser tool
Use this to create or update a user. Omit 'id' to create; include 'id' to update. Required: 'email' (unique per tenant), 'authority' (SYS_ADMIN|TENANT_ADMIN|CUSTOMER_USER). PE: use 'entityGroupId'/'entityGroupIds' for groups.
deleteUser tool
Use this to permanently delete a user by id.
getUserById tool
Use this to get a user by id.
getUsers tool
Use this to get a paginated list of users. Scope depends on caller's authority.
getTenantAdmins tool
Use this to get a paginated list of tenant administrator users for a specified tenant.
getCustomerUsers tool
Use this to get a paginated list of users assigned to a specific customer.
getAllCustomerUsers tool
Use this to get a paginated list of all customer users for the current tenant. PE only.
getUsersForAssign tool
Use this to get users that can be assigned to a specific alarm. Searches by email, firstName, lastName.
getUsersByEntityGroupId tool
Use this to get a paginated list of users in a specific entity group. PE only.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 124 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 124 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path1 finding the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 124 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 124 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 124 capabilities; 124 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 124 capabilities touch files; 123 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 124 capabilities; 124 more call code the scanner could not follow, where it may happen
Where the code is: 124 handlers in 12 files at commit e2cf79bd8265
src/main/java/org/thingsboard/ai/mcp/server/tools/alarm/AlarmTools.javasaveAlarm, deleteAlarm, ackAlarm, clearAlarm, getAlarmInfoById, getAlarms, getAllAlarms, getHighestAlarmSeverity, getAlarmTypessrc/main/java/org/thingsboard/ai/mcp/server/tools/asset/AssetTools.javasaveAsset, deleteAsset, getAssetById, getTenantAssets, getTenantAsset, getCustomerAssets, getUserAssets, getAssetsByEntityGroupIdsrc/main/java/org/thingsboard/ai/mcp/server/tools/customer/CustomerTools.javasaveCustomer, deleteCustomer, getCustomerById, getCustomers, getTenantCustomer, getUserCustomers, getCustomersByEntityGroupIdsrc/main/java/org/thingsboard/ai/mcp/server/tools/device/DeviceCreateTools.javacreateOrUpsertDevicesrc/main/java/org/thingsboard/ai/mcp/server/tools/device/DeviceTools.javasaveDevice, deleteDevice, getDeviceById, getDeviceCredentialsByDeviceId, getTenantDevices, getTenantDevice, getCustomerDevices, getUserDevices, getDevicesByIds, getDevicesByEntityGroupIdsrc/main/java/org/thingsboard/ai/mcp/server/tools/group/EntityGroupTools.javasaveEntityGroup, deleteEntityGroup, addEntitiesToEntityGroup, removeEntitiesFromEntityGroup, getEntityGroupById, getEntityGroupsByType, getEntityGroupByOwnerAndNameAndType, getEntityGroupsByOwnerAndType, getEntityGroupsForEntity, getEntityGroupsByIdssrc/main/java/org/thingsboard/ai/mcp/server/tools/ota/OtaTools.javasaveOtaPackageInfo, saveOtaPackageData, downloadOtaPackage, getOtaPackageInfoById, getOtaPackageById, getOtaPackages, getOtaPackagesByDeviceProfile, countByDeviceProfileAndEmptyOtaPackage, assignOtaPackageToDevice, assignOtaPackageToDeviceProfile, deleteOtaPackagesrc/main/java/org/thingsboard/ai/mcp/server/tools/query/EntityQueryTools.javafindEntityDataBySingleEntityFilter, findEntityDataByEntityGroupFilter, findEntityDataByEntityListFilter, findEntityDataByEntityNameFilter, findEntityDataByEntityTypeFilter, findEntityDataByEntityGroupListFilter, findEntityDataByEntityGroupNameFilter, findEntityDataByEntitiesGroupNameFilter, findEntityDataByStateEntityOwnerFilter, findEntityDataByAssetTypeFilter, findEntityDataByDeviceTypeFilter, findEntityDataByEdgeTypeFilter +25src/main/java/org/thingsboard/ai/mcp/server/tools/query/GuideTools.javagetKeyFiltersGuide, getEdqGuide, getEdqCountGuidesrc/main/java/org/thingsboard/ai/mcp/server/tools/relation/RelationTools.javasaveRelation, deleteRelation, deleteRelations, getRelation, findInfoByFrom, findByFromWithRelationType, findInfoByTo, findByToWithRelationTypesrc/main/java/org/thingsboard/ai/mcp/server/tools/telemetry/TelemetryTools.javagetAttributeKeys, getAttributeKeysByScope, getAttributes, getAttributesByScope, getTimeseriesKeys, getLatestTimeseries, getTimeseries, saveDeviceAttributes, saveEntityAttributesV2, saveEntityTelemetry, saveEntityTelemetryWithTTLsrc/main/java/org/thingsboard/ai/mcp/server/tools/user/UserTools.javasaveUser, deleteUser, getUserById, getUsers, getTenantAdmins, getCustomerUsers, getAllCustomerUsers, getUsersForAssign, getUsersByEntityGroupId
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pom.xml
- Lockfiles checked against OSVNothing could be resolved to exact versions
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 124 capabilities; 124 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (42 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-03-16 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 6 catalogs (awesome_habitoai, awesome_wong2, docker_catalog, github_search, glama, mcp_toplist) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-06-30 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.