iterate.com / cloud

git clone https://git.iterate.com/repos/cloud

cloud / internal-packages / installer / wrangler.mcp-relay.jsoncmain at aacbc74

// THE MCP RELAY ALONE (worker/mcp-relay.js), as a dev Worker of its own in the dev and preview
// account: for proving it with a real MCP client against a real deployment, without the wizard
// and its container. The Cloud Worker mounts the same module (worker/main.js, wrangler.jsonc).
//   pnpm exec wrangler deploy -c wrangler.mcp-relay.jsonc
//   node test/mcp-relay-proof.mjs https://iterate-cloud-mcp-relay.iterate-dev-preview.workers.dev <domain> <session.json>
{
  "name": "iterate-cloud-mcp-relay",
  "main": "worker/mcp-relay.js",
  "account_id": "376ef7ed81b0573f93524de763666c15",
  "compatibility_date": "2026-11-04",
  // global_fetch_strictly_public: the library reads a client's metadata document only with it, and
  // a deployment in this same account is reached by its public route
  "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
  "workers_dev": true,
  "preview_urls": false,
  // no invocation logs: they keep each request's URL, and the callback's holds a deployment's code
  "observability": {
    "enabled": true,
    "head_sampling_rate": 1,
    "logs": { "invocation_logs": false },
  },
  // no id: the first deploy makes the namespace
  "kv_namespaces": [{ "binding": "SESSIONS" }],
}