iotHubClient MCP Server
Use this API to manage the IoT hubs in your Azure subscription.
Quick Answer
- 1. The iotHubClient MCP server lets Claude, Cursor, and VS Code interact with the iotHubClient API through natural language.
- 2. Setup: Add the config to
claude_desktop_config.json, set your environment variables, and restart. - 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. Quality score: 34/99 — fair 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_KEYExample: 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"
}
}
}
}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.
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
/subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubsGet all the IoT hubs in a subscription.
/subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailabilityCheck if an IoT hub name is available.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubsGet all the IoT hubs in a resource group.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}Get the non-security related metadata of an IoT hub.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}Create or update the metadata of an IoT hub.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}Delete an IoT hub.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeysGet 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.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStatsGet the statistics from an IoT hub.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroupsGet a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.
/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
- +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 →Similar APIs
Other APIs in the Cloud Infrastructure category.
Supabase API
Manage Supabase projects, databases, authentication, and storage through your AI agent.
API KeyCloudflare API
Manage Cloudflare DNS, CDN, Workers, and security settings through your AI agent.
API KeyVercel API
Deploy projects, manage domains, and monitor deployments through your AI agent.
Bearer TokenDigitalOcean API
# Introduction The DigitalOcean API allows you to manage Droplets and resources within the DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests. All of the functionality that you are familiar with in the DigitalOcean control panel is also available through the API, all