Azure IoT Hub MCP Server

MCP Server for Azure IoT Hub mainly for read-only monitoring purposes. Uses Azure CLI for authentication and uses Azure CLI azure-iot extension for reading device details.

Local serverstdioMIT

What is the Azure IoT Hub MCP Server?

Azure IoT Hub MCP Server is an MCP project maintained in the tlaukkanen/azure-iothub-mcp-server repository. The maintainer describes its purpose as “MCP Server for Azure IoT Hub mainly for read-only monitoring purposes. Uses Azure CLI for authentication and uses Azure CLI azure-iot extension for reading device…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @tlaukkanen/azure-iothub-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares AZURE_SUBSCRIPTION_ID, AZURE_IOTHUB_NAME. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Azure IoT Hub MCP Server

{
  "mcpServers": {
    "azureIoTHub": {
      "command": "npx",
      "args": [
        "-y",
        "@tlaukkanen/azure-iothub-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "Azure Subscription ID where you have your IoT Hub",
        "AZURE_IOTHUB_NAME": "Your Azure IoT Hub name"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
AZURE_SUBSCRIPTION_IDDeclared in the maintainer’s client configuration.Check documentation
AZURE_IOTHUB_NAMEDeclared in the maintainer’s client configuration.Check documentation