A2A通信桥接器

l27716077/A2AMCPServer
0 Stars 8 次浏览 阿里郎 更新于 2026-08-23

这是一个MCP服务器,它桥接到A2A Agent协议,使得MCP客户端能够调用A2A Agent。支持发送任务、查询Agent记忆、获取能力列表以及搜索GitHub。

该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

A2A MCP Server

一个MCP Server,桥接到A2A Agent协议,让MCP客户端能够调用A2A Agent。

功能

  • a2a_send_task - 发送任务给A2A Agent
  • a2a_query_memory - 查询Agent记忆
  • a2a_get_capabilities - 获取Agent能力列表
  • a2a_search_github - 搜索GitHub

环境变量

  • A2A_AGENT_URL - A2A Agent地址
  • A2A_AGENT_NAME - Agent名称

使用方式

npm install
npm run build
npm start

ModelScope部署

在ModelScope MCP平台上部署:

  1. GitHub地址:https://github.com/YOUR_USERNAME/a2a-mcp-server
  2. 托管类型:仅本地可用
  3. 部署后将获得MCP端点

MCP客户端使用

{
  "mcpServers": {
    "a2a": {
      "command": "node",
      "args": ["/path/to/dist/index.js"],
      "env": {
        "A2A_AGENT_URL": "http://YOUR_SERVER:PORT"
      }
    }
  }
}

相关 MCP 服务