mqtt_spec_outline
MQTT spec outline
Section ids and titles of one MQTT version, for browsing.
parentversion必填
io.github.cartertinney由 GitHub 账号 cartertinney 发布v0.1.0更新于 Oct 29, 2026
Offline MCP server for navigating the OASIS MQTT 3.1.1 and 5.0 specifications
离线 MCP 服务器,让助手检索、阅读并引用 OASIS MQTT 3.1.1 与 5.0 规范。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
An offline Model Context Protocol server for searching and citing the OASIS MQTT 3.1.1 and MQTT 5.0 specifications. Agents get focused source excerpts instead of loading a whole specification.
The server retrieves evidence; the agent does the reasoning. OASIS publications remain authoritative, and retrieved excerpts are not a guarantee of a correct answer.
Your MCP client starts the server on your machine and talks to it over stdio.
There is no separate install step: configure the client to run
uvx mqtt-spec-mcp, and uv downloads the package
from PyPI the first time, caches it, and starts it. uv also fetches a compatible
Python (3.10 or newer) if you don't have one. Each time the client starts the
server, uv checks PyPI for a newer release, so updates arrive automatically.
The server is also listed in the MCP Registry
as io.github.cartertinney/mqtt-spec-mcp, for clients that install from it.
Each of these adds the server for all your projects with one command:
Add the server to your user profile from a terminal:
Or run MCP: Add Server from the Command Palette, or add it to one project's
.vscode/mcp.json:
Most other clients read the same mcpServers entry:
claude_desktop_config.json. Quit and reopen Claude after saving.~/.cursor/mcp.json for all projects, or .cursor/mcp.json in
one project.context_servers in its settings file.ChatGPT connects only to remote MCP servers over HTTPS, so it can't start this
local server; use the Codex CLI or IDE extension instead (above). In an agent
built with the OpenAI Agents SDK,
connect with MCPServerStdio(params={"command": "uvx", "args": ["mqtt-spec-mcp"]}).
Install the package with pipx install mqtt-spec-mcp, or with
pip install mqtt-spec-mcp in a Python 3.10+ environment. Then configure your
client to run the command mqtt-spec-mcp, with no arguments, instead of
uvx mqtt-spec-mcp.
uvx. Desktop apps often don't see your shell's
PATH. Use the absolute path printed by which uvx (macOS and Linux) or
where uvx (Windows).uvx --from mqtt-spec-mcp python -c pass.[email protected]
in place of mqtt-spec-mcp in the client's arguments.uvx
needs to reach PyPI unless uv checked within the last 10 minutes. To run
without network access, install it once with uv tool install mqtt-spec-mcp
and configure the client to run mqtt-spec-mcp. uvx mqtt-spec-mcp then runs
the installed copy as well, and updates come only from
uv tool upgrade mqtt-spec-mcp.Every call requires version: exactly "3.1.1" or "5.0".
Example tool arguments:
Use that with mqtt_spec_search. For an exact lookup with mqtt_spec_lookup:
The latter returns Failure. The same value in MQTT 5.0 is Unspecified error: version-specific labels and codes must not be carried between versions.
;.See the tool reference for all parameters, pagination, result formats, and errors.
Indexes are generated from pinned source documents and validated at startup. They are transformed retrieval aids, not official publications. MQTT 3.1 (pre-OASIS) is not supported, and this is not a broker or a conformance validator.
Limitations and roadmap describe known retrieval gaps. Benchmarks covers the offline regression checks and reports from historical agent evaluations. Those evaluations used a private harness, corpus, and raw runs, so they cannot be reproduced from this repository.
See development and release checks for running from a checkout, testing, rebuilding indexes, and releasing. Benchmark checks are checkout-only and are not shipped with the server.
The code is MIT licensed. Specification text in the indexes and returned excerpts is copyright OASIS Open, not MIT licensed. NOTICE contains the source attribution, transformation details, and OASIS notices.
来源:README.md,提交 47965f8
MQTT spec outline
Section ids and titles of one MQTT version, for browsing.
parentversion必填MQTT spec search
Evidence from one MQTT version: excerpts of the sections that best match the question.
query必填version必填MQTT spec get section
One section of one MQTT version as Markdown pages; continue a page with its Next cursor.
cursorsection必填version必填MQTT spec lookup
Exact entry for one packet, property or reason_code (5.0), return_code (3.1.1), requirement label or glossary term.
kind必填query必填packetversion必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
claude mcp add --scope user mqtt-spec -- uvx mqtt-spec-mcp # Claude Codecodex mcp add mqtt-spec -- uvx mqtt-spec-mcp # OpenAI Codex CLI and IDE extensioncopilot mcp add mqtt-spec -- uvx mqtt-spec-mcp # GitHub Copilot CLIgemini mcp add --scope user mqtt-spec uvx mqtt-spec-mcp # Gemini CLIcode --add-mcp '{"name":"mqtt-spec","type":"stdio","command":"uvx","args":["mqtt-spec-mcp"]}'{ "servers": { "mqtt-spec": { "type": "stdio", "command": "uvx", "args": ["mqtt-spec-mcp"] } }}{ "mcpServers": { "mqtt-spec": { "command": "uvx", "args": ["mqtt-spec-mcp"] } }}{"version": "5.0", "query": "Receive Maximum default; QoS 0 Receive Maximum"}{"version": "3.1.1", "kind": "return_code", "query": "0x80", "packet": "SUBACK"}