mqtt-mcp
Verified Safeby ezhuk
Overview
Connects LLM agents to MQTT devices for real-time monitoring and control in smart home, building automation, and industrial control systems.
Installation
docker run -dit --name mqtt-mcp -p 8080:8000 --env-file .env ghcr.io/ezhuk/mqtt-mcp:latestEnvironment 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
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
unifi-network-mcp
Programmatic management and automation of UniFi Network Controllers, enabling external systems (like LLMs or custom scripts) to interact with UniFi devices, clients, and network configurations.
mcp-typescript-sdk
The TypeScript SDK facilitates the implementation of Model Context Protocol (MCP) over MQTT for creating AI-integrable servers and clients, enabling LLMs to discover and interact with external services and tools.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.