wrangler.jsonc
Language JSON1.2 KB32 lines
{"$schema": "node_modules/wrangler/config-schema.json","name": "meridian-orders-mcp","main": "src/worker.ts","compatibility_date": "2026-07-01",// McpAgent + the Plinth client run on Web-standard APIs; nodejs_compat covers// the few Node shims the Agents SDK expects."compatibility_flags": ["nodejs_compat"],"observability": {"enabled": true},// Each MCP session is a Durable Object instance (McpAgent). SQLite-backed// classes are required by the Agents SDK. RATE_LIMITER is a single shared// instance enforcing the global 10/10s cap across all sessions."durable_objects": {"bindings": [{ "name": "PLINTH_MCP", "class_name": "PlinthMcp" },{ "name": "RATE_LIMITER", "class_name": "RateLimiterDO" }]},"migrations": [{ "tag": "v1", "new_sqlite_classes": ["PlinthMcp"] },{ "tag": "v2", "new_sqlite_classes": ["RateLimiterDO"] }],// Non-secret config. The API key is a SECRET; set it out of band with:// wrangler secret put PLINTH_API_KEY// Keep PLINTH_ALLOW_LIVE_REQUESTS "false" until live calls are intended."vars": {"PLINTH_API_BASE_URL": "https://orders.meridiandisplay.example/api/v2/dispatch","PLINTH_ALLOW_LIVE_REQUESTS": "false"}}