scripts/mcp.js registers the same tools on @modelcontextprotocol/server (2.4.0, with @modelcontextprotocol/node 2.1.2 for node:http; dev dependencies, pinned) instead of its own JSON-RPC loop. stdio works as before; --http [HOST:]PORT serves Streamable HTTP at /mcp, on loopback unless told otherwise. Over HTTP every request's Host must be an address of this machine (or --allow-host), an Origin other than localhost is refused, and a bearer token (SOT_MCP_TOKEN or --token-file) is optional; bound beyond loopback without one, the server warns. load_save and export_save take JSON only there, or files under --save-dir and nowhere else. Calls from every client run one at a time, in order.
33 lines
976 B
JSON
33 lines
976 B
JSON
{
|
|
"name": "seriesoftubes",
|
|
"version": "2.7.0",
|
|
"description": "A cartoon browser game about building the internet.",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"homepage": "https://seriesoftub.es/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/fjaeckel/seriesoftubes.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node scripts/test.js",
|
|
"test:timings": "node scripts/test-timings.js",
|
|
"build": "node scripts/build.js",
|
|
"i18n:check": "node scripts/i18n-check.js",
|
|
"i18n:fix": "node scripts/i18n-check.js --fix",
|
|
"dev": "node scripts/dev.js",
|
|
"page": "node scripts/lib/page.js",
|
|
"serve": "npm run build && npx --yes serve@14.2.4 _site",
|
|
"perf": "node scripts/perf-bench.js",
|
|
"mcp": "node scripts/mcp.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/node": "2.1.2",
|
|
"@modelcontextprotocol/server": "2.4.0",
|
|
"jsdom": "24.1.3",
|
|
"playwright-core": "1.56.0"
|
|
}
|
|
}
|