Synapse RMCP
ai.dinglebear由 dinglebear.ai 發布v0.5.4更新於 Oct 24, 2026
Rust MCP and CLI server for Docker, host inspection, SSH, logs, ZFS, and safe file operations.
發布方自己的服務:RMCP
概覽
本機 MCP 伺服器,為助理提供兩個工具,用來檢視與管理 Docker、Compose、主機、SSH、ZFS、日誌與檔案。
- 可以做什麼
- 透過 flux 工具檢視與管理 Docker 守護程序、映像、網路、磁碟區與容器,包括啟動、停止、重新啟動、重建與執行指令。列出、啟動、停止、重新啟動、重建 Docker Compose 專案並讀取其日誌。檢查主機狀態、作業系統、運作時間、資源、服務、網路、掛載、連接埠並執行診斷。透過 scout 工具檢視 SSH 與本機主機:列出節點、讀取檔案與目錄、尋找檔案、列出程序、比較檔案、執行白名單指令、多主機執行與檔案傳輸。讀取 ZFS 池、資料集與快照,並取得 syslog、journal、dmesg 與認證日誌。
- 適用情境
- 適合家用實驗室或伺服器維運人員,讓助理查看 Docker 與 Compose 狀態、檢查主機健康、讀取日誌和 ZFS 資訊,或透過 SSH 執行少量唯讀指令;寫入操作受確認機制約束。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx 從 npm 套件啟動。flux 操作需要 Docker CLI 與 Compose,以及可存取的 Docker socket 或經 SSH 轉送的 socket;遠端主機需要 SSH 存取和 known_hosts 項目。主機拓撲透過 SYNAPSE_HOSTS_CONFIG 或 SYNAPSE_CONFIG_FILE 提供,另有選用的 SYNAPSE_HOME、RUST_LOG 和發行下載覆寫變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Synapse RMCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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=<service>-rmcp, npm=<service>-rmcp, and CLI=r<service>. 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:
For a permanent command:
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:
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:
Then configure an MCP client with stdio:
Start with a read-only call:
Client Configuration
stdio is preferred for local MCP clients:
Streamable HTTP uses /mcp on the configured host and port:
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:
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
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:
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:
Authentication
Mounted HTTP supports bearer and Google OAuth modes. Loopback stdio/local dev can run without mounted HTTP auth. Important variables:
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:<version>.- 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
Deployment
For a persistent mounted HTTP server:
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)
flux container — Container lifecycle + inspection (14 actions)
flux host — Host inspection (9 actions)
flux compose — Docker Compose project management (10 actions)
flux help — Auto-generated flux docs
scout — SSH/local host inspection
Scout simple actions (9 actions)
scout zfs — ZFS introspection (3 subactions)
scout logs — Log retrieval (4 subactions)
scout help — Auto-generated scout docs
Known Parity Gaps
synapse achieves action-level parity with synapse-mcp — all 59
production actions from synapse-mcp/docs/INVENTORY.md are implemented. However,
the following features from the original TypeScript server are not yet ported:
Not ported
Configuration
Key environment variables:
See .env.example for the full list of variables, docs/CONFIG.md for
configuration details, and docs/SECURITY.md for transport, path, transfer,
container, and CI runner trust boundaries.
Run
MCP examples:
Architecture
Development
Useful docs:
docs/API.mdfor full tool contractsdocs/CONFIG.mdfor environment and authdocs/QUICKSTART.mdfor local smoke testsplugins/synapse/skills/synapse/SKILL.mdfor agent usage guidancetests/parity.rsfor automated parity verification against synapse-mcp INVENTORY
Documentation
This README is curated for first-run orientation and high-level action discovery. Source-of-truth docs and code are split as follows:
docs/API.mdfor the curated action contract reference.docs/MCP_SCHEMA.mdfor MCP schema shape and drift expectations.docs/CONFIG.mdfor environment and auth policy.docs/QUICKSTART.mdfor local smoke tests.docs/PLUGINS.mdandplugins/synapse/skills/synapse/SKILL.mdfor agent and marketplace usage.docs/generated/openapi.jsonfor generated OpenAPI output.src/flux_service/,src/scout_service/, andsrc/mcp/for runtime source of truth.
Related Servers
runifi- UniFi controller REST API bridge.rtailscale- Tailscale API bridge for devices, users, and tailnet operations.unraid/runraid- Unraid GraphQL bridge for NAS and server management.rapprise- Apprise notification fan-out bridge for many delivery backends.rgotify- Gotify push notification bridge for sends, messages, apps, and clients.rarcane- Arcane Docker management bridge for containers and related resources.yarr- Media-stack bridge for Sonarr, Radarr, Prowlarr, Plex, and related services.rytdl- Media download and metadata workflow server.cortex- Syslog and homelab log aggregation MCP server.axon- RAG, crawl, scrape, extract, and semantic search project.labby- Homelab control plane and Labby gateway project.lumen- Local semantic code search MCP server.nugs- Project/package management helper for local agent workflows.agentcast- Agent transcript and activity publishing project.soma- RMCP scaffold/runtime template for new provider-backed servers.
License
Original Dinglebear-authored portions of this project are licensed under AGPL-3.0-only. Separate commercial licensing is available for organizations that need terms outside the AGPL. Third-party material remains under its original license. See LICENSING.md.
來源:README.md,提交 cf3bdde
工具
0版本歷史
1- v0.5.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Rmcp 整合
RMCP
dev.rmcp官方發布者
一個遠端 MCP 目錄伺服器,讓助理搜尋已收錄的 MCP 伺服器與工具、檢視其記錄和端點,並比較候選方案。
YTDL RMCP
ai.dinglebear
在本機執行的 Rust MCP 伺服器,讓助理搜尋 YouTube、用 yt-dlp 下載音訊或影片、寫入標籤並傳輸媒體,以及同步 Plex 播放清單。
Unraid RMCP
ai.dinglebear
本機 MCP 伺服器兼 CLI,讓助理透過 Unraid 的 GraphQL API 處理 NAS、Docker、虛擬機與儲存相關工作。
Unraid RMCP
ai.dinglebear
在本機執行的 Rust MCP 伺服器兼命令列工具,讓助理透過 Unraid 的 GraphQL API 查詢與管理 NAS,涵蓋陣列、Docker、虛擬機與儲存。
UniFi RMCP
ai.dinglebear
本機 MCP 伺服器兼 CLI,讓助理讀取 UniFi Network 控制器的用戶端、裝置、WLAN 與健康狀態,並在具備管理員權限時執行變更操作。