プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

作者の .mcpb ファイルをダウンロード

リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。

ターミナルでこれを実行します

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント qarnet で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの5653件のうち0%よりスターが多い
  • このカテゴリのほかの5653件のうち31%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5653件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Serial MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.9.3)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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に聞く