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.
「その他」の他のコンテンツ
ghidraMCP
LaurieWiredMCP Server for Ghidra
🚀 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,
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
コメント