Long-running upstream skills emit MCP notifications/progress on the SSE stream. Without forwarding, the gateway swallows them and the MCP client (Claude Code, Cursor) aborts the tools/call on its idle timer after ~60s — even though the HTTP stream stays warm. Gateway now passes the SDK's extra.sendNotification through to UpstreamAgent.callTool. Any non-response frame with a method but no id becomes a notification on the client side. Each tools/call carries a progressToken (client-supplied or request-id fallback) so the client can correlate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
36 lines
855 B
JSON
36 lines
855 B
JSON
{
|
|
"name": "a2amcp",
|
|
"version": "0.1.6",
|
|
"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"
|
|
}
|