Azure IoT Hub MCP Server

by tlaukkanen

238 downloads Not rated yet MIT
GitHub

About

MCP Server for Azure IoT Hub mainly for read-only monitoring purposes. Uses Azure CLI for authentication.

Details

License
MIT

Explore

- Read‑only access to Azure IoT Hub device data
- Uses Azure CLI for secure authentication
- Lightweight, runs via npx with no separate installation
- Relies on standard Azure CLI azure-iot extension

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Azure IoT Hub MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Azure CLI installed
Azure CLI authenticated to subscription where your IoT Hub is located

  • Azure CLI azure-iot extension installed (az extension add -n azure-iot)


Be sure you are logged in to Azure CLI with az login then add the following to your mcpServers:

{
  "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"
}
}

}
}

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "azure iot hub mcp server": {
            "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"
                }
            }
        }
    }
}

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"
        }
    }
}

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.