Azure IoT Hub runs on your own machine — the client starts it, so there is no endpoint to ping. 104 installs a week from pypi. Last commit 31 Oct 2026.
MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.
Today is the operative word: we check Azure IoT Hub every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add azure-iot-hub -e 'AZURE_IOT_HUB_CONNECTION_STRING=<AZURE_IOT_HUB_CONNECTION_STRING>' -- uvx azure-iot-hub-mcp-server
{
"mcpServers": {
"azure-iot-hub": {
"command": "uvx",
"args": [
"azure-iot-hub-mcp-server"
],
"env": {
"AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
}
}
}
}
[mcp_servers.azure-iot-hub]
command = "uvx"
args = ["azure-iot-hub-mcp-server"]
env = { AZURE_IOT_HUB_CONNECTION_STRING = "<AZURE_IOT_HUB_CONNECTION_STRING>" }
{
"mcpServers": {
"azure-iot-hub": {
"command": "uvx",
"args": [
"azure-iot-hub-mcp-server"
],
"env": {
"AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
}
}
}
}
{
"servers": {
"azure-iot-hub": {
"type": "stdio",
"command": "uvx",
"args": [
"azure-iot-hub-mcp-server"
],
"env": {
"AZURE_IOT_HUB_CONNECTION_STRING": "<AZURE_IOT_HUB_CONNECTION_STRING>"
}
}
}
}
Put your own value in place of
<AZURE_IOT_HUB_CONNECTION_STRING> (IoT Hub connection string with service/iothubowner rights, e.g. HostName=my-hub.azure-devices.net;SharedAccessKeyName=service;SharedAccessKey=).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
AZURE_IOT_HUB_AMQP_PORT (AMQP port for send_c2d_message, default 5671), AZURE_IOT_HUB_AMQP_USE_TLS (true/false, default true).
MCP server for AWS IoT Core: device registry, shadows, jobs, rules, messaging.
MCP server for Azure Service Bus. Peek, search and replay dead-letter messages from any MCP client.
MCP server for Azure API integration
MCP server for managing Docker containers, images, networks, volumes, and registries
MCP server for Azure Logic Apps - debug workflows, manage runs, and authoring
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Discover and explore Azure Verified Modules from the Bicep Public Registry
MCP server for on-premises Azure DevOps Server and TFS: repos, pull requests, work items, and wiki.
Answers built from our own checks of this server.