tiletopia/scripts
megaproxy f3ab54252e scripts: pr4-verify.mjs — end-to-end MCP add_host/delete_host harness
Drives the running MCP server through real HTTP transport to verify the
PR-4 surface end-to-end: safeguard refusal, extraArgs sanitiser, happy
path (with hosts.json side-effect check), delete_host cleanup. Reads
bearer token from %APPDATA%\com.megaproxy.tiletopia\mcp.json, snapshots
+ restores mcp-policy.json so the user's settings survive the run.

Run from D:\dev\tiletopia (Windows host, with the dev app + MCP server
running):
  node scripts/pr4-verify.mjs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 16:53:22 +01:00
..
make-icon.py M5 ship infrastructure: icon, version, release script, README 2026-05-22 13:38:29 +01:00
pr4-verify.mjs scripts: pr4-verify.mjs — end-to-end MCP add_host/delete_host harness 2026-05-26 16:53:22 +01:00
release.sh M5 ship infrastructure: icon, version, release script, README 2026-05-22 13:38:29 +01:00