chore(chatgpt-gateway): add Deprecation/Sunset headers — retire to mcp.chitty.cc - #66
Conversation
…p.chitty.cc ChatGPT MCP doesn't actually require a unique hostname — the OpenAI MCP spec only needs a valid OAuth issuer + MCP transport endpoint, both of which the canonical mcp.chitty.cc aggregator already exposes (with broader scope coverage and unified audit). Emit standard deprecation signals (RFC 8594 / draft-ietf-httpapi-deprecation) on every response from this gateway: Deprecation: true Sunset: Sat, 15 Aug 2026 00:00:00 GMT Link: <https://mcp.chitty.cc/mcp>; rel="successor-version", <https://mcp.chitty.cc/sse>; rel="alternate" Sunset window: ~3 months for ChatGPT-registered clients to re-discover the canonical issuer at mcp.chitty.cc/.well-known/oauth-authorization-server and dynamic-register fresh credentials. After sunset, this subtree + the mcp-chatgpt.chitty.cc/* route + the chittymcp-gateway worker should be removed. 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 (1)
✨ 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 |
|
@coderabbitai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e20e11962f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…itty.cc (#195) * chore(chatgpt-mcp): add Deprecation/Sunset headers — retire to mcp.chitty.cc The /chatgpt/mcp route inside chittyconnect duplicates capability that belongs at the canonical mcp.chitty.cc aggregator. ChatGPT MCP doesn't require a unique hostname or carve-out — the OpenAI spec only needs a valid OAuth issuer + MCP transport, both already on mcp.chitty.cc with unified audit. Emit standard deprecation signals (RFC 8594) on every response: Deprecation: true Sunset: Sat, 15 Aug 2026 00:00:00 GMT Link: <https://mcp.chitty.cc/mcp>; rel="successor-version", <https://mcp.chitty.cc/sse>; rel="alternate" After sunset, the McpConnectAgent + the /chatgpt/mcp route + the api/routes/chatgpt-mcp.js handler should be removed from chittyconnect. Companion PR: chittyos/chittymcp#66 (mcp-chatgpt.chitty.cc gateway). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(chatgpt-mcp): rebuild response for headers + RFC 9745 Deprecation date Address PR #195 review: - P1: clone the Response before setting deprecation headers — the downstream MCP handler returns a streamed/immutable Response and in-place header mutation can throw. - P2: Deprecation header now uses RFC 9745 structured-field Date (@unix-seconds) instead of the legacy boolean "true". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Emit standard deprecation signals on the ChatGPT-specific MCP gateway. ChatGPT MCP doesn't require a unique hostname — the OpenAI spec only needs a valid OAuth issuer + MCP transport, both already on the canonical `mcp.chitty.cc` aggregator with broader scope coverage and unified audit.
Headers added (every response)
```
Deprecation: true
Sunset: Sat, 15 Aug 2026 00:00:00 GMT
Link: https://mcp.chitty.cc/mcp; rel="successor-version",
https://mcp.chitty.cc/sse; rel="alternate"
```
Retirement plan
Companion PR
chittyos/chittyconnect#TBD also adds deprecation headers to `connect.chitty.cc/chatgpt/mcp` (same retirement target).
No tool/protocol behavior changes; pure response-header addition.