原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agy Bridge

作者:sshahzaiib版本 0.3.1i★ –i在你的电脑上运行
注册名称io.github.sshahzaiib/agy-bridge

安装

概览

作者提供的说明(英文原文)

Delegate heavy tasks from Claude Code to the Antigravity CLI (Gemini) with quota-aware failover.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: AGY_PATH, AGY_TIMEOUT, AGY_MAX_OUTPUT_CHARS, AGY_DEFAULT_MODEL, AGY_ON_FAILURE

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agy-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "agy-bridge"
      ],
      "env": {
        "AGY_PATH": "your-value",
        "AGY_TIMEOUT": "your-value",
        "AGY_MAX_OUTPUT_CHARS": "your-value",
        "AGY_DEFAULT_MODEL": "your-value",
        "AGY_ON_FAILURE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add agy-bridge --env AGY_PATH=your-value --env AGY_TIMEOUT=your-value --env AGY_MAX_OUTPUT_CHARS=your-value --env AGY_DEFAULT_MODEL=your-value --env AGY_ON_FAILURE=your-value -- npx -y agy-bridge

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agy-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "agy-bridge"
      ],
      "env": {
        "AGY_PATH": "your-value",
        "AGY_TIMEOUT": "your-value",
        "AGY_MAX_OUTPUT_CHARS": "your-value",
        "AGY_DEFAULT_MODEL": "your-value",
        "AGY_ON_FAILURE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agy-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agy-bridge"
      ],
      "env": {
        "AGY_PATH": "your-value",
        "AGY_TIMEOUT": "your-value",
        "AGY_MAX_OUTPUT_CHARS": "your-value",
        "AGY_DEFAULT_MODEL": "your-value",
        "AGY_ON_FAILURE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • AGY_PATH env
    Path to the agy binary (defaults to `agy` on PATH)
  • AGY_TIMEOUT env
    Override the per-tool timeouts, in seconds
  • AGY_MAX_OUTPUT_CHARS env
    Truncation cap for tool output, in characters (default 50000)
  • AGY_DEFAULT_MODEL env
    Fallback model when no chain entry is available
  • AGY_ON_FAILURE env
    Set to `strict` to instruct the calling agent not to absorb failed delegations (default `fallback`)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 sshahzaiib 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32461 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32461 个服务器的 13% 更新
  • 基础检查结果等于或优于此分类中其他 32461 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Agy Bridge 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.1)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, dotnet-mcp

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

dotnet-mcp

作者:Skymly

MCP server for .NET symbols, XAML, source generators, and restricted workspace edit

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

agy-bridge

An MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (`agy`) — saving Claude's context window and tokens for what matters.

Claude sends a task → the bridge routes it to the best available model via agy → only the answer comes back. Large files, deep git searches, and web lookups never touch Claude's context.

Listed on

User → Claude Code → agy-bridge (MCP) → agy CLI → Gemini / Claude / GPT-OSS

← ← ←

Why this over claude-to-agy?

claude-to-agyagy-bridge
Tool surface1 generic delegate_to_agy6 purpose-built tools — Claude self-routes reliably
Model selectionnone (agy default only)per-tool routing across all agy models, with availability detection and fallback
Multi-turnstatelesssession continuity — follow_up resumes agy conversations without resending context
Output safetyunboundedconfigurable truncation cap protects Claude's context
Sandboxnooptional --sandbox mode
Installuvx (Python)npx (Node) — zero install

Requirements

Install

# 1. Register the MCP server (user scope = all projects).

add-json bakes in a generous client-side timeout so long analyze_files /

delegate calls don't trip Claude Code's tool-call deadline (see Timeouts).

claude mcp add-json -s user agy-bridge \ '{"command":"npx","args":["-y","agy-bridge"],"timeout":600000}'

2. Add delegation rules to your project (or ~/.claude/CLAUDE.md for global)

curl -o CLAUDE.md https://raw.githubusercontent.com/sshahzaiib/agy-bridge/main/CLAUDE.md

The "timeout": 600000 (10 min, milliseconds) is the client-side tool-call

deadline — without it, a cold-start analyze_files (~40–50s) or a long

delegate can hit Claude Code's default and return `timed out waiting for

