Back to Home
ezhuk icon

mqtt-mcp

Verified Safe

by ezhuk

Overview

Connects LLM agents to MQTT devices for real-time monitoring and control in smart home, building automation, and industrial control systems.

Installation

Run Command
docker run -dit --name mqtt-mcp -p 8080:8000 --env-file .env ghcr.io/ezhuk/mqtt-mcp:latest

Environment Variables

  • MQTT_MCP_AUTH__DOMAIN
  • MQTT_MCP_AUTH__URL
  • MQTT_MCP_MQTT__HOST
  • MQTT_MCP_MQTT__PORT
  • MQTT_MCP_MQTT__USERNAME
  • MQTT_MCP_MQTT__PASSWORD
  • OPENAI_API_KEY

Security Notes

The server uses pydantic-settings for configuration, allowing sensitive data like MQTT credentials and AuthKit details to be externalized via environment variables or .env files, which is a good security practice. There are no obvious hardcoded secrets or malicious patterns in the provided source code. The MQTT client handles connections, subscriptions, and publishing with basic error handling. The overall security depends heavily on the configuration of the underlying MQTT broker and proper ACLs.

Similar Servers

Stats

Interest Score37
Security Score9
Cost ClassMedium
Avg Tokens350
Stars9
Forks5
Last Update2026-01-17

Tags

MQTTIoTLLM IntegrationAgent FrameworkModel Context Protocol