# Azure IoT Hub

> Azure IoT Hub is an open-source MCP server for cloud and infrastructure. MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/nagarjunr/iot-mcp-servers/tree/HEAD/azure-iot-hub
- **MCP Registry name:** io.github.nagarjunr/azure-iot-hub
- **Categories:** cloud and infrastructure
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add azure-iot-hub --env AZURE_IOT_HUB_CONNECTION_STRING='<AZURE_IOT_HUB_CONNECTION_STRING>' -- uvx azure-iot-hub-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "azure-iot-hub": {
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "azure-iot-hub": {
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "azure-iot-hub": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "azure-iot-hub": {
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "azure-iot-hub": {
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
      }
    }
  }
}
```

## FAQ

### Is Azure IoT Hub free?

Yes. Azure IoT Hub is open source, so you can use and self-host it for free.

### How do I add Azure IoT Hub to Claude Code?

Run this command in your terminal: claude mcp add azure-iot-hub --env AZURE_IOT_HUB_CONNECTION_STRING='<AZURE_IOT_HUB_CONNECTION_STRING>' -- uvx azure-iot-hub-mcp-server

### What are the best alternatives to Azure IoT Hub?

The closest alternatives to Azure IoT Hub are Agent Yurt, Proofline, filex, MagicWP MCP and Kubana Cloud Domains.

## Alternatives

- [Agent Yurt](https://ai-powered.com/mcp/agent-yurt): Agent Yurt is a free MCP server for knowledge and memory.
- [Proofline](https://ai-powered.com/mcp/proofline): Proofline is a freemium MCP server for developer tools.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.
- [MagicWP MCP](https://ai-powered.com/mcp/magicwp-mcp): MagicWP MCP is an MCP server for cloud and infrastructure.
- [Kubana Cloud Domains](https://ai-powered.com/mcp/kubana-cloud-domains): Kubana Cloud Domains is a paid MCP server for cloud and infrastructure.
- [Kubana Cloud DNS Management](https://ai-powered.com/mcp/kubana-cloud-dns-management): Kubana Cloud DNS Management is a free MCP server for cloud and infrastructure.
- [Kubana Cloud VPS](https://ai-powered.com/mcp/kubana-cloud-vps): Kubana Cloud VPS is a paid MCP server for cloud and infrastructure.
- [Kubana Cloud App Platform](https://ai-powered.com/mcp/kubana-cloud-app-platform): Kubana Cloud App Platform is a freemium MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/azure-iot-hub
