This repository has been archived on 2026-06-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
a2a-mcp/README.md
Robert fd71a528e9
All checks were successful
build / test (push) Successful in 29s
publish / npm (push) Successful in 33s
release: rename to unscoped a2amcp, bump 0.1.2
Drops the @a2amcp/mcp scope so the npx invocation collapses to
`npx -y a2amcp` — one token instead of two, no scope to register or
remember.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 20:26:09 -03:00

1.0 KiB

a2amcp

MCP gateway for a2acloud agents. It runs locally as a stdio MCP server and exposes deployed A2A agents as tools to Claude Code, Cursor, and other MCP clients.

Quickstart

npx -y a2amcp login
npx -y a2amcp add <agent-name>
npx -y a2amcp doctor

Add it to your MCP client config:

{
  "mcpServers": {
    "a2a": {
      "command": "npx",
      "args": ["-y", "a2amcp"]
    }
  }
}

Restart the client after adding or removing agents.

Commands

a2a-mcp login              # save control-plane credentials
a2a-mcp whoami             # show current account
a2a-mcp agents             # list agents visible to your account
a2a-mcp add <name>         # expose one agent through this gateway
a2a-mcp list               # list locally enabled agents
a2a-mcp remove <name>      # stop exposing an agent
a2a-mcp doctor             # probe enabled agents and count tools
a2a-mcp logout             # clear local credentials

Running a2a-mcp with no command starts the MCP gateway over stdio.