release: 0.1.3 — add a2amcp bin, sync server/cli version from package.json
All checks were successful
build / test (push) Successful in 29s
publish / npm (push) Successful in 31s

Adds an "a2amcp" bin (alongside the existing "a2a-mcp" for back-compat)
so that npx -y a2amcp resolves the binary by package name. Without it
npx fell back unreliably when no bin matched.

Also rips the hardcoded "0.1.0" out of cli.ts and gateway.ts and reads
the version from package.json — that was why serverInfo lagged behind
the published tag. Renames the user-facing command in help / error
strings / README from a2a-mcp to a2amcp; the legacy bin stays for
existing scripts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-15 20:39:23 -03:00
parent fd71a528e9
commit 633ca5dad6
6 changed files with 34 additions and 24 deletions

View File

@@ -30,14 +30,14 @@ Restart the client after adding or removing agents.
## Commands
```bash
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
a2amcp login # save control-plane credentials
a2amcp whoami # show current account
a2amcp agents # list agents visible to your account
a2amcp add <name> # expose one agent through this gateway
a2amcp list # list locally enabled agents
a2amcp remove <name> # stop exposing an agent
a2amcp doctor # probe enabled agents and count tools
a2amcp logout # clear local credentials
```
Running `a2a-mcp` with no command starts the MCP gateway over stdio.
Running `a2amcp` with no command starts the MCP gateway over stdio.