Azure IoT Hub for VS Code
io.github.nagarjunr/azure-iot-hub
MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.
client:VS Code
transport:stdio
runtime:pypi
Install Azure IoT Hub in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "azure-iot-hub-connection-string",
"description": "AZURE_IOT_HUB_CONNECTION_STRING",
"password": true
},
{
"type": "promptString",
"id": "azure-iot-hub-amqp-port",
"description": "AZURE_IOT_HUB_AMQP_PORT",
"password": true
},
{
"type": "promptString",
"id": "azure-iot-hub-amqp-use-tls",
"description": "AZURE_IOT_HUB_AMQP_USE_TLS",
"password": true
}
],
"servers": {
"azure-iot-hub": {
"type": "stdio",
"command": "uvx",
"args": [
"azure-iot-hub-mcp-server"
],
"env": {
"AZURE_IOT_HUB_CONNECTION_STRING": "${input:azure-iot-hub-connection-string}",
"AZURE_IOT_HUB_AMQP_PORT": "${input:azure-iot-hub-amqp-port}",
"AZURE_IOT_HUB_AMQP_USE_TLS": "${input:azure-iot-hub-amqp-use-tls}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs