Synapse RMCP
概览
作者提供的说明(英文原文)
Rust MCP and CLI server for Docker, host inspection, SSH, logs, ZFS, and safe file operations.
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 2/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "synapse-rmcp": { "command": "npx", "args": [ "-y", "synapse-rmcp", "mcp" ], "env": { "SYNAPSE_HOME": "your-value", "SYNAPSE_HOSTS_CONFIG": "your-value", "SYNAPSE_CONFIG_FILE": "your-value", "SYNAPSE_RMCP_VERSION": "your-value", "SYNAPSE_RMCP_REPO": "your-value", "SYNAPSE_RMCP_RELEASE_BASE_URL": "your-value", "RUST_LOG": "your-value" } } } }只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
退出 Claude 再重新打开
试一试
用 Synapse RMCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Synapse RMCP,或回答中出现 Synapse RMCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Synapse RMCP
Synapse RMCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Synapse RMCP 的应用
- 需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
可连接 Claude Code,但需要先准备
需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add synapse-rmcp --env SYNAPSE_HOME=your-value --env SYNAPSE_HOSTS_CONFIG=your-value --env SYNAPSE_CONFIG_FILE=your-value --env SYNAPSE_RMCP_VERSION=your-value --env SYNAPSE_RMCP_REPO=your-value --env SYNAPSE_RMCP_RELEASE_BASE_URL=your-value --env RUST_LOG=your-value -- npx -y synapse-rmcp mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude Code 中输入 /mcp
应能看到 Synapse RMCP 在列表中并显示已连接
试一试
用 Synapse RMCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Synapse RMCP,或回答中出现 Synapse RMCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
填写你的密钥
在 Synapse RMCP 的设置中,SYNAPSE_HOME, SYNAPSE_HOSTS_CONFIG, SYNAPSE_CONFIG_FILE, SYNAPSE_RMCP_VERSION, SYNAPSE_RMCP_REPO, SYNAPSE_RMCP_RELEASE_BASE_URL, RUST_LOG 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Synapse RMCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Synapse RMCP,或回答中出现 Synapse RMCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Synapse RMCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
填写你的密钥
在 Synapse RMCP 的设置中,SYNAPSE_HOME, SYNAPSE_HOSTS_CONFIG, SYNAPSE_CONFIG_FILE, SYNAPSE_RMCP_VERSION, SYNAPSE_RMCP_REPO, SYNAPSE_RMCP_RELEASE_BASE_URL, RUST_LOG 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Synapse RMCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Synapse RMCP,或回答中出现 Synapse RMCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add synapse-rmcp --env SYNAPSE_HOME=your-value --env SYNAPSE_HOSTS_CONFIG=your-value --env SYNAPSE_CONFIG_FILE=your-value --env SYNAPSE_RMCP_VERSION=your-value --env SYNAPSE_RMCP_REPO=your-value --env SYNAPSE_RMCP_RELEASE_BASE_URL=your-value --env RUST_LOG=your-value -- npx -y synapse-rmcp mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"synapse-rmcp": {
"command": "npx",
"args": [
"-y",
"synapse-rmcp",
"mcp"
],
"env": {
"SYNAPSE_HOME": "your-value",
"SYNAPSE_HOSTS_CONFIG": "your-value",
"SYNAPSE_CONFIG_FILE": "your-value",
"SYNAPSE_RMCP_VERSION": "your-value",
"SYNAPSE_RMCP_REPO": "your-value",
"SYNAPSE_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"synapse-rmcp": {
"command": "npx",
"args": [
"-y",
"synapse-rmcp",
"mcp"
],
"env": {
"SYNAPSE_HOME": "your-value",
"SYNAPSE_HOSTS_CONFIG": "your-value",
"SYNAPSE_CONFIG_FILE": "your-value",
"SYNAPSE_RMCP_VERSION": "your-value",
"SYNAPSE_RMCP_REPO": "your-value",
"SYNAPSE_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"synapse-rmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"synapse-rmcp",
"mcp"
],
"env": {
"SYNAPSE_HOME": "your-value",
"SYNAPSE_HOSTS_CONFIG": "your-value",
"SYNAPSE_CONFIG_FILE": "your-value",
"SYNAPSE_RMCP_VERSION": "your-value",
"SYNAPSE_RMCP_REPO": "your-value",
"SYNAPSE_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}需要你填写的值
SYNAPSE_HOMEenvOptional Synapse appdata directory.SYNAPSE_HOSTS_CONFIGenvInline host topology as a JSON array.SYNAPSE_CONFIG_FILEenvPath to a host configuration file.SYNAPSE_RMCP_VERSIONenvOptional GitHub release tag override for the downloaded Synapse binary.SYNAPSE_RMCP_REPOenvOptional GitHub owner/repo override for release asset downloads.SYNAPSE_RMCP_RELEASE_BASE_URLenvOptional release download base URL override.RUST_LOGenvTracing filter for Synapse logs.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ! 注意
作者与仓库一致
发布者(dinglebear.ai)不是仓库所有者(dinglebear-ai);可能是其他人代为上架的
- ✓ 通过
仍在维护
代码最后更新于8天前
- ✓ 通过
有许可证
使用 AGPL-3.0
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5747 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5747 个服务器的 21% 更新
- 基础检查结果等于或优于此分类中其他 5747 个服务器的 27%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Synapse RMCP 安全吗?
它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于8天前,最新版本(0.5.4)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
synapse-rmcp
Host, Docker, Compose, SSH, logs, ZFS, and file operations over MCP and CLI.
Synapse is a full-parity Rust port of synapse-mcp, built with the rmcp framework.
The server exposes two MCP tools (flux and scout) plus equivalent CLI commands, covering all 59 production actions from the original TypeScript server.
Contents
- Naming
- Capabilities And Boundaries
- Install
- Quickstart
- Client Configuration
- Plugin Packages
- Runtime Surfaces
- MCP Tool Reference
- CLI Reference
- Authentication
- Safety And Trust Model
- Distribution Contract
- Verification
- Deployment
- Troubleshooting
- Tools and Actions
- Known Parity Gaps
- Configuration
- Run
- Architecture
- Development
- Documentation
- Related Servers
- License
Naming
The repository is synapse-rmcp, the Rust crate is synapse, the MCP server identity is synapse, and the installed binary is synapse. The npm launcher package is synapse-rmcp.
Across most of the RMCP family, naming follows repo= -rmcp, npm= -rmcp, and CLI=r . Synapse is an exception because it is a Rust port of the older TypeScript synapse-mcp project and keeps the operator-facing synapse binary.
Capabilities And Boundaries
Synapse provides local Docker, Compose, host, SSH, log, ZFS, and file-operation workflows through two MCP tools and the equivalent CLI:
fluxmanages Docker infrastructure, containers, Compose projects, and host inspection.scouthandles SSH/local host inspection, safe file reads, allowlisted command execution, bounded descriptor-confined file transfer, ZFS introspection, and log retrieval.- REST exists only as a compatibility shim for a subset of actions.
- The web surface is a lightweight static admin shell, not a full dashboard.
Not for: arbitrary shell access, unaudited remote mutation, or bypassing host SSH trust. Destructive Docker/Compose/exec/file-transfer actions require explicit host targets and confirmation policy.
MCP callers never provide credentials, tokens, keys, or secrets as action arguments. Tokens, OAuth settings, host topology, SSH trust, and allowlists live in server-side configuration or the local SSH environment.
Install
Use the npm launcher for stdio MCP or CLI access without a manual binary install:
npx -y @dinglebear/synapse --help
npx -y @dinglebear/synapse mcp
For a permanent command:
npm i -g @dinglebear/synapse
synapse --version
The npm package downloads the synapse binary from GitHub Releases during postinstall, keeping the release tag aligned with packages/synapse-rmcp/package.json.
From source:
cargo build --release
The production image includes Python 3 plus the official Docker CLI/Compose plugin because Scout's remote descriptor wrappers and Flux Compose operations invoke those runtime tools. The image does not contain a Docker daemon; Flux uses the mounted socket or SSH-forwarded remote socket. Persistent appdata lives at ~/.synapse on the host and /data in the container.
Quickstart
The first-screen 30-second path is:
npx -y @dinglebear/synapse mcp
Then configure an MCP client with stdio:
{
"mcpServers": { "synapse": { "command": "npx", "args": ["-y", "synapse-rmcp", "mcp"] } } }
Start with a read-only call:
{
"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "scout", "arguments": { "action": "nodes" } } }
Client Configuration
stdio is preferred for local MCP clients:
{
"mcpServers": { "synapse": { "command": "synapse", "args": ["mcp"] } } }
Streamable HTTP uses /mcp on the configured host and port:
{
"mcpServers": { "synapse": { "url": "http://127.0.0.1:40080/mcp", "headers": { "Authorization": "Bearer ${SYNAPSE_MCP_TOKEN}" } } } }
Plugin Packages
plugins/synapse/ ships Claude Code, Codex, and Gemini CLI manifests that all point at the same HTTP MCP endpoint and the same shared skill.
These packages contain no lifecycle hooks. Connecting to a server that is already running needs no setup — the manifests substitute your server_url and api_token directly. If this machine also *runs* the server, bootstrap it once by hand:
synapse setup install # put/refresh the binary on PATH
synapse setup plugin-hook # check, then repair on blocking failures synapse setup plugin-hook --no-repair # audit only; never mutates appdata
Export the relevant SYNAPSE_* variables (or write them to ~/.synapse/.env) first; plugins/README.md maps each plugin option to its variable. Re-run synapse setup install after a plugin update.
Runtime Surfaces
| Surface | Status | Purpose |
|---|---|---|
| MCP | Required | Agent-facing flux and scout tools |
| CLI | Required | Scriptable parity surface for operators |
| REST | Compatibility | Thin local action endpoint for 14 of 59 actions |
| Web | Present | Lightweight static admin shell |
MCP Tool Reference
Synapse exposes two MCP tools:
flux: Docker daemon, container, host, and Compose operations.scout: SSH/local host inspection, filesystem reads, allowlisted exec, multi-host emit, file beam, ZFS, and logs.
Both tools use an action-dispatched JSON shape:
{"name":"flux","arguments":{"action":"docker","subaction":"info"}}
{"name":"scout","arguments":{"action":"nodes"}}
The detailed action tables below are curated README reference material. The generated runtime MCP schema and the Rust action definitions are the source of truth for the live tool contract.
CLI Reference
Common commands:
synapse flux docker info
synapse flux container list synapse flux compose list --host myhost synapse scout nodes synapse scout exec --host myhost --command hostname synapse scout zfs pools --host myhost synapse scout logs journal --host myhost --unit docker
Authentication
Mounted HTTP supports bearer and Google OAuth modes. Loopback stdio/local dev can run without mounted HTTP auth. Important variables:
SYNAPSE_MCP_HOST=127.0.0.1
SYNAPSE_MCP_PORT=40080 SYNAPSE_MCP_TOKEN=change-me SYNAPSE_MCP_AUTH_MODE=bearer
See Configuration and docs/CONFIG.md for the full auth matrix.
Safety And Trust Model
Synapse separates read and write scopes (synapse:read, synapse:write) and uses confirmation gates for destructive operations. SYNAPSE_MCP_ALLOW_DESTRUCTIVE can skip prompts only in loopback-safe contexts. Host protocol is authoritative and defaults to SSH when omitted; local execution requires the explicit built-in local host or protocol: "local". SSH host trust is delegated to OpenSSH known-hosts behavior, and command execution uses execvp/argv semantics without shell interpolation. scout beam enforces both endpoints' configured read roots, blocks sensitive and symlinked paths, and caps each transfer at 64 MiB.
scout exec and scout emit accept only these 18 typed commands (ALLOWED_READ_COMMANDS in src/synapse/command_policy.rs):
cat, head, tail, grep, rg, ls, tree, wc, uniq, diff, stat, file, du, df, pwd, hostname, uptime, whoami
git is deliberately excluded, as are shells, interpreters, network clients, and mutating tools (EXEC_DENYLIST). There is no find or sort in the allowlist — use the dedicated scout find action for filesystem search. Per-host custom commands may be enabled via execAllowlist, but receive a zero-argument policy until a typed argument policy is registered.
Distribution Contract
The source of truth for release identity is the version shared by Cargo.toml, .release-please-manifest.json, packages/synapse-rmcp/package.json, release artifacts, and server.json.
Distribution/version invariants:
- The npm package downloads the matching GitHub Release binary.
- The installed binary remains
synapse. server.jsonmust point atghcr.io/dinglebear-ai/synapse:.- Plugin manifests stay versionless where marketplaces derive identity from git state.
- Generated docs and schemas must come from source-controlled generation inputs; curated README/docs should point at source-of-truth files for details.
Verification
just validate-plugin # plugin manifests, MCP config, monitors, skills
npm --prefix packages/synapse-rmcp run check cargo fmt --check cargo check cargo test git diff --check
Deployment
For a persistent mounted HTTP server:
SYNAPSE_MCP_HOST=0.0.0.0 \
SYNAPSE_MCP_PORT=40080 \ SYNAPSE_MCP_TOKEN=change-me \ synapse serve
Use bearer or OAuth before exposing the endpoint beyond loopback. Production Docker/Compose notes live in docs/DEPLOYMENT.md and docs/DOCKER.md when present; local operator usage can stay on stdio.
Troubleshooting
401or403from/mcp: check bearer/OAuth settings and gateway headers.- no hosts appear: check
SYNAPSE_HOSTS_CONFIG,SYNAPSE_CONFIG_FILE, and~/.ssh/config. - destructive actions are refused: confirm the host target and confirmation policy.
- SSH errors: verify OpenSSH known_hosts, mux/socket availability, and host reachability outside Synapse first.
Tools and Actions
flux — Docker infrastructure management
flux docker — Docker daemon operations (9 actions)
| Subaction | Scope | Description |
|---|---|---|
info | synapse:read | Docker daemon information |
df | synapse:read | Docker disk usage |
images | synapse:read | List Docker images; dangling_only to filter untagged |
networks | synapse:read | List Docker networks |
volumes | synapse:read | List Docker volumes |
pull | synapse:write | Pull a Docker image; requires host, image |
build | synapse:write | Build a Docker image; requires host, context, tag; optional dockerfile, no_cache |
rmi | synapse:write | Remove a Docker image; requires host, image, force=true |
prune | synapse:write | Remove unused resources; requires host, prune_target, force=true |
flux container — Container lifecycle + inspection (14 actions)
| Subaction | Scope | Description |
|---|---|---|
list | synapse:read | List containers; optional state, name_filter, image_filter, label_filter |
inspect | synapse:read | Detailed container info; requires container_id; optional summary |
logs | synapse:read | Container logs; requires container_id; optional lines, since, until, grep, stream |
stats | synapse:read | Resource usage stats; optional container_id |
top | synapse:read | Show running processes; requires container_id |
search | synapse:read | Full-text search by name/image/labels; requires query |
start | synapse:write | Start a stopped container; requires host, container_id |
stop | synapse:write | Stop a running container (destructive); requires host, container_id |
restart | synapse:write | Restart a container; requires host, container_id |
pause | synapse:write | Pause a running container; requires host, container_id |
resume | synapse:write | Resume a paused container; requires host, container_id |
| pull | synapse:write | Pull latest image for a container; requires host