原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Serial MCP

作者:qarnet版本 0.9.3i★ –i在你的电脑上运行
注册名称io.github.qarnet/serial-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for serial port communication. 25 tools, resources, prompts, and stdio/HTTP transports.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 qarnet 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5680 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5680 个服务器的 31% 更新
  • 基础检查结果等于或优于此分类中其他 5680 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Serial MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.9.3)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT前天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

serial-mcp for UART and USB serial access

serial-mcp is an MCP server for direct access to serial ports. It reads, writes, and streams UART or USB-serial data to microcontrollers, Arduino boards, STM32 chips, and other embedded targets. Reads use timeouts and pattern matching instead of blocking on a serial monitor.

The server provides always-on RX capture. It decodes TX and RX frames using line, delimiter, length-prefixed, start/end, SLIP, and COBS formats. It provides AT, JSON, shell, NMEA-0183, and Modbus ASCII parsers.

Protocol presets provide checksum validation. The server also supports auto-reconnect, event logging, DTR/RTS, BREAK, and flow control. MCP clients can use these features with serial bootloaders, resets, and embedded boards.

Quick start

  1. Install the server. See Install for Cargo, Nix, and prebuilt binary options.
  2. Connect an agent. Follow the agent configuration guide, or use the example below.
  3. Discover devices. Call list_ports() and inspect profile_matches. The result shows what a bare open would reuse.
  4. Open a port. Call open(port=...) with only the port. Baud defaults to 115200/8-N-1. The server reuses the most recently used high-confidence profile for a known device. It creates a durable generated profile for a new device.
  5. Talk to the device. Use transact() for command and response exchanges. Use read() for buffered or unsolicited data. Use write() for send-only operations.

Capabilities

AreaWhat it provides
RX modelAn always-on ring buffer captures bytes from open to close. read returns buffered bytes immediately. It can also wait, match, and replay history.
Framing and parsingBoth directions support line, delimiter, length-prefixed, start/end, SLIP, and COBS framing. Parsers include AT, JSON, shell, NMEA-0183, and Modbus ASCII.
Protocol presetsSeven presets are available. They are at_command, slip, json_lines, cobs, ndjson, nmea0183, and modbus_ascii. Checksum validation is included.
Device profilesThe server creates automatic profile sessions. High-confidence devices get durable generated profiles. Learned settings persist across sessions.
Boot capturecapture_boot handles Arduino auto-reset, power-cycle banners, and boot prompts in one atomic call.
ReliabilityRing wrap is reported through bytes_lost. Encoding fallback is lossless. The server also supports auto-reconnect and reports partial failures.
OperationsEvent logging supports persistent JSONL capture through export_log. The server also provides port allowlisting and stdio and HTTP transports.

Tool catalog (25 tools)

GroupTools
Discoverylist_ports, list_connections
Connection lifecycleopen, close, reconnect, get_status, reconfigure
I/Oread, write, transact, capture_boot, flush
Line controlset_dtr_rts, set_flow_control, send_break
Profiles & configlist_profiles, open_profile, save_profile, delete_profile, configure, rollback_profile
Logs & captureget_log, clear_log, export_log
Utilitycompute_checksum

Resources and prompts

KindItems
Resources (5)serial://ports, serial://connections (static); serial://connections/{id}, serial://connections/{id}/raw, serial://connections/{id}/log (templates)
Prompts (2)diagnose_port, interactive_terminal

Install

Cargo (all platforms)
cargo install serial-mcp
Nix
nix profile install github:qarnet/serial-mcp
Prebuilt binary

No toolchain is required. Each release publishes one binary per platform. The latest/download URLs resolve to the newest release.

PlatformCommand
Linux x86_64curl -L https://github.com/qarnet/serial-mcp/releases/latest/download/serial-mcp-x86_64-linux -o serial-mcp && sudo install -m 755 serial-mcp /usr/local/bin/
Linux ARM64Same command with the serial-mcp-aarch64-linux asset
macOS (Apple Silicon)Same command with the serial-mcp-aarch64-macos asset
Windows (x86_64)Download serial-mcp-x86_64-windows.exe and place it on your PATH

On Linux, add your user to the dialout group for port access:

sudo usermod -aG dialout $USER

Connect an agent

For client-specific setup, see the agent configuration guide. It covers Claude Code CLI, Claude Desktop, Cursor, VS Code, Zed, opencode, Codex, Hermes, and HTTP transport.

Quick example (Claude Code, Linux/macOS)

{

"mcpServers": { "serial": { "type": "stdio", "command": "serial-mcp", "args": ["--allowlist=/dev/ttyACM*,/dev/ttyUSB*"] } } }

Core workflow

