Mqtt Mcp
@ezhuk
关于 Mqtt Mcp
A Model Context Protocol (MCP) server for MQTT.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mqtt-mcp": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mqtt Mcp?
Mqtt Mcp is a lightweight Model Context Protocol server that connects LLM agents to MQTT devices, enabling seamless integration of AI-driven workflows with Building Automation (BAS), Industrial Control (ICS), and Smart Home systems. It allows agents to monitor real-time sensor data, actuate devices, and orchestrate complex automation tasks.
How to use Mqtt Mcp?
Install uv, clone the repository, run uv sync to install dependencies, then start the server with uv run mqtt-mcp. The server defaults to the Streamable HTTP transport on port 8000. For Bearer Token authentication, provide an RSA public key in PEM format in the .env file.
Key features of Mqtt Mcp
- Maps MQTT topics to MCP resources and tools
- Supports receiving and publishing MQTT messages
- Bearer token authentication via RSA public key
- Interactive prompts for guiding LLM interactions
- Docker deployment support
- Example integrations with OpenAI Agents SDK and OpenAI Python library
Use cases of Mqtt Mcp
- Monitor real-time sensor data from MQTT-enabled devices
- Actuate devices (e.g., lights, valves) via publish operations
- Orchestrate automation tasks across BAS, ICS, or smart home systems
- Integrate with OpenAI agents to add MQTT capabilities
FAQ from Mqtt Mcp
What transport does Mqtt Mcp use by default?
It uses the Streamable HTTP transport on port 8000.
How do I authenticate with Mqtt Mcp?
Enable Bearer Token authentication by providing an RSA public key in PEM format in the .env file.
What are the runtime dependencies?
Python with FastMCP 2.0 and uv for project and dependency management.
Can Mqtt Mcp be deployed as a Docker container?
Yes. Build the image with docker build -t mqtt-mcp . and run it, mapping port 8080 to the server’s port 8000.
Does Mqtt Mcp support both sending and receiving messages?
Yes. Receiving is exposed as both a resource and a tool; publishing is exposed as a tool. Both accept configurable host, port, and topic parameters.
其他 分类下的更多 MCP 服务器
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

EverArt
modelcontextprotocolModel Context Protocol Servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论