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仅桌面效率与工作流开发者工具

概览

AI 生成的概览

一个本地 stdio 适配器,把 5dive 智能体集群 CLI 暴露为 MCP 工具,让助手提交和查看任务、给智能体发消息并读取集群摘要。

可以做什么
任务:在共享队列中创建任务、按 ID 查看单个任务详情、按状态或负责人列出任务。智能体:列出所有智能体的类型、频道、模型和实时状态,并向其他智能体发送消息。摘要:读取集群每日站会摘要,可选七天窗口视图。所有工具都调用本地 5dive 二进制的 JSON 输出,因此沿用 CLI 自身的认证、权限和审计日志。
适用场景
当你已经在运行 5dive 智能体集群,希望助手在模型上下文中直接提交任务、查看任务状态、给智能体发消息或获取站会摘要,而不必切换到命令行时使用。
运行要求
需要 Node.js 18 或更高版本,并已安装 5dive CLI 且位于 PATH 中。可选环境变量:FIVEDIVE_BIN 指定二进制路径,FIVEDIVE_SUDO 设为 1 时以 sudo 前缀调用,FIVEDIVE_TIMEOUT_MS 设置单次调用超时。仅支持桌面客户端;未声明认证。
安装前请注意
设置 FIVEDIVE_SUDO 为 1 时调用以 root 权限运行,应只为 5dive 二进制授予 sudo。工具会写入:task_create 提交任务,agent_send 向智能体发消息。服务器本身不处理密钥,由 CLI 读取自己的凭据。仅覆盖任务、智能体和摘要,不是 CLI 的全部功能。

安装

在 SourceWeft 中

  1. 打开 控制台中的 5dive Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

5dive MCP server

[npm] [Awesome MCP Servers]

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

ToolWrapsWhat it does
task_create5dive task addFile a task in the shared queue (title, body, priority, assignee, parent).
task_show5dive task showFull detail for one task by id (status, body, result, subtasks, blockers).
task_list5dive task lsList tasks (open by default; filter by status / assignee).
agent_send5dive agent sendSend a message to another agent on the fleet.
agent_list5dive agent listList every agent: type, channels, model, live state.
digest_get5dive digestFleet daily standup digest (window: "7d" for the weekly view).

Requirements

  • Node.js >= 18
  • The 5dive CLI installed and on PATH (curl https://install.5dive.ai | sudo bash).

Install & run

bash
npx @5dive/mcp        # run directly# ornpm i -g @5dive/mcp && 5dive-mcp

Client config (Claude Desktop / Cursor / Cline)

json
{  "mcpServers": {    "5dive": {      "command": "npx",      "args": ["-y", "@5dive/mcp"],      "env": { "FIVEDIVE_SUDO": "1" }    }  }}

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/mcp and sign in. See the guide.

bash
# 1. Mint a token. It is printed once; only its hash is kept.5dive-mcp token create --name=chatgpt            # read-only5dive-mcp token create --name=chatgpt --write    # may also file tasks and message agents
# 2. Serve on loopback (default 127.0.0.1:8741, path /mcp).FIVEDIVE_SUDO=1 5dive-mcp serve
# 3. Publish it over HTTPS, e.g. with Caddy (automatic certificates):#    agents.example.com {#        reverse_proxy /mcp* 127.0.0.1:8741#    }

Then point the client at it:

  • Clients that can send a header (Claude Code, the MCP inspector, most SDKs): https://agents.example.com/mcp with Authorization: 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.

serve flagDefaultPurpose
--listen127.0.0.1:8741Address to bind. A non-loopback address is refused unless you pass --allow-public-http.
--path/mcpMount point.
--rate60Tool calls per token per minute.

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 --write token 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 labelled mcp-<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 through sudo when FIVEDIVE_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 the 5dive binary.
  • 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 (from X-Forwarded-For when 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. serve refuses 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)

VarDefaultPurpose
FIVEDIVE_BIN5divePath to the 5dive binary.
FIVEDIVE_SUDO(unset)Set to 1 to prefix calls with sudo. Managed 5dive boxes require root for most subcommands; leave unset if you already run as root.
FIVEDIVE_TIMEOUT_MS30000Per-call timeout in milliseconds.
FIVEDIVE_MCP_HOME~/.config/5dive-mcpWhere serve keeps tokens.json and audit.jsonl.

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
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.2.0最新Oct 2, 2026
  2. v0.1.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分