Use this sequence for common work: discover, open, talk, verify the learned profile, then use advanced tools when needed.

  1. Call list_ports(). Its profile_matches entries correspond to ports.
  • selected means a bare open reuses selected_profile.
  • ambiguous means equal-ranked profiles require open_profile.
  • duplicate, ineligible, and none mean a bare open starts fresh or transient.
  1. Call bare open(port=...). The result includes the profile binding. The binding reports its name, source, confidence, persistence, generated flag, revision, and dirty state.
  2. Use transact(data=..., match=..., timeout_ms=...) to write and await a response in one call. Use read() for buffered or unsolicited data.
  3. After reconfigure, set_flow_control, or connection-mode configure, inspect profile_persistence. It reports persisted, not_needed, transient, or failed. Also inspect the updated profile binding.
  4. Call close(). A clean close retries a dirty binding as a safety measure.

For boot and reset capture, call capture_boot. It handles Arduino auto-reset, power-cycle banners, and boot prompts.

The call purges unread OS input. It marks the RX live edge. It can pulse DTR/RTS, with guaranteed release. It captures only post-mark bytes on a private cursor. The result is bounded in memory and does not write a file. See RX and reading for the from cursor model. See Device profiles for profile behavior.

Protocols

The protocol field supplies framing and parser defaults for both directions. NMEA and Modbus ASCII presets validate checksums:

PresetWire nameFraming / parser
AT commandsat_commandLine (CR) + AT parser
SLIPslipRFC 1055 byte stuffing
JSON linesjson_linesLine + JSON-lines parser
COBScobsConsistent Overhead Byte Stuffing
NDJSONndjsonLine + JSON-lines parser, skips blank lines
NMEA-0183nmea0183Start/end $/! + NMEA parser, *XX checksum
Modbus ASCIImodbus_asciiStart/end : + Modbus ASCII parser, LRC

Field precedence is explicit call field, call-time preset, connection default, then connection preset. The Protocol guide documents this order, checksum behavior, and the framing and parser reference.

Key concepts and guides

GuideWhat it covers
RX and readingRing buffer and shared cursor. Tagged from forms. Timeouts, silence, and matching. Ring wrap and bytes_lost. Encoding fallback, flow control, capture_boot, and subscriptions.
Device profilesprofile_matches outcomes and identity rules. Generated and reused selection. Learning, revision CAS, rollback, and deletion guards.
Persistent captureThe export_log contract. Quotas, portable filenames, atomicity, and failure semantics.
Agent configurationClient setup. HTTP transport. Troubleshooting.
Protocol guideFraming and parsers. Presets and precedence. Checksum behavior.
Documentation indexUser and development guides

Transports and options

ModeHow to activateUse case
stdiodefaultDesktop agents
HTTP--transport=httpRemote and headless use

CLI options

serial-mcp [OPTIONS]

--transport Transport to use (default: stdio) --allowlist Comma-separated glob patterns for allowed ports --bind HTTP bind address (default: 127.0.0.1:8000) --max-program-buffered-bytes Global budget for all in-flight RX tools --max-tool-buffered-bytes Per-tool ceiling for max_buffered_bytes --profiles-path Profile store file path (default: OS user config dir + serial-mcp/profiles.toml) --capture-dir Enable persistent export_log capture into an existing absolute directory (disabled by default; no fallback to cwd/config/temp) --capture-max-file-bytes Per-file quota for a capture JSONL snapshot (default: 16777216 / 16 MiB) --capture-max-total-bytes Total-byte quota across committed capture files (default: 268435456 / 256 MiB) --capture-max-files File-count quota across committed capture files (default: 256) -V, --version Print version and exit (also: serial-mcp version) -h, --help Print help

RUST_LOG Log level env var (error/warn/info/debug/trace)

The profile store is one TOML file shared by every session. Use --profiles-path for an isolated store. See Device profiles.

Persistent capture

export_log writes portable .jsonl filenames into the --capture-dir root. It never accepts arbitrary paths and never overwrites files. See Persistent capture.

MCP compatibility

serial-mcp supports MCP 2025-11-25. This version uses the legacy session lifecycle.

It also supports MCP 2026-07-28. This version uses modern discovery and stateless requests with SEP-2549 cache fields. Both stdio and HTTP transports support the port allowlist.

CI runs official conformance checks and Inspector interoperability checks. The validation tools come from the committed npm lockfile. CI installs them with npm ci --ignore-scripts. It runs them as local binaries, never through npx.

An actual historical rmcp 1.7.0 client tests backward compatibility over HTTP and stdio. Run the complete local and CI version gate with:

bash scripts/test-mcp-compat.sh

Development

Before pushing or opening a pull request, run cargo fmt --all. CI runs cargo fmt --all -- --check once in standalone Ubuntu format job first. Formatting failures block dependent expensive Nix, build/test/Clippy, and MCP conformance jobs.

cargo test --locked

cargo clippy --all-targets --locked -- -D warnings cargo fmt --all -- --check

Linux-only required Rust PTY fixture suites

cargo test --locked --test device_fixture -- --test-threads=1 cargo test --locked --test device_command_parity -- --test-threads=1 cargo test --locked --test device_framing_parity -- --test-threads=1 cargo test --locked --test device_protocol_parity -- --test-threads=1 cargo test --locked --test device_

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx