Skip to content
Agentmart
Submit a tool

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

IndexedMITLocal (stdio)
Write a review

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.

We use your email only for this newsletter. Privacy

About

MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.

No 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_device
  • get_device_statistics
  • get_device_twin
  • get_module
  • get_module_twin
  • get_scheduled_job
  • get_service_statistics
  • list_devices
  • list_modules
  • query_devices
  • query_scheduled_jobs

Write 11 · Create, change, send or run things.

  • cancel_scheduled_job
  • create_device
  • create_module
  • create_scheduled_job
  • invoke_device_method
  • invoke_module_method
  • replace_device_twin
  • send_c2d_message
  • update_device
  • update_device_twin
  • update_module_twin

Delete 3 · Delete, drop, revoke or wipe things.

  • delete_device
  • delete_module
  • purge_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_PORT
  • AZURE_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_job

    Cancel a scheduled job. Wraps POST /jobs/v2/{id}/cancel.

  • create_device

    Register a new device identity. Wraps PUT /devices/{id}.

  • create_module

    Register a new module identity on a device. Wraps PUT /devices/{deviceId}/modules/{moduleId}.

  • create_scheduled_job

    Create a scheduled job to update twins or invoke a method across many devices. Wraps PUT /jobs/v2/{id}.

  • delete_device

    Delete a device identity. Wraps DELETE /devices/{id}. Irreversible.

  • delete_module

    Delete a module identity. Wraps DELETE /devices/{deviceId}/modules/{moduleId}. Irreversible.

  • get_device

    Fetch a device's identity (auth mechanism, status, connection state). Wraps GET /devices/{id}.

  • get_device_statistics

    Get identity-registry statistics (total/enabled/disabled device counts). Wraps GET /statistics/devices.

  • get_device_twin

    Fetch a device's twin (tags, desired/reported properties). Wraps GET /twins/{id}.

  • get_module

    Fetch a module identity. Wraps GET /devices/{deviceId}/modules/{moduleId}.

  • get_module_twin

    Fetch a module's twin. Wraps GET /twins/{deviceId}/modules/{moduleId}.

  • get_scheduled_job

    Fetch a scheduled job's status and results. Wraps GET /jobs/v2/{id}.

  • get_service_statistics

    Get service statistics (e.g. connected device count). Wraps GET /statistics/service.

  • invoke_device_method

    Invoke a direct method on a device. Wraps POST /twins/{deviceId}/methods.

  • invoke_module_method

    Invoke a direct method on a module. Wraps POST /twins/{deviceId}/modules/{moduleId}/methods.

Show 10 more tools
  • list_devices

    List devices in the identity registry. For filtering, prefer query_devices instead. Wraps GET /devices.

  • list_modules

    List module identities on a device. Wraps GET /devices/{deviceId}/modules.

  • purge_c2d_message_queue

    Delete all pending cloud-to-device messages queued for a device. Wraps DELETE /devices/{deviceId}/commands.

  • query_devices

    Query devices/twins using IoT Hub's query language. Wraps POST /devices/query. Returns: {"items": [...], "count": int, "continuation_token": str | None}

  • query_scheduled_jobs

    List scheduled jobs, optionally filtered. Wraps GET /jobs/v2/query.

  • replace_device_twin

    Replace (not merge) a device twin's tags and desired properties. Wraps PUT /twins/{id}.

  • send_c2d_message

    Send 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_device

    Update a device's status. Wraps PUT /devices/{id} (full device fetched first, then patched fields applied).

  • update_device_twin

    Merge-update a device twin's tags and/or desired properties. Wraps PATCH /twins/{id}.

  • update_module_twin

    Merge-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
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nagarjunr

Cite this page

Azure IoT Hub MCP server. Agent Mart. https://agentmart.dev/connectors/nagarjunr-azure-iot-hub (last updated 2026-10-24)