fix(C6): remove MCP aggregator; slim connect.chitty.cc/mcp (closes #190)#196
fix(C6): remove MCP aggregator; slim connect.chitty.cc/mcp (closes #190)#196chitcommit wants to merge 1 commit into
Conversation
…p without auth Closes #190. - src/index.js: replace mcp.chitty.cc/mcp handler with connect.chitty.cc/mcp, no auth (upstream aggregator gateway authenticates and proxies in) - wrangler.jsonc: drop mcp.chitty.cc/* route from this worker - update stale OAuthProvider comment to reflect new topology The standalone mcp.chitty.cc aggregator service will claim that hostname separately. Outage window: mcp.chitty.cc returns 404 until standalone deploys. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
chittyconnect | 815e478 | May 22 2026, 06:56 AM |
There was a problem hiding this comment.
Pull request overview
This PR removes the mcp.chitty.cc route/handler from the ChittyConnect worker and makes connect.chitty.cc/mcp the primary JSON-RPC MCP entrypoint served directly by the McpConnectAgent Durable Object.
Changes:
- Removed
mcp.chitty.cc/*from the production Cloudflare Worker routes so this worker no longer claims that hostname. - Switched the
/mcpJSON-RPC handler gate frommcp.chitty.cctoconnect.chitty.ccand updated related inline comments/log message.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| wrangler.jsonc | Removes the mcp.chitty.cc/* production route so the worker only serves connect.chitty.cc/*. |
| src/index.js | Routes connect.chitty.cc/mcp to the MCP DO handler and updates OAuth/MCP documentation comments. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // (standalone mcp.chitty.cc service) authenticates and proxies in. | ||
| if (host === "connect.chitty.cc" && url.pathname === "/mcp") { | ||
| try { | ||
| return mcpAgentHandler.fetch(request, env, ctx); |
| // connect.chitty.cc/mcp — ChittyConnect's own slim MCP exposing only | ||
| // connect-specific tools. No auth: the upstream aggregator gateway | ||
| // (standalone mcp.chitty.cc service) authenticates and proxies in. | ||
| if (host === "connect.chitty.cc" && url.pathname === "/mcp") { | ||
| try { | ||
| return mcpAgentHandler.fetch(request, env, ctx); |
| // connect.chitty.cc/mcp — ChittyConnect's own slim MCP exposing only | ||
| // connect-specific tools. No auth: the upstream aggregator gateway | ||
| // (standalone mcp.chitty.cc service) authenticates and proxies in. | ||
| if (host === "connect.chitty.cc" && url.pathname === "/mcp") { |
| "routes": [ | ||
| { "pattern": "connect.chitty.cc/*", "zone_name": "chitty.cc" }, | ||
| { "pattern": "mcp.chitty.cc/*", "zone_name": "chitty.cc" } | ||
| { "pattern": "connect.chitty.cc/*", "zone_name": "chitty.cc" } | ||
| ], |
Summary
mcp.chitty.ccaggregator handler + route from this workerconnect.chitty.cc/mcpbecomes the slim per-service MCP with no auth (upstream aggregator gateway authenticates and proxies in)Closes #190.
Topology
mcp.chitty.cc= standalone aggregator service (NOT this worker) — to claim hostname separatelyconnect.chitty.cc/mcp= ChittyConnect's own MCP exposing connect-specific tools, no auth at this layerOutage window
mcp.chitty.ccreturns 404 until the standalone aggregator deploys.Test plan
connect.chitty.cc/mcpJSON-RPC works without authmcp.chitty.cc/*route no longer claimed by this workermcp.chitty.cc🤖 Generated with Claude Code