Azure IoT Hub
MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.
Connector by nagarjunr · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/nagarjunr-azure-iot-hub
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 11 read · 11 write · 3 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 25
Read from the source code; the running server may list different tools.
Read 11 · Look things up without changing anything.
get_deviceget_device_statisticsget_device_twinget_moduleget_module_twinget_scheduled_jobget_service_statisticslist_deviceslist_modulesquery_devicesquery_scheduled_jobs
Write 11 · Create, change, send or run things.
cancel_scheduled_jobcreate_devicecreate_modulecreate_scheduled_jobinvoke_device_methodinvoke_module_methodreplace_device_twinsend_c2d_messageupdate_deviceupdate_device_twinupdate_module_twin
Delete 3 · Delete, drop, revoke or wipe things.
delete_devicedelete_modulepurge_c2d_message_queue
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
AZURE_IOT_HUB_CONNECTION_STRING
Other settings (environment variables or headers).
AZURE_IOT_HUB_AMQP_PORTAZURE_IOT_HUB_AMQP_USE_TLS
Tools (25)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
cancel_scheduled_jobCancel a scheduled job. Wraps POST /jobs/v2/{id}/cancel.
create_deviceRegister a new device identity. Wraps PUT /devices/{id}.
create_moduleRegister a new module identity on a device. Wraps PUT /devices/{deviceId}/modules/{moduleId}.
create_scheduled_jobCreate a scheduled job to update twins or invoke a method across many devices. Wraps PUT /jobs/v2/{id}.
delete_deviceDelete a device identity. Wraps DELETE /devices/{id}. Irreversible.
delete_moduleDelete a module identity. Wraps DELETE /devices/{deviceId}/modules/{moduleId}. Irreversible.
get_deviceFetch a device's identity (auth mechanism, status, connection state). Wraps GET /devices/{id}.
get_device_statisticsGet identity-registry statistics (total/enabled/disabled device counts). Wraps GET /statistics/devices.
get_device_twinFetch a device's twin (tags, desired/reported properties). Wraps GET /twins/{id}.
get_moduleFetch a module identity. Wraps GET /devices/{deviceId}/modules/{moduleId}.
get_module_twinFetch a module's twin. Wraps GET /twins/{deviceId}/modules/{moduleId}.
get_scheduled_jobFetch a scheduled job's status and results. Wraps GET /jobs/v2/{id}.
get_service_statisticsGet service statistics (e.g. connected device count). Wraps GET /statistics/service.
invoke_device_methodInvoke a direct method on a device. Wraps POST /twins/{deviceId}/methods.
invoke_module_methodInvoke a direct method on a module. Wraps POST /twins/{deviceId}/modules/{moduleId}/methods.
Show 10 more tools
list_devicesList devices in the identity registry. For filtering, prefer query_devices instead. Wraps GET /devices.
list_modulesList module identities on a device. Wraps GET /devices/{deviceId}/modules.
purge_c2d_message_queueDelete all pending cloud-to-device messages queued for a device. Wraps DELETE /devices/{deviceId}/commands.
query_devicesQuery devices/twins using IoT Hub's query language. Wraps POST /devices/query. Returns: {"items": [...], "count": int, "continuation_token": str | None}
query_scheduled_jobsList scheduled jobs, optionally filtered. Wraps GET /jobs/v2/query.
replace_device_twinReplace (not merge) a device twin's tags and desired properties. Wraps PUT /twins/{id}.
send_c2d_messageSend a cloud-to-device message. Wraps the AMQP C2D send (there is no REST equivalent for sending -- only the REST API's feedback/receipt operations are REST; the send itself is AMQP-only in the Azure IoT Hub service API). Not covered by this repo's automated real-instance testing: only a local fake AMQP endpoint (CBS handshake + message receipt) is exercised in CI, not genuine Azure IoT Hub business logic. Verify against a real hub before relying on this in production.
update_deviceUpdate a device's status. Wraps PUT /devices/{id} (full device fetched first, then patched fields applied).
update_device_twinMerge-update a device twin's tags and/or desired properties. Wraps PATCH /twins/{id}.
update_module_twinMerge-update a module twin's tags and/or desired properties. Wraps PATCH /twins/{deviceId}/modules/{moduleId}.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 37
- Last commit (this folder)
- Oct 12, 2026 (16 days ago)
- Last release
- Jul 24, 2026 (3 months ago)
- Last package publish
- Jul 24, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.nagarjunr/azure-iot-hub- Version
- 0.1.0
- Auth
- API key
- Packages
- pypi azure-iot-hub-mcp-server
- License
- MIT
- Repository
- github.com/nagarjunr/iot-mcp-servers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from nagarjunr
- 0.570score
AWS IoT Core
nagarjunr
MCP server for AWS IoT Core: device registry, shadows, jobs, rules, messaging.
ConnectorAFreshness: ALocal↓ 29/wkClaude Code +5 - 0.525score
Sparkplug B
nagarjunr
MCP server for Sparkplug B: node/device discovery, metrics, commands, host state over MQTT.
ConnectorBFreshness: BLocal↓ 24/wkClaude Code +5 - 0.482score
Eclipse Ditto
nagarjunr
MCP server for the Eclipse Ditto digital twin HTTP API (things, policies, connections, more).
ConnectorCFreshness: CLocal↓ 33/wkClaude Code +5 - 0.475score
MQTT
nagarjunr
MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).
ConnectorCFreshness: CLocal↓ 24/wkClaude Code +5
Cite this page
Azure IoT Hub MCP server. Agent Mart. https://agentmart.dev/connectors/nagarjunr-azure-iot-hub (last updated 2026-10-24)