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>
30 lines
971 B
JSON
30 lines
971 B
JSON
{
|
|
"name": "@mcp-examples/legacy-routing",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"server": "tsx server.ts",
|
|
"client": "tsx client.ts"
|
|
},
|
|
"dependencies": {
|
|
"@mcp-examples/shared": "workspace:*",
|
|
"@modelcontextprotocol/client": "workspace:*",
|
|
"@modelcontextprotocol/express": "workspace:*",
|
|
"@modelcontextprotocol/node": "workspace:*",
|
|
"@modelcontextprotocol/server": "workspace:*",
|
|
"cors": "catalog:runtimeServerOnly",
|
|
"express": "catalog:runtimeServerOnly",
|
|
"zod": "catalog:runtimeShared"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "catalog:devTools",
|
|
"tsx": "catalog:devTools"
|
|
},
|
|
"example": {
|
|
"transports": [
|
|
"http"
|
|
],
|
|
"era": "modern",
|
|
"//": "The story body drives BOTH eras itself (one legacy + one modern client against the same port); pinned so the runner invokes it once."
|
|
}
|
|
}
|