A2A通信桥接器
这是一个MCP服务器,它桥接到A2A Agent协议,使得MCP客户端能够调用A2A Agent。支持发送任务、查询Agent记忆、获取能力列表以及搜索GitHub。
服务介绍
A2A MCP Server
一个MCP Server,桥接到A2A Agent协议,让MCP客户端能够调用A2A Agent。
功能
a2a_send_task- 发送任务给A2A Agenta2a_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平台上部署:
- GitHub地址:https://github.com/YOUR_USERNAME/a2a-mcp-server
- 托管类型:仅本地可用
- 部署后将获得MCP端点
MCP客户端使用
{
"mcpServers": {
"a2a": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"A2A_AGENT_URL": "http://YOUR_SERVER:PORT"
}
}
}
}