原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

A2A to MCP bridge

作者:AmirK-S版本 0.1.0i★ 2i在你的电脑上运行
注册名称io.github.AmirK-S/a2a-to-mcp

安装方法

What it does

A2A v1.0.1 agents as MCP 2026-07-28 tools, with the tasks extension

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 其他

安装

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

通过 3/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "a2a-to": {
          "command": "npx",
          "args": [
            "-y",
            "a2a-to-mcp",
            "--config",
            "your-value",
            "--port",
            "8931"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 A2A to MCP bridge 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 A2A to MCP bridge,或回答中出现 A2A to MCP bridge 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 A2A to MCP bridge

A2A to MCP bridge 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 A2A to MCP bridge 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

B · 其他 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user a2a-to -- npx -y a2a-to-mcp --config your-value --port 8931
  4. 在 Claude Code 中输入 /mcp

    应能看到 A2A to MCP bridge 在列表中并显示已连接

  5. 试一试

    用 A2A to MCP bridge 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 A2A to MCP bridge,或回答中出现 A2A to MCP bridge 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 Cursor 的 MCP 设置文件

    ~/.cursor/mcp.json

    粘贴这些设置,填写空着的值并保存

    {
      "mcpServers": {
        "a2a-to": {
          "command": "npx",
          "args": [
            "-y",
            "a2a-to-mcp",
            "--config",
            "your-value",
            "--port",
            "8931"
          ]
        }
      }
    }
  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 A2A to MCP bridge 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 A2A to MCP bridge,或回答中出现 A2A to MCP bridge 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 VS Code 的 MCP 设置文件

    MCP: Open User Configuration

    粘贴这些设置,填写空着的值并保存

    {
      "servers": {
        "a2a-to": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "a2a-to-mcp",
            "--config",
            "your-value",
            "--port",
            "8931"
          ]
        }
      }
    }
  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 A2A to MCP bridge 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 A2A to MCP bridge,或回答中出现 A2A to MCP bridge 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 A2A to MCP bridge 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user a2a-to -- npx -y a2a-to-mcp --config your-value --port 8931

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "a2a-to": {
      "command": "npx",
      "args": [
        "-y",
        "a2a-to-mcp",
        "--config",
        "your-value",
        "--port",
        "8931"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "a2a-to": {
      "command": "npx",
      "args": [
        "-y",
        "a2a-to-mcp",
        "--config",
        "your-value",
        "--port",
        "8931"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "a2a-to": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "a2a-to-mcp",
        "--config",
        "your-value",
        "--port",
        "8931"
      ]
    }
  }
}

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

一览

每周下载量i
34/周
许可证i
Apache-2.0
连接方式
在你的电脑上运行
传输方式
streamable-http
最新版本i
0.1.0
分类i
其他
发布到注册中心i
2026年9月6日
代码最后更新i
2026年9月6日
作者
AmirK-S
软件包
npm: a2a-to-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于2个月前

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

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

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

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

常见问题

A2A to MCP bridge 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:World Monitor, Claude Flow, Windmill

同类别的其他选择

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

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

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 104 tools.

作者:koala73广泛使用★ 9万今天更新

在云端运行✓ 服务方 · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

作者:ruvnet广泛使用↓ 1.4万/周★ 8.1万14个月前更新

在你的电脑上运行

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

作者:windmill-labs广泛使用★ 1.9万今天更新

在云端运行

作者的 README

打开 README

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

a2a-to-mcp

A2A v1.0.1 agents exposed as MCP tools on a stateless MCP 2026-07-28 server, with the io.modelcontextprotocol/tasks extension.

Point the bridge at one or more A2A agents by their agent card. Any MCP client, Claude Code or Cursor among them, then sees four ordinary tools: discover an agent, send it a message, read a task, cancel a task. The bridge translates parts, artifacts, task states and errors between the two protocols and says out loud what it cannot translate.

SurfaceVersion servedPinned dependency
MCP, modern route2026-07-28 via server/discover, no session, per-request _meta@modelcontextprotocol/server 2.0.0
MCP, legacy route2025-11-25 via initialize, same endpointsame
MCP tasks extensionio.modelcontextprotocol/tasks schema 2026-07-28, modern route onlynone, served by the bridge
A2A1.0 (A2A-Version: 1.0), JSON-RPC binding@a2a-js/sdk 1.1.0

Node 20 or later. Apache-2.0.

Quick start

npm install -g a2a-to-mcp

Or run it from the repository:

