Skip to content

Add A2A adapter + manifest v3.0.0 + discovery tool #2

@a6b8

Description

@a6b8

MCP Agent Server: A2A + Manifest v3.0.0

Context: Memo 002-mcp-agent-server. Adds A2A protocol support as optional adapter alongside existing MCP server.

Changes:

  • fromManifest() updated for v3.0.0 (schemas array instead of schemasDir)
  • New public methods: getToolConfig(), callTool()
  • A2A Adapter: Agent Card generator, message/send → MCP tools/call translation
  • A2A Discovery Tool: optional built-in tool in Agent Loop
  • Reference implementation with MCP + A2A
  • Package exports: ./a2a subpath

Affected files:

  • src/AgentToolsServer.mjs (updated)
  • src/agent/AgentLoop.mjs (updated)
  • src/a2a/A2AAdapter.mjs (new)
  • src/a2a/AgentCardGenerator.mjs (new)
  • src/a2a/index.mjs (new)
  • tests/manual/reference-implementation-a2a.mjs (new)
  • package.json (updated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions