Skip to content
MCP-BridgeMCP-Bridge
Cloud InfrastructureAuto-generatedScore: 34

iotHubClient MCP Server

Use this API to manage the IoT hubs in your Azure subscription.

Quick Answer

  1. 1. The iotHubClient MCP server lets Claude, Cursor, and VS Code interact with the iotHubClient API through natural language.
  2. 2. Setup: Add the config to claude_desktop_config.json, set your environment variables, and restart.
  3. 3. 10 operations available including Get all the IoT hubs in a subscription., Check if an IoT hub name is available., Get all the IoT hubs in a resource group., and more.
  4. 4. Quality score: 34/99fair source quality and documentation coverage.

Overview

Category: Cloud Infrastructure

Auth: None

Endpoints: 10

Transport: STDIO

Command: npx -y @mcp/azure-com-iothub

Spec: v2016-02-03

Setup time: ~30 sec (no auth)

Environment Variables

IOTHUBCLIENT_API_KEY

Example: your_iothubclient_api_key

One-Click Install

Copy the snippet for your MCP client and paste it in — zero editing required.

Claude Desktop

Add to claude_desktop_config.json

{
  "mcpServers": {
    "azure-com-iothub": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp/azure-com-iothub"
      ],
      "env": {
        "IOTHUBCLIENT_API_KEY": "your_iothubclient_api_key"
      }
    }
  }
}
Deep link

Cursor

Settings → MCP Servers → Add

{
  "mcpServers": {
    "azure-com-iothub": {
      "url": "https://mcpbridge.org/config/azure-com-iothub.json"
    }
  }
}

Saves as .cursor/mcp.json in the download. Move it to your project root.

Deep link install →

VS Code

Use with MCP extension

{
  "mcpServers": {
    "azure-com-iothub": {
      "url": "https://mcpbridge.org/config/azure-com-iothub.json"
    }
  }
}

MCP Server Configuration

Add this to your claude_desktop_config.json or Cursor MCP settings.

{
  "mcpServers": {
    "azure-com-iothub": {
      "command": "npx",
      "args": ["-y","@mcp/azure-com-iothub"],
      "env": {
      "IOTHUBCLIENT_API_KEY": "your_iothubclient_api_key"
}
    }
  }
}

What You Can Build

With the iotHubClient MCP server, your AI assistant can:

  • Access 10 API operations through natural language
  • Read, create, and modify cloud infrastructure resources without writing HTTP requests
  • Chain multiple operations in a single conversation for complex workflows
  • Combine with other MCP servers for cross-tool automation

Endpoints

GET/subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs

Get all the IoT hubs in a subscription.

POST/subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability

Check if an IoT hub name is available.

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs

Get all the IoT hubs in a resource group.

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}

Get the non-security related metadata of an IoT hub.

PUT/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}

Create or update the metadata of an IoT hub.

DELETE/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}

Delete an IoT hub.

POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys

Get a shared access policy by name from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStats

Get the statistics from an IoT hub.

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups

Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}

Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.

Authentication

No authentication required. This MCP server can be used without API keys.

Spec Version

Version: 2016-02-03

Spec version published with the OpenAPI document. Config auto-updates when the spec changes.

Page last updated: June 13, 2026

Quality Score

34/99Fair
  • +Auto-generated (+12)
  • +OpenAPI spec available (+8)
  • +10 endpoints (+14)

Own this API?

Claim your listing to update description, links, and category — and get a verified badge.

Claim this listing →