
Nexus Mcp
io.github.j7an由 GitHub 账号 j7an 发布v2.1.3更新于 Oct 25, 2026
Delegate tasks to coding agents (Claude, Codex, Antigravity) from any MCP client
概览
本地 MCP 服务器,让任意 MCP 客户端把编码任务交给 Claude Code、Codex 或 Antigravity 代理,并取回最终结果。
- 可以做什么
- 在指定后端(claude、codex 或 antigravity)上运行一次代理回合,传入提示词和绝对项目目录,返回输出、会话 ID 与用量信息。按会话 ID 继续或分叉对话,选择模型并设置超时。用权限配置约束每次调用:read_only、workspace_write 或 full_access。以资源形式列出可用后端,显示已安装的附加组件、模型和安装提示。
- 适用场景
- 适合希望 MCP 客户端把编码或审查工作交给外部编码代理、而不是自己完成的场景,包括只读审查和项目目录内的沙箱编辑。
- 运行要求
- 通过 uvx 或 pip 在本地运行;每个后端是可选附加组件,会捆绑各自的 CLI(约 40–150 MB)。认证由代理自身负责:Claude 登录或 ANTHROPIC_API_KEY,codex login,Antigravity 使用 GEMINI_API_KEY 或 Vertex AI 变量配合 ADC。Windows 上需确保 Claude Code 在 PATH 中。
安装
在 SourceWeft 中
- 打开 控制台中的 Nexus Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
nexus-mcp
MCP server that delegates tasks to coding agents — Claude Code via the Claude Agent SDK, Codex via the Codex App Server, and Antigravity via the Antigravity SDK — from any MCP client.
Install
Backends are optional extras; install the ones you use.
Claude Code MCP config:
Authentication is the agent's own: log in with claude, or set ANTHROPIC_API_KEY; for Codex,
log in with codex login (credentials in ~/.codex are shared). Antigravity uses GEMINI_API_KEY,
or Vertex AI with GOOGLE_GENAI_USE_VERTEXAI, GOOGLE_CLOUD_PROJECT, and
GOOGLE_CLOUD_LOCATION, authenticated through Application Default Credentials (ADC). It does not
use Google-account login.
Windows: recent claude-agent-sdk releases ship no Windows wheel with a bundled CLI;
install Claude Code so claude is on PATH.
Tool: prompt
Runs one agent turn and returns its final answer.
Returns {backend, session_id, output, usage}. Conversations are stored by the agent itself
(~/.claude/projects, $CODEX_HOME/sessions, ~/.nexus-mcp/antigravity), so a session_id keeps
working after nexus-mcp restarts. Antigravity does not support fork=true.
Permission profiles
Actions outside the chosen profile are denied automatically — nobody is prompted.
Codex enforces profiles with its OS sandbox (read-only, workspace-write, danger-full-access)
and never asks for approval.
Antigravity enforces workspace containment in its harness and uses the OS sandbox for commands.
workspace_write fails if that sandbox is unavailable.
Resource: nexus://backends
JSON list of {name, installed, models, hint}; hint gives the install command for a
missing extra. Codex lists its models; Claude and Antigravity report null (Antigravity does not
provide a model list).
Configuration
Migrating from v1
Development
License
MIT
来源:README.md,提交 e9204e9
工具
0版本历史
9- v2.1.3最新Oct 25, 2026
- v2.1.2Oct 17, 2026
- v2.1.1Oct 3, 2026
- v2.1.0Oct 3, 2026
- v2.0.2Oct 2, 2026
- v2.0.1Sep 26, 2026
- v2.0.0Sep 26, 2026
- v1.1.0Sep 19, 2026
- v1.0.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分