git clone https://github.com/AmirK-S/a2a-to-mcp.git && cd a2a-to-mcp && npm ci && npm run build

Write agents.json, one alias per agent, by base URL or by card URL:

{

"agents": { "hello": { "url": "http://localhost:9999" }, "planner": { "cardUrl": "https://planner.example.org/.well-known/agent-card.json" } }, "port": 8931 }

Run it:

node dist/cli.js --config agents.json

The bridge listens on http://127.0.0.1:8931/mcp. Only loopback hosts are accepted in the Host and Origin headers unless allowedHosts is set in the configuration. There is no authentication in this version, on either side.

Claude Code

Add to .mcp.json at the root of the project, which is the block the bridge prints on startup:

{

"mcpServers": { "a2a-to-mcp": { "type": "http", "url": "http://127.0.0.1:8931/mcp" } } }

Claude Code negotiates 2026-07-28 through server/discover since its v2 runtime, documented from 2.1.232 and measured here with 2.1.263. Older versions fall back to initialize and get the same four tools on the legacy route. A full annotated trace of a Claude Code session against the bridge, discovery, a task with an artifact and an elicitation round trip, is in docs/DEMO-CLAUDE-CODE.md. In headless mode (claude -p) there is nobody to answer an elicitation, so Claude Code cancels it and the bridge cancels the A2A task; the interactive mode asks the user.

Cursor

Add to .cursor/mcp.json:

{

"mcpServers": { "a2a": { "url": "http://localhost:8931/mcp" } } }

Cursor speaks 2025-11-25 and is served through initialize on the same endpoint.

The four tools

Every tool takes the agent alias as its first argument when several agents are configured; with a single agent the alias may be omitted and defaults to it.

ToolArgumentsReturns
a2a_discoveragentthe agent card as the agent served it, after a structural check, in structuredContent, with a text summary and the card URL in _meta
a2a_send_messageagent, text, contextHandle?, taskHandle?the agent reply, see the result contract below
a2a_get_taskagent, taskHandle, historyLength?the task envelope with its history
a2a_cancel_taskagent, taskHandlethe task envelope after the cancellation request
Calling a tool on the wire

The argument that carries the message is text. A complete tools/call on the 2026-07-28 route, as an MCP client sends it:

curl -sS http://127.0.0.1:8931/mcp \

-H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -H 'MCP-Protocol-Version: 2026-07-28' \ -H 'Mcp-Method: tools/call' \ -H 'Mcp-Name: a2a_send_message' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{ "_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28", "io.modelcontextprotocol/clientCapabilities":{}}, "name":"a2a_send_message", "arguments":{"agent":"hello","text":"task: hello world"}}}'

A run against a public A2A agent, with the one mistake a first user makes, is in docs/USAGE-REEL.md.

Result contract

Each reply is a CallToolResult whose content holds the translated parts and whose structuredContent is an envelope:

{

"kind": "task", "contextHandle": "cx_...", "taskHandle": "tk_...", "a2aState": "TASK_STATE_COMPLETED", "status": "completed", "note": "present when the mapping lost information", "artifacts": [{ "artifactId": "...", "name": "result" }], "data": {} }

data holds the single A2A data part of the artifacts, and is absent when there is none or more than one. history is added by a2a_get_task only.

kind is message for a direct A2A message and task when the agent opened a task. Handles are opaque strings minted by the bridge, never A2A identifiers; they hide the bridge table, not what an agent chooses to write in its own messages. They live in memory for fifteen minutes after their last use by default (handleTtlMs), and an expired or unknown handle returns an explicit error. Pass contextHandle back to stay in the same conversation, and taskHandle back to answer a task the agent left waiting for input.

An agent failure (FAILED, REJECTED, AUTH_REQUIRED), and a task the agent left in the unspecified state, is a tool execution error: isError: true, the agent text in content, the A2A state and a note in the envelope. A typed A2A error (codes -32001 to -32009) is also a tool execution error, with the code in structuredContent.a2aErrorCode. The bridge never re-emits an A2A error code as a JSON-RPC code. JSON-RPC reserves -32000 to -32099 for server-defined errors, MCP already uses -32020, -32021 and -32022 in that band, and an A2A code replayed there would claim an MCP meaning it does not have.

Long-running tasks

With the tasks extension

A client that declares io.modelcontextprotocol/tasks in the per-request clientCapabilities.extensions gets a CreateTaskResult from a2a_send_message as soon as the agent opens a task, then polls tasks/get and may call tasks/update and tasks/cancel. The bridge consumes SendStreamingMessage in the background when the card announces streaming, and GetTask otherwise.

