A2A MCP 服务器
一个简单的 MCP 服务器,为 Claude Desktop 提供对 A2A 协议代理的访问。
它对开发者更友好,而非生产环境就绪。您可以根据自己的需求进行调整和扩展。但将其原样部署到生产环境中可能并非最佳选择。
概述
该项目旨在将 Claude Desktop 与 A2A(代理到代理)协议代理连接起来,特别是那些使用 pcingola/a2a_min 和 fast-agent 构建的代理。该项目最初是作为个人项目开发的,旨在协助代理开发,同时也是为了好玩。
Related MCP server: MCP Tool
工具
服务器提供了三种 MCP 工具:
a2a_server_registry - 注册或删除 A2A 服务器
{ "action": "add", "name": "security_audit", "url": "http://localhost:8000" }list_agents - 列出所有注册代理及其功能
{}call_agent - 向代理发送提示并获取其响应
{ "agent_name": "security_audit", "prompt": "regismesquita/DevControlMCP" }
工作流程
典型的工作流程是:
使用
a2a_server_registry注册 A2A 服务器使用
list_agents列出可用的代理需要时使用
call_agent呼叫代理
本地测试
该服务器已在本地通过基于 fast-agent 和 a2a_min 构建的安全审计代理进行了测试。它成功使 Claude Desktop 能够与 A2A 代理进行通信。
目的
该桥梁允许 Claude Desktop 与任何 A2A 兼容代理进行交互,通过 MCP 工具界面扩展 Claude 的功能。
截屏
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.