Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
26 lines
899 B
JSON
26 lines
899 B
JSON
{
|
|
"name": "@mcp-examples/gateway",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"server": "tsx server.ts",
|
|
"client": "tsx client.ts"
|
|
},
|
|
"dependencies": {
|
|
"@mcp-examples/shared": "workspace:*",
|
|
"@modelcontextprotocol/client": "workspace:*",
|
|
"@modelcontextprotocol/node": "workspace:*",
|
|
"@modelcontextprotocol/server": "workspace:*",
|
|
"zod": "catalog:runtimeShared"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "catalog:devTools"
|
|
},
|
|
"example": {
|
|
"transports": [
|
|
"http"
|
|
],
|
|
"era": "modern",
|
|
"//": "connect({ prior }) is zero-round-trip on 2026-07-28 only — the legacy era still needs initialize. HTTP-only because the proof counts per-request factory calls (createMcpHandler builds one server instance per request); on stdio the factory is per-connection."
|
|
}
|
|
}
|