World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
Let AI agents interact with serial devices — list ports, connect, send, and read.
选择你使用的 AI 应用,然后复制设置。
通过 2/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"serial": {
"command": "uvx",
"args": [
"serial-mcp-server"
]
}
}
}用 Serial MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Serial MCP Server,或回答中出现 Serial MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SERIAL_MCP_MAX_CONNECTIONS Maximum simultaneous open serial connections (default 10)SERIAL_MCP_PLUGINS Plugin policy: 'all' or comma-separated plugin names. Unset = disabled.SERIAL_MCP_MIRROR PTY mirror mode: 'off' (default), 'ro' (read-only), or 'rw' (read-write). macOS/Linux only.SERIAL_MCP_MIRROR_LINK Base path for PTY symlinks (default /tmp/serial-mcp when mirror is enabled). Connections get numbered: /tmp/serial-mcp0, /tmp/serial-mcp1, etc.SERIAL_MCP_TOOL_SEPARATOR Tool name separator character (default '.'). Set to '_' for clients that reject dots (e.g. Cursor).说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Serial MCP Server
Serial MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Serial MCP Server 的应用
B · 其他 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user serial -- uvx serial-mcp-server应能看到 Serial MCP Server 在列表中并显示已连接
用 Serial MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Serial MCP Server,或回答中出现 Serial MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SERIAL_MCP_MAX_CONNECTIONS Maximum simultaneous open serial connections (default 10)SERIAL_MCP_PLUGINS Plugin policy: 'all' or comma-separated plugin names. Unset = disabled.SERIAL_MCP_MIRROR PTY mirror mode: 'off' (default), 'ro' (read-only), or 'rw' (read-write). macOS/Linux only.SERIAL_MCP_MIRROR_LINK Base path for PTY symlinks (default /tmp/serial-mcp when mirror is enabled). Connections get numbered: /tmp/serial-mcp0, /tmp/serial-mcp1, etc.SERIAL_MCP_TOOL_SEPARATOR Tool name separator character (default '.'). Set to '_' for clients that reject dots (e.g. Cursor).说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
用 Serial MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Serial MCP Server,或回答中出现 Serial MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SERIAL_MCP_MAX_CONNECTIONS Maximum simultaneous open serial connections (default 10)SERIAL_MCP_PLUGINS Plugin policy: 'all' or comma-separated plugin names. Unset = disabled.SERIAL_MCP_MIRROR PTY mirror mode: 'off' (default), 'ro' (read-only), or 'rw' (read-write). macOS/Linux only.SERIAL_MCP_MIRROR_LINK Base path for PTY symlinks (default /tmp/serial-mcp when mirror is enabled). Connections get numbered: /tmp/serial-mcp0, /tmp/serial-mcp1, etc.SERIAL_MCP_TOOL_SEPARATOR Tool name separator character (default '.'). Set to '_' for clients that reject dots (e.g. Cursor).说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
用 Serial MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Serial MCP Server,或回答中出现 Serial MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SERIAL_MCP_MAX_CONNECTIONS Maximum simultaneous open serial connections (default 10)SERIAL_MCP_PLUGINS Plugin policy: 'all' or comma-separated plugin names. Unset = disabled.SERIAL_MCP_MIRROR PTY mirror mode: 'off' (default), 'ro' (read-only), or 'rw' (read-write). macOS/Linux only.SERIAL_MCP_MIRROR_LINK Base path for PTY symlinks (default /tmp/serial-mcp when mirror is enabled). Connections get numbered: /tmp/serial-mcp0, /tmp/serial-mcp1, etc.SERIAL_MCP_TOOL_SEPARATOR Tool name separator character (default '.'). Set to '_' for clients that reject dots (e.g. Cursor).说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user serial -- uvx serial-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"serial": {
"command": "uvx",
"args": [
"serial-mcp-server"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"serial": {
"command": "uvx",
"args": [
"serial-mcp-server"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"serial": {
"type": "stdio",
"command": "uvx",
"args": [
"serial-mcp-server"
]
}
}
}SERIAL_MCP_MAX_CONNECTIONS envSERIAL_MCP_PLUGINS envSERIAL_MCP_MIRROR envSERIAL_MCP_MIRROR_LINK envSERIAL_MCP_TOOL_SEPARATOR env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 es617 验证,该账户拥有此仓库
代码最后更新于8个月前,已超过 6 个月
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于8个月前,最新版本(0.1.3)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:World Monitor, Claude Flow, Windmill
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A stateful serial port Model Context Protocol (MCP) server for developer tooling and AI agents. Works out of the box with Claude Code, VS Code with Copilot, and any MCP-compatible runtime. Communicates over stdio and uses pyserial for cross-platform serial on macOS, Windows, and Linux.
Example: Let Claude Code list available serial ports, connect to your microcontroller, reset it via DTR, and read the boot banner from your hardware.
Video walkthrough — connecting to a serial device, sending commands, reading responses, and creating plugins.
If you’ve ever copy-pasted commands into screen or minicom, guessed baud rates, toggled DTR to kick a bootloader, and re-run the same test sequence 20 times — this is for you.
You have a serial device. You want an AI agent to talk to it — open a port, send commands, read responses, debug protocols. This server makes that possible.
It gives any MCP-compatible agent a full set of serial tools: listing ports, opening connections, reading, writing, line-oriented I/O, control line manipulation — plus protocol specs and device plugins, so the agent can reason about higher-level device behavior instead of just raw bytes.
The agent calls these tools, gets structured JSON back, and reasons about what to do next — without you manually typing commands into a terminal for every step.
What agents can do with it:
pip install serial-mcp-server
claude mcp add serial -- serial_mcp
Then in Claude Code, try:
"List available serial ports and connect to the one on /dev/ttyUSB0 at 115200 baud."
Once connected, the agent has full serial capabilities:
The agent can coordinate multi-step flows automatically — e.g., toggle reset, wait for prompt, send init sequence, stream output.
At a high level:
Raw Serial → Protocol Spec → Plugin
You can start with raw serial tools, then move up the stack as your device protocol becomes understood and repeatable.
# Editable install from repo root
pip install -e .
uv pip install -e .
MCP is a protocol — this server works with any MCP-compatible client. Below are setup instructions for the most common ones.
# Standard setup
claude mcp add serial -- serial_mcp
claude mcp add serial -- python -m serial_mcp_server
claude mcp add serial -e SERIAL_MCP_PLUGINS=all -- serial_mcp
claude mcp add serial -e SERIAL_MCP_PLUGINS=mydevice,ota -- serial_mcp
claude mcp add serial -e SERIAL_MCP_LOG_LEVEL=DEBUG -- serial_mcp
Add to your project's .vscode/mcp.json (or create it):
{
"servers": { "serial": { "type": "stdio", "command": "serial_mcp", "args": [], "env": { "SERIAL_MCP_PLUGINS": "all" } } } }
Adjust env to match your needs — set SERIAL_MCP_PLUGINS to specific plugin names, or add SERIAL_MCP_MIRROR for PTY mirroring.
Add to your project's .cursor/mcp.json (or create it). Cursor does not support dots in tool names, so SERIAL_MCP_TOOL_SEPARATOR must be set to _:
{
"mcpServers": { "serial": { "command": "serial_mcp", "args": [], "env": { "SERIAL_MCP_PLUGINS": "all", "SERIAL_MCP_TOOL_SEPARATOR": "_" } } } }
| Variable | Default | Description |
|---|---|---|
SERIAL_MCP_MAX_CONNECTIONS | 10 | Maximum simultaneous open serial connections. |
SERIAL_MCP_PLUGINS | disabled | Plugin policy: all to allow all, or name1,name2 to allow specific plugins. Unset = disabled. |
SERIAL_MCP_MIRROR | off | PTY mirror mode: off, ro (read-only), or rw (read-write). macOS and Linux only. |
SERIAL_MCP_MIRROR_LINK | /tmp/serial-mcp | Base path for PTY symlinks. Connections get numbered: /tmp/serial-mcp0, /tmp/serial-mcp1, etc. |
SERIAL_MCP_LOG_LEVEL | WARNING | Python log level (DEBUG, INFO, WARNING, ERROR). Logs go to stderr. |
SERIAL_MCP_TRACE | enabled | JSONL tracing of every tool call. Set to 0, false, or no to disable. |
SERIAL_MCP_TRACE_PAYLOADS | disabled | Include write data in traced args (stripped by default). |
SERIAL_MCP_TRACE_MAX_BYTES | 16384 | Max payload chars before truncation (only applies when TRACE_PAYLOADS is on). |
SERIAL_MCP_TOOL_SEPARATOR | . | Character used to separate tool name segments. Set to _ for MCP clients that reject dots in tool names (e.g. Cursor). |
| Category | Tools |
|---|---|
| Serial Core | serial.list_ports, serial.open, serial.close, serial.connection_status, serial.read, serial.write, serial.readline, serial.read_until, serial.flush, serial.set_dtr, serial.set_rts, serial.pulse_dtr, serial.pulse_rts |
| Introspection | serial.connections.list |
| Protocol Specs | serial.spec.template, serial.spec.register, serial.spec.list, serial.spec.attach, serial.spec.get, serial.spec.read, serial.spec.search |
| Tracing | serial.trace.status, serial.trace.tail |
| Plugins | serial.plugin.template, serial.plugin.list, serial.plugin.reload, serial.plugin.load |
Specs are markdown files that describe a serial device's protocol — connection settings, message format, commands, and multi-step flows. They live in .serial_mcp/specs/ and teach the agent what the byte stream means.
Without a spec, the agent can still open a port and exchange data. With a spec, it knows what commands to send, what responses to expect, and what the data means.
You can create specs by telling the agent about your device — paste a datasheet, describe the protocol, or just let it explore and document what it finds. The agent generates the spec file, registers it, and references it in future sessions. You can also write specs by hand.
Plugins add device-specific shortcut tools to the server. Instead of the agent composing raw read/write sequences, a plugin provides high-level operations like mydevice.read_temp or ota.upload_firmware.
The agent can also generate Python plugins (with your approval). It explores a device, writes a plugin based on what it learns, and future sessions get shortcut tools — no manual coding required.
To enable plugins:
# Enable all plugins
claude mcp add serial -e SERIAL_MCP_PLUGINS=all -- serial_mcp
claude mcp add serial -e SERIAL_MCP_PLUGINS=mydevice,ota -- serial_mcp
Editing an already-loaded plugin only requires serial.plugin.reload — no restart needed.
Every tool call is traced to .serial_mcp/traces/trace.jsonl and an in-memory ring buffer (last 2000 events). Tracing is on by default — set SERIAL_MCP_TRACE=0 to disable.
Two events per tool call:
{"ts":"2025-01-01T00:00:00.000Z","event":"tool_call_start","tool":"serial.read","args":{"connection_id":"s1"},"connection_id":"s1"}
{"ts":"2025-01-01T00:00:00.050Z","event":"tool_call_end","tool":"serial.read","ok":true,"error_code":null,"duration_ms":50,"connection_id":"s1"}
connection_id is extracted from args when presentdata is stripped from traced args by default (enable with SERIAL_MCP_TRACE_PAYLOADS=1)Use serial.trace.status to check config and event count, and serial.trace.tail to retrieve recent events — no need to read the file directly.
When the MCP server owns a serial port, most OSes prevent any other process from opening it. PTY mirroring creates a virtual clone port that external tools (screen, minicom, logic analyzers, custom scripts) can connect to simultaneously.
# Enable read-only mirror
claude mcp add serial \ -e SERIAL_MCP_MIRROR=ro \ -- serial_mcp
screen /tmp/serial-mcp0 115200
| Mode | Behavior |
|---|---|
off | No mirror (default). Only the MCP server can access the port. |
ro | External tools see all serial data but cannot write to the device. |
rw | External tools can both see data and write to the device. |
Platform: macOS and Linux only. On Windows, setting SERIAL_MCP_MIRROR to ro/rw logs a warning and is silently ignored.
You can test the server interactively using the MCP Inspector — no Claude or other agent needed:
npx @modelcontextprotocol/inspector python -m serial_mcp_server
Open the URL with the auth token from the terminal output. The Inspector gives you a web UI to call any tool and see responses in real time.
This server connects an AI agent to real hardware. That's t