MCP.so
登录

Azure IoT Hub MCP Server

@tlaukkanen

关于 Azure IoT Hub MCP Server

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

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Azure IoT Hub MCP Server?

Azure IoT Hub MCP Server is a read‑only monitoring tool for Azure IoT Hub. It uses the Azure CLI and the azure-iot extension to authenticate and fetch device details, providing a simple MCP (Model Context Protocol) interface for querying IoT Hub information.

How to use Azure IoT Hub MCP Server?

Install and run the server via npx with the package @tlaukkanen/azure-iothub-mcp-server. Configure it in your mcpServers block with two environment variables: AZURE_SUBSCRIPTION_ID (your Azure subscription ID) and AZURE_IOTHUB_NAME (your IoT Hub name). Ensure Azure CLI is installed, authenticated with az login, and the azure-iot extension is added (az extension add -n azure-iot).

Key features of Azure IoT Hub MCP Server

  • 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

Use cases of Azure IoT Hub MCP Server

  • Monitoring device status and properties without write permissions
  • Retrieving device twin and connection state information
  • Integrating IoT Hub device data into AI‑assisted workflows via MCP

FAQ from Azure IoT Hub MCP Server

What does this server do?

It provides read‑only monitoring of Azure IoT Hub devices by exposing device details through the MCP protocol. It cannot modify devices or hub settings.

What are the prerequisites?

Azure CLI must be installed, authenticated to the subscription containing your IoT Hub, and the azure-iot extension must be added (az extension add -n azure-iot).

How do I authenticate?

Authentication is handled by Azure CLI. Run az login before starting the server. The server uses the CLI credentials automatically—no separate keys or tokens are needed.

How do I run the server?

Run npx -y @tlaukkanen/azure-iothub-mcp-server with the environment variables AZURE_SUBSCRIPTION_ID and AZURE_IOTHUB_NAME set to your Azure subscription ID and IoT Hub name respectively.

Is there any write capability?

No. The server is explicitly designed for read‑only monitoring purposes. It does not support creating, updating, or deleting devices or hub resources.

常见问题

What does this server do?

It provides read‑only monitoring of Azure IoT Hub devices by exposing device details through the MCP protocol. It cannot modify devices or hub settings.

What are the prerequisites?

Azure CLI must be installed, authenticated to the subscription containing your IoT Hub, and the `azure-iot` extension must be added (`az extension add -n azure-iot`).

How do I authenticate?

Authentication is handled by Azure CLI. Run `az login` before starting the server. The server uses the CLI credentials automatically—no separate keys or tokens are needed.

How do I run the server?

Run `npx -y @tlaukkanen/azure-iothub-mcp-server` with the environment variables `AZURE_SUBSCRIPTION_ID` and `AZURE_IOTHUB_NAME` set to your Azure subscription ID and IoT Hub name respectively.

Is there any write capability?

No. The server is explicitly designed for read‑only monitoring purposes. It does not support creating, updating, or deleting devices or hub resources.

评论

云与基础设施 分类下的更多 MCP 服务器