Azure IoT Hub MCP Server

Azure IoT Hub MCP Server

By tlaukkanen GitHub

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

Overview

what is azure-iothub-mcp-server?

The azure-iothub-mcp-server is a monitoring server designed for Azure IoT Hub, primarily focused on read-only monitoring functionalities. It utilizes Azure CLI for authentication, making it easy to integrate with existing Azure services.

how to use azure-iothub-mcp-server?

To use the azure-iothub-mcp-server, clone the repository from GitHub, set up your Azure IoT Hub, and authenticate using Azure CLI. Once set up, you can monitor your IoT devices in a read-only mode.

key features of azure-iothub-mcp-server?

  • Read-only monitoring of Azure IoT Hub data
  • Utilizes Azure CLI for secure authentication
  • Easy integration with existing Azure services

use cases of azure-iothub-mcp-server?

  1. Monitoring device telemetry data in real-time.
  2. Tracking device status and health without making changes to the device configurations.
  3. Generating reports based on the monitored data for analysis.

FAQ from azure-iothub-mcp-server?

  • Can I modify device settings using this server?

No, the azure-iothub-mcp-server is designed for read-only access, so it cannot modify device settings.

  • Is there any cost associated with using this server?

The server itself is free to use, but you may incur costs based on your Azure IoT Hub usage.

  • What programming language is used in this project?

The project is developed in TypeScript.

Content

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.

Prerequisites

  • 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)

Azure Identity Authentication

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

  }
}
No tools information available.
No content found.