Skip to content
Grok

Azure IoT Hub for Grok

io.github.nagarjunr/azure-iot-hub

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

client:Grok transport:stdio runtime:pypi

Install Azure IoT Hub in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "azure-iot-hub": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "azure-iot-hub-mcp-server"
      ],
      "env": {
        "AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>",
        "AZURE_IOT_HUB_AMQP_PORT": "<AZURE_IOT_HUB_AMQP_PORT>",
        "AZURE_IOT_HUB_AMQP_USE_TLS": "<AZURE_IOT_HUB_AMQP_USE_TLS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Azure IoT Hub in other clients