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/package.json
Robert 09b588326c
All checks were successful
build / test (push) Successful in 28s
publish / npm (push) Successful in 32s
release: 0.1.5 — SSE-stream tools/call to dodge ingress timeout
agent-builder.build (and any long-running skill) takes minutes — LLM
loop + sandbox tests + deploy + wait-for-live-card. A plain JSON POST
to /mcp gets killed by ingress idle timeouts (~60s on traefik) and the
gateway sees "fetch failed" while the upstream is still running.

UpstreamAgent.callTool now negotiates ``Accept: text/event-stream`` on
tools/call. We drain SSE frames, return the final tools/call result,
and fall back to plain JSON if the upstream doesn't speak SSE (older
a2a-pack). Elicit relaying isn't wired yet; for now any
elicitation/create frame is ignored.

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

36 lines
855 B
JSON

{
"name": "a2amcp",
"version": "0.1.5",
"description": "MCP gateway for a2acloud agents. Run as a local MCP server; expose any number of deployed A2A agents to Claude Code, Cursor, and other MCP clients.",
"type": "module",
"bin": {
"a2amcp": "dist/cli.js",
"a2a-mcp": "dist/cli.js"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"engines": {
"node": ">=18.17"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"prepare": "npm run build",
"test": "node --test --import tsx tests/*.test.ts",
"dev": "tsx src/cli.ts"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.4",
"commander": "^12.1.0"
},
"devDependencies": {
"@types/node": "^20.12.0",
"tsx": "^4.19.0",
"typescript": "^5.5.0"
},
"license": "Apache-2.0"
}