response` while the agy run is still going. If your client doesn't honor a

per-server timeout, set the global env var MCP_TOOL_TIMEOUT=600000 instead.

Details and the agy-side budgets are in Timeouts and cancellation.

Tools

ToolUse forModel routing (first available)
analyze_filesFiles >200 lines, >3 files at once, logs, dumps, generated codeGemini Flash (High) → Gemini Pro (Low) → fallback
deep_searchgit log/diff/blame archaeology, repo-wide grepsGemini Flash (Medium) → (High) → fallback
web_lookupDocs, API references, external/current knowledgeGemini Flash (Medium) → (High) → fallback
adversarial_reviewPlan critiques, design and code reviewsGemini Pro (High) → Gemini Flash (High) → fallback
follow_upContinue a prior session by session_id — no context resendinherits the session
delegateAnything else heavyGemini Flash (High) → fallback

All tools accept optional cwd (project root) and model (an id or display name from agy models; validated, with available models listed on mismatch).

Every response ends with a footer:

---

[agy-bridge] model: Gemini Flash (High) | session: 1f0c…-d4 (use follow_up to continue)

Model routing

On first use the bridge runs agy models (cached for the process lifetime) and picks the first available model in the tool's preference chain. Chain entries name a family and tier rather than a version (Gemini * Flash (High)), and * resolves to the newest version agy currently lists, so a Gemini release never silently breaks routing. Chains are Gemini-first; Claude Opus and GPT-OSS are appended as a last resort and only used when no Gemini model is listed. If none is available it falls back to AGY_DEFAULT_MODEL, and finally to agy's own default. agy silently ignores unknown --model values, so the bridge validates names up front instead of letting requests land on the wrong model.

Quota-aware failover

agy never surfaces quota exhaustion in print mode — it silently retries the 429 until its print-timeout, then exits 0 with empty output, which used to look like an indefinite hang. The bridge now watches each run's log file (via --log-file) and on RESOURCE_EXHAUSTED (code 429):

  1. kills the agy process group immediately (no waiting out the timeout),
  2. parses the reset time ("Resets in 4h24m") into an in-process cooldown registry,
  3. retries the same prompt on the next model in the tool's chain,
  4. skips cooled-down models on all subsequent calls until their quota resets.

Failovers are annotated in the response footer (failover: : quota exhausted (resets in 4h24m)). Only when every candidate is exhausted does the call fail — in seconds, with reset times listed — instead of hanging.

Timeouts and cancellation

Each tool has its own default timeout sized to its job: web_lookup 120s, deep_search 180s, analyze_files / adversarial_review / follow_up 300s, delegate 600s. Setting AGY_TIMEOUT explicitly overrides all of them at once. To change a single tool, set AGY_TIMEOUT_ instead (e.g. AGY_TIMEOUT_DEEP_SEARCH=300); a per-tool override takes precedence over the global AGY_TIMEOUT and the tool's default. The full set of per-tool variables is AGY_TIMEOUT_ANALYZE_FILES, AGY_TIMEOUT_DEEP_SEARCH, AGY_TIMEOUT_WEB_LOOKUP, AGY_TIMEOUT_ADVERSARIAL_REVIEW, AGY_TIMEOUT_FOLLOW_UP, and AGY_TIMEOUT_DELEGATE. The kill path escalates SIGTERM → SIGKILL across the whole process group, and the deadline fires even if agy's helper processes hold the output pipes open. Cancelling the tool call from the MCP client (e.g. pressing Esc in Claude Code) also kills the agy run instead of orphaning it.

Two timeout layers — align them. The timeouts above are the _agy-side_ budget. Your MCP client (Claude Code) has its own, separate _tool-call_ timeout, and if it is shorter than the agy budget the client gives up first — you'll see Error: timed out waiting for response (note: agy-bridge's own timeout reads agy timed out after Ns instead). The work is not lost: the agy session persists, so follow_up with the returned session_id retrieves the result. But the real fix is to make the client wait at least as long as agy: the Install command already sets a per-server timeout of 600000ms (scoped to the agy-bridge entry only). If you registered the server without it, re-run the add-json command from Install, or set the global env var MCP_TOOL_TIMEOUT=600000. Rule of thumb: client `timeout` ≥ agy budget.

Expected latency. Most of the perceived "slowness" is cold start: the first call in a session spawns the agy CLI and warms the model. A simple analyze_files over 3 files measures around 40–50s cold (≈46s observed), dropping on subsequent same-session calls. A first call that also hits a quota 429 takes longer while the bridge fails over. So a client timeout below ~60s will intermittently trip on cold starts even for "simple" questions — size it generously.

Configuration

All optional, via environment variables:

VariableDefaultDescription
AGY_PATHagyPath to the agy binary
AGY_TIMEOUTper-toolSeconds; overrides all per-tool timeouts at once (see above), passed as --print-timeout, enforced with a 15s kill grace
AGY_TIMEOUT_ per-toolSeconds; overrides the timeout for a single tool only, e.g. AGY_TIMEOUT_DEEP_SEARCH=300. Wins over AGY_TIMEOUT
AGY_MAX_OUTPUT_CHARS50000Truncation cap for tool output
AGY_DEFAULT_MODELunsetFallback model when no chain entry is available (name, id, or * pattern)
AGY_SKIP_PERMISSIONStruePass --dangerously-skip-permissions to agy
AGY_SANDBOXfalseRun agy with --sandbox
AGY_ON_FAILUREfallbackstrict appends an instruction to failed-tool errors telling the calling agent not to absorb the work itself
Failure behavior

The bridge always fails loudly: agy errors surface as MCP tool errors with agy's actual stderr, and degraded model routing is annotated in the response footer. By default the calling agent (Claude) will typically do the work itself after a failure — visible in the transcript, but easy to stop noticing in a long session. Set AGY_ON_FAILURE=strict to append an explicit "do NOT perform this work yourself — report the fai

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx