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>
23 lines
802 B
JSON
23 lines
802 B
JSON
{
|
|
"name": "@mcp-examples/custom-methods",
|
|
"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": {
|
|
"era": "dual",
|
|
"//": "Vendor-prefixed methods route through both serving entries unchanged: a 2025 client sends the bare JSON-RPC request, a 2026-07-28 client sends it with the per-request envelope; setRequestHandler receives either."
|
|
}
|
|
}
|