mattrguerra/meridian-orders-mcpmainPrivate on GitHub, published here in full

wrangler.jsonc

Language JSON1.2 KB32 lines

mcp-server/wrangler.jsonc

  1. {
  2. "$schema": "node_modules/wrangler/config-schema.json",
  3. "name": "meridian-orders-mcp",
  4. "main": "src/worker.ts",
  5. "compatibility_date": "2026-07-01",
  6. // McpAgent + the Plinth client run on Web-standard APIs; nodejs_compat covers
  7. // the few Node shims the Agents SDK expects.
  8. "compatibility_flags": ["nodejs_compat"],
  9. "observability": {
  10. "enabled": true
  11. },
  12. // Each MCP session is a Durable Object instance (McpAgent). SQLite-backed
  13. // classes are required by the Agents SDK. RATE_LIMITER is a single shared
  14. // instance enforcing the global 10/10s cap across all sessions.
  15. "durable_objects": {
  16. "bindings": [
  17. { "name": "PLINTH_MCP", "class_name": "PlinthMcp" },
  18. { "name": "RATE_LIMITER", "class_name": "RateLimiterDO" }
  19. ]
  20. },
  21. "migrations": [
  22. { "tag": "v1", "new_sqlite_classes": ["PlinthMcp"] },
  23. { "tag": "v2", "new_sqlite_classes": ["RateLimiterDO"] }
  24. ],
  25. // Non-secret config. The API key is a SECRET; set it out of band with:
  26. // wrangler secret put PLINTH_API_KEY
  27. // Keep PLINTH_ALLOW_LIVE_REQUESTS "false" until live calls are intended.
  28. "vars": {
  29. "PLINTH_API_BASE_URL": "https://orders.meridiandisplay.example/api/v2/dispatch",
  30. "PLINTH_ALLOW_LIVE_REQUESTS": "false"
  31. }
  32. }