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

Agent Link

作者:mikusnuz版本 0.5.3i★ –i在你的电脑上运行
注册名称io.github.mikusnuz/agent-link

安装

概览

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

Bidirectional AI agent collaboration — spawn and communicate with any agent CLI

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "agent-link": {
      "command": "npx",
      "args": [
        "-y",
        "agent-link-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add agent-link -- npx -y agent-link-mcp

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "agent-link": {
      "command": "npx",
      "args": [
        "-y",
        "agent-link-mcp"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "agent-link": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-link-mcp"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Agent Link 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.3)于18天前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Microsoft Exchange Online 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前天更新
安装

Exchange Online admin for MSPs: forwarding audits, EWS posture and offboarding, no PowerShell

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

作者的 README

打开 README

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

agent-link-mcp

English | 한국어

MCP server for bidirectional AI agent collaboration. Spawn and communicate with any AI coding agent CLI — Claude Code, Codex, Gemini, Aider, and more.

When to Use

Version 0.5.2 fixes Claude JSON response parsing, preserves the original task/context and working directory across replies, and connects cancellation to the running process. reply starts a fresh CLI invocation with the recorded conversation; it does not resume a provider-side session. Concurrent replies to the same session are rejected. kill_agent waits for termination, escalating after five seconds if needed; server shutdown also cancels active children. Sessions are held in memory and do not survive server restarts.

  • Stuck on a bug? — Your agent tried twice and failed. Let it ask another agent for a fresh perspective.
  • Need a second opinion? — Get code review or architectural advice from a different AI model.
  • Cross-model strengths — Use Claude for planning, Codex for execution, Gemini for research.
  • Parallel work — Spawn multiple agents to tackle independent subtasks simultaneously.
  • Rubber duck debugging — Have one agent explain the problem to another and get back a solution.

Use Cases

Get Help When Stuck

Your primary agent keeps failing on the same issue? Ask another agent:

# Claude Code is stuck on a TypeScript error it can't resolve.

It spawns Codex for a second opinion:

spawn_agent("codex", "This TypeScript error keeps appearing. How do I fix it?", { error: "Type 'string' is not assignable to type 'number'", files: ["src/utils.ts"] })

Cross-Agent Code Review

Have another model review your agent's code changes:

spawn_agent("claude", "Review these changes for bugs and edge cases", {

files: ["src/api.ts", "src/handler.ts"], intent: "Code review before merge" })

Multi-Agent Pipeline

Build a pipeline where agents handle different stages:

# Agent 1: Research

spawn_agent("gemini", "Find the best approach for WebSocket reconnection")

Agent 2: Implementation (using Agent 1's advice)

spawn_agent("codex", "Implement WebSocket reconnection with exponential backoff", { files: ["src/ws-client.ts"] })

Agent 3: Review

spawn_agent("claude", "Review this implementation for production readiness", { files: ["src/ws-client.ts"] })

Bidirectional Collaboration

Agents can ask questions back. The host answers, and work continues:

Host: spawn_agent("codex", "Add caching to the API layer")

Codex: [QUESTION] Should I use Redis or in-memory cache? Host: reply("codex-a1b2c3", "Use Redis, we have it in our docker-compose") Codex: [RESULT] Added Redis caching with 5-minute TTL...

Why

AI coding agents get stuck sometimes. Instead of waiting for you, they can ask another agent for help. agent-link-mcp lets any MCP-compatible agent spawn other agent CLIs as collaborators, exchange questions, and get results back — all through standard MCP tools.

  • One-side install — only the host agent needs this MCP server. Spawned agents are just CLI subprocesses.
  • Bidirectional — the host can ask questions to the spawned agent, and the spawned agent can ask questions back.
  • Any agent — works with any CLI that accepts a prompt and returns text. Built-in profiles for Claude, Codex, Gemini, and Aider.
  • Multi-agent — spawn multiple agents simultaneously for parallel collaboration.

Prerequisites

Requires Node.js 20 or later, including the MCP host's npx environment. Agent CLIs may have additional requirements of their own.

agent-link-mcp spawns other AI agents as CLI subprocesses. You need to install and authenticate the agent CLIs you want to collaborate with:

AgentInstallAuth
Claude Codenpm install -g @anthropic-ai/claude-codeclaude login
Codexnpm install -g @openai/codexcodex login
Gemini CLInpm install -g @google/gemini-cliRun gemini and follow the sign-in prompt
Aiderpip install aider-chatSet OPENAI_API_KEY or ANTHROPIC_API_KEY

You only need the ones you plan to use. agent-link-mcp auto-detects which CLIs are installed.

Install

# Claude Code

claude mcp add agent-link npx agent-link-mcp

Codex

codex mcp add agent-link npx agent-link-mcp

Any MCP client

npx agent-link-mcp

Note: Only the agent you're working in needs this MCP server installed. The other agents are spawned as subprocesses — they don't need agent-link-mcp.

Tools

spawn_agent

Spawn an agent and send it a task.

{

"agent": "codex", "task": "Refactor this function for better performance", "context": { "files": ["src/utils.ts"], "error": "TypeError: Cannot read property 'x' of undefined", "intent": "Performance improvement" }, "model": "o3", "timeoutMs": 7200000 }

ParameterTypeDefaultDescription
agentstring*required*Agent name ("claude", "codex", "gemini", "aider")
taskstring*required*Task description
contextobject—Optional { files, error, intent, diff }. diff: true includes git diff output. diff: "staged" for staged only.
cwdstringcwdWorking directory for the agent process
modelstring—Model to use (e.g. "o3", "gpt-5.4", "claude-sonnet-4", "gemini-2.5-pro"). Passed via --model flag.
thinkingstring—Thinking/reasoning depth; supported values depend on the selected CLI and model. Claude: --effort, Codex: -c model_reasoning_effort, Aider: --reasoning-effort.
retrybooleanfalseAuto-retry on failure (up to 3 attempts).
escalatebooleanfalseOn retry, automatically increase thinking level. Requires retry: true.
timeoutMsnumber3600000Timeout in ms. Default: 1 hour.

Returns one of:

  • { status: "done", agentId: "codex-a1b2c3", result: "..." } — task completed
  • { status: "waiting_for_reply", agentId: "codex-a1b2c3", question: "..." } — agent needs clarification
  • { error: "...", agentId: "codex-a1b2c3" } — something went wrong
spawn_agents

Run multiple agents in parallel. Returns all results together.

{

"agents": [ { "agent": "codex", "task": "Review for bugs", "context": { "diff": true } }, { "agent": "claude", "task": "Review for security", "context": { "diff": true } } ], "cwd": "/path/to/project" }

Returns { summary: { total, succeeded, failed, waiting }, results: [...] }.

reply

Answer a spawned agent's question and continue the conversation.

{

"agentId": "codex-a1b2c3", "message": "Yes, you can remove the side effects" }

kill_agent

Abort a running agent session.

{

"agentId": "codex-a1b2c3" }

list_agents

List available agent CLIs.

{

"agents": [ { "name": "claude", "command": "claude", "source": "auto", "available": true }, { "name": "codex", "command": "codex", "source": "auto", "available": true }, { "name": "gemini", "command": "gemini", "source": "auto", "available": false } ] }

get_status

Get active agent sessions.

{

"sessions": [ { "agentId": "codex-a1b2c3", "agent": "codex", "status": "waiting_for_reply", "startedAt": "..." } ] }

How It Works

You (using Claude Code)

↓ "Ask Codex to help with this refactoring" ↓ Claude Code → spawn_agent("codex", task, context) ↓ agent-link-mcp server → spawns codex CLI as subprocess ↓ Codex processes the task... ↓ Codex: "[QUESTION] Should I remove the side effects?" ↓ agent-link-mcp → parses response → returns to Claude Code ↓ Claude Code → reply("codex-a1b2c3", "Yes, remove them") ↓ agent-link-mcp → re-invokes Codex with accumulated context ↓ Codex: "[RESULT] Refactoring complete. Here's what I changed..." ↓ Claude Code receives the result and continues working

Configuration

Custom profiles using outputFormat: "json" must emit a single result object with a string result field (the Claude print-mode format). is_error: true or an error subtype is treated as failure; metadata is not included in the conversation.

Auto-detection

agent-link-mcp automatically detects installed agent CLIs:

AgentCLI Command
Claude Codeclaude
Codexcodex
Geminigemini
Aideraider
Custom agents

Add custom agents via config file at ~/.agent-link/config.json:

{

"agents": { "codex": { "command": "/usr/local/bin/codex", "args": ["--full-auto"], "promptFlag": null, "outputFormat": "text" }, "my-local-llm": { "command": "ollama", "args": ["run", "codellama"], "promptFlag": null, "outputFormat": "text" } } }

Override config path with AGENT_LINK_CONFIG environment variable.

Model Selection

You can specify which model the spawned agent should use via the model parameter:

# Use a specific model for Codex

spawn_agent("codex", "Debug this issue", { model: "o3" })

Use a specific model for Claude

spawn_agent("claude", "Review this code", { model: "claude-sonnet-4" })

The model name is passed to the agent CLI via its --model flag. If omitted, the agent uses its default model.

Thinking / Reasoning Depth

Control how deeply the agent reasons with the thinking parameter:

# High reasoning for complex debugging

spawn_agent("codex", "Debug this race condition", { thinking: "high" })

Max effort for Claude

spawn_agent("claude", "Architect a new auth system", { thinking: "max" })

AgentFlagValues
Claude--effortlow, medium, high, max
Codex-c model_reasoning_effortModel-dependent, e.g. low, medium, high, xhigh
Aider--reasoning-effortlow, medium, high

If omitted, the agent uses its default reasoning level.

Timeout

Default timeout is 1 hour (3,600,000ms). You can override per-call:

# 2 hour timeout for complex tasks

spawn_agent("codex", "Refactor the entire auth system", { timeoutMs: 7200000 })

Conversation Protocol

Spawned agents receive instructions to format their responses:

  • [QUESTION] ... — needs clarification from the host agent
  • [RESULT] ... — task completed

If the agent doesn't follow the format, the entire output is treated as a result.

Development

Run npm ci, npm run build, and npm test locally. Tests use offline Node.js fixtures and do not call model providers. CI is manual (workflow_dispatch) and requires an available self-hosted runner; pushes and pull requests do not start GitHub-hosted jobs.

License

MIT

问 PopNx