Conversation
rajat1saxena
requested changes
Jun 13, 2026
85496d8 to
5992935
Compare
clbotdev
pushed a commit
that referenced
this pull request
Jun 13, 2026
Key fixes: - Per-request MCP sessions: each connection gets its own transport + server pair, fixing the 'Server already initialized' error with ChatGPT - CORS middleware on OAuth endpoints (token, register, discovery) - Accept header normalization handles both application/json and text/event-stream for MCP SDK compatibility - Dynamic Client Registration (RFC 7591) at /mcp/register - API key resolution for OAuth bearer token users - Redirect URI validation accepts prefix match for public clients - Dev mode shows OTP directly on the authorize page
clbotdev
pushed a commit
that referenced
this pull request
Jun 13, 2026
- Remove public client fallback — clients must use DCR (RFC 7591) - Exact redirect URI matching (prevents open-redirect via prefix spoofing) - OTP rate limiting (60s cooldown) and max attempt limit (5 tries) - Input validation on pendingId, email, and OTP format - HTML-escape clientId rendered on authorize page - Structured logging replaces noisy console.log/console.warn - Remove dev-only OTP display from authorize page frontend - Generic error messages to prevent internal detail leakage
added 3 commits
June 15, 2026 11:34
…er)" This reverts commit 4a3db2b.
- Fixed OOM during build; - Added docs for MCP;
- MCP (OAuth) will default to the default app
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the Product Requirements Document (PRD) for building an MCP server for the MediaLit API (issue #185).
What's included
apps/api/docs/mcp-server-prd.mdcovering:src/mcp/)Closes #185