
5dive Mcp
io.github.5dive-ai由 GitHub 帳號 5dive-ai 發布v0.2.0更新於 Oct 25, 2026
Expose the 5dive agent-fleet CLI (tasks, agents, digest) as MCP tools, over stdio or HTTP.
概覽
一個本機 stdio 轉接器,把 5dive 代理機隊 CLI 包裝成 MCP 工具,讓助理建立與檢視任務、傳訊息給代理並讀取機隊摘要。
- 可以做什麼
- 任務:在共用佇列建立任務、依 ID 檢視單一任務詳情、依狀態或負責人列出任務。代理:列出所有代理的類型、頻道、模型與即時狀態,並傳訊息給其他代理。摘要:讀取機隊每日站立會議摘要,可選七天視窗。所有工具都呼叫本機 5dive 二進位的 JSON 輸出,因此沿用 CLI 本身的驗證、權限與稽核記錄。
- 適用情境
- 當你已在執行 5dive 代理機隊,希望助理在模型脈絡中直接建立任務、查看任務狀態、傳訊息給代理或取得站立會議摘要,而不必切換到命令列時使用。
- 執行需求
- 需要 Node.js 18 以上版本,並已安裝 5dive CLI 且位於 PATH 中。選用環境變數:FIVEDIVE_BIN 指定二進位路徑,FIVEDIVE_SUDO 設為 1 時以 sudo 前置呼叫,FIVEDIVE_TIMEOUT_MS 設定單次呼叫逾時。僅支援桌面用戶端;未宣告驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 5dive Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
5dive MCP server
Expose the 5dive agent-fleet CLI as Model Context Protocol tools. Point any MCP client (Claude Desktop, Cursor, Cline, or your own) at this stdio server to file tasks, inspect and message agents, and read the fleet digest — directly from inside a model context.
5dive is the CLI + control plane for running a fleet of
autonomous coding agents as a self-governing company. This server is a thin,
honest adapter: every tool shells out to the local 5dive binary's
machine-readable --json surface and returns the result — so it inherits the
CLI's auth, permissions, and audit log for free, and never handles secrets itself.
Tools
Requirements
- Node.js >= 18
- The
5diveCLI installed and onPATH(curl https://install.5dive.ai | sudo bash).
Install & run
Client config (Claude Desktop / Cursor / Cline)
Remote mode: 5dive-mcp serve (ChatGPT, OpenAI dots)
A client that runs in someone else's cloud can't spawn a stdio process on your
box. serve puts the same six tools behind MCP's Streamable HTTP transport, on
loopback, for your reverse proxy to publish over HTTPS.
Using managed 5dive? You don't need this: connect to
https://api.5dive.com/mcpand sign in. See the guide.
Then point the client at it:
- Clients that can send a header (Claude Code, the MCP inspector, most SDKs):
https://agents.example.com/mcpwithAuthorization: Bearer <token>. - ChatGPT developer mode offers only OAuth or "No authentication", so put
the token in the URL and choose "No authentication":
https://agents.example.com/mcp/<token>.
5dive-mcp token list shows the tokens; 5dive-mcp token revoke --name=chatgpt
cuts one off, and a running server refuses it from the next request.
Security: what opening this endpoint means
- What a token can do. A read-only token can list agents and tasks, read a
task, and read the digest. A
--writetoken can also file tasks (task_create) and message agents (agent_send). No token can answer a gate, change settings, spend money, or run anything outside those six CLI calls, each built as a fixed argv with no shell. Whatever sender the remote client claims is dropped: its messages arrive labelledmcp-<token name>, and its tasks say in their body which connection filed them. - Who it runs as. The tools run with the rights of the user running
serve, plus root throughsudowhenFIVEDIVE_SUDO=1. The server only ever runs those six subcommands, but a compromised server process holds that user's rights, so run it as a dedicated user whose sudo grant covers only the5divebinary. - Rate limit. 60 calls a minute per token by default (
--rate), counted per JSON-RPC message: batches are refused before anything runs. Bodies over 1 MiB are refused. - Audit. Every tool call, allowed or refused, appends one line to
audit.jsonl: time, token name, tool, outcome, client IP (fromX-Forwarded-Forwhen the proxy is on loopback), and the ids and names involved. Message text and task bodies are never written. - Tokens at rest.
tokens.json(mode 0600) holds a SHA-256 of each token, never the token. Both files live in$FIVEDIVE_MCP_HOME, default~/.config/5dive-mcp. - A token in the URL is a password in the URL. Your reverse proxy's access
log records request paths. Turn path logging off for
/mcp/*, or use header auth where the client supports it. Anyone holding the URL holds the token. - Plain HTTP stays on loopback.
serverefuses a public bind by default, because the token would cross the network unencrypted.
Prefer no inbound port at all? OpenAI's
Secure MCP Tunnel
runs a small client next to the server and connects out to OpenAI. Its
tunnel-client can launch the stdio server directly
(--mcp-command "npx -y @5dive/mcp"), but it needs an OpenAI Platform
organization with tunnel permissions.
Configuration (env vars)
Safety
Arguments are passed to the CLI as an argv array with no shell, so tool input can never be interpreted as shell syntax. The server never sees secrets: the CLI reads its own credentials from the box.
Scope
This mirrors a curated slice of the CLI (tasks, agents, digest), not its full
surface. It is a distribution and convenience layer, not a new API. For
everything else, use the 5dive CLI directly (5dive --help). Full docs: https://5dive.ai/docs/5dive-cli
License
MIT
來源:README.md,提交 4b02677
工具
0版本歷史
2- v0.2.0最新Oct 2, 2026
- v0.1.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分