A2A TaskStateMCP TaskStatus on tasks/getWhat is lost
SUBMITTEDworkingMCP has no accepted but not started state; statusMessage says so
WORKINGworkingnothing
INPUT_REQUIREDinput_required with one synthesized form elicitationA2A asks in free text; the form has a single string field
COMPLETEDcompleted, result is the full CallToolResultnothing
FAILED, REJECTED, AUTH_REQUIREDcompleted, result.isError is truea refusal and an authorization request become indistinguishable from a failure without the envelope
CANCELEDcancellednothing, mind the spelling
unspecifiedcompleted, result.isError is trueA2A sent no lifecycle at all; the bridge does not guess one
bridge cannot reach the task any morefailed with a JSON-RPC error, A2A code in error.data

AUTH_REQUIRED is deliberately not mapped to input_required: MCP forbids form elicitation for credentials, and A2A asks for out-of-band authorization. The agent text, which usually carries the URL to visit, is returned in the result.

The extension is served on the 2026-07-28 route only. On the legacy route, tasks/* answer -32021 with the required capability. As of 2026-09-06, the two clients measured against this bridge, Claude Code and Cursor, do not declare the extension. It is exercised by the test suite in this repository and by any client that opts in per request.

CreateTaskResult leaves the bridge with an empty content array in addition to the fields the extension defines. That is a workaround for the reference SDK, which validates every tools/call result against the plain result schema (typescript-sdk issue 2637). The three extension methods are served by a small router in front of the SDK on the modern route, because the SDK answers -32601 to tasks/get and tasks/cancel before consulting its handlers (typescript-sdk issue 2598), and splitting the three across two layers would let them drift. Both workarounds are isolated and will be removed when the SDK moves.

Without the extension

a2a_send_message waits for the agent to reach a terminal or interrupted state and answers inline. A task left in INPUT_REQUIRED comes back:

  • as a multi-round-trip input_required result with one form elicitation, for a client that declares elicitation, which then replays the call with the answer;
  • as an ordinary result whose envelope says input_required and carries the taskHandle, for any other client, which then sends the answer with that handle.

What crosses the bridge, and what does not

Parts:

A2A PartMCP content block
textTextContent
dataTextContent holding the JSON, flagged in _meta; also structuredContent.data when it is the only data part of the task artifacts
urlResourceLink with filename as name and mediaType as mimeType
raw, image or audio media typeImageContent or AudioContent in base64
raw, other media typeembedded blob resource under an a2a://part/ URI

filename, artifact identity and name, message and context identifiers travel in _meta["io.github.amirk-s/a2a"] on each block.

Not carried, by design: push notifications (no webhook in MCP), agent card signatures, securitySchemes, streaming events as such (accumulated into the task), ListTasks (handles replace it), and any routing of free text to a skill. The bridge calls no language model and keeps nothing on disk.

Conformance

Read the score with its cause: on the 2026-07-28 run, 32 of the 37 scored scenarios have at least one check that is not green, 29 with a failure and 3 with warnings only. Nineteen call tool names written into the suite, and 13 exercise prompts, resources or completions, which a bridge to A2A agents does not declare; logging is not among them, it is only scored on 2025-11-25. The suite counts both families as failures on purpose, and points at the expected-failures baseline as the answer (modelcontextprotocol/conformance#248). The run records 67 failing checks and 5 warnings in all, every one of them in the committed baseline with its reason; the suite exits 0 on both revisions, and the protocol checks that apply to a bridge are green: wire schema, server/discover, the match between the capabilities announced and the handlers mounted, the subscriptions/listen acknowledgement, SEP-2243 headers, DNS rebinding protection. The numbers are in conformance/REPORT.md, regenerated by the command below.

npm run conformance replays the official suite, @modelcontextprotocol/conformance at 0.2.0-alpha.11, for 2026-07-28 and 2025-11-25, with a baseline of expected failures where every line carries its reason. The report is in conformance/REPORT.md.

What the suite proves: every message the bridge emits validates against the schema of its revision (wire-schema-valid on both wires), server/discover and the stateless wire behave, header validation of SEP-2243 is enforced, DNS rebinding protection is on. What it cannot measure: the scenarios that call the suite's own fixture tools by name, and the tasks-* scenarios, which a bridge to real agents cannot satisfy without pretending to be the fixture. The tasks ext

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