Repository navigation
Move the MCP guide to /mcp-server and redirect page visits from /mcp - #19
Merged
Merged
Conversation
/mcp is the docs MCP endpoint, so the human guide at that path never rendered: browsers got a 405 JSON-RPC error. The guide now lives at /mcp-server, and every navigation entry and link points there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Old links, search results and recoupable.dev/docs/mcp still reach /mcp, which answered people with a 405 JSON-RPC error. Any GET or HEAD that does not accept text/event-stream now gets a 308 to /mcp-server. MCP clients always POST or GET with text/event-stream, so they are unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Keep main's new navigation groups with mcp-server in place of mcp, point the home page's new Connect an AI assistant row at /mcp-server, and regenerate manifest, navigation and llms-full.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
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.
Problem
/mcpis the docs MCP endpoint (search_docs,read_page), so the human MCP guide at that path never rendered. Browsers got405with a JSON-RPC error body. That affected:recoupable.dev/docs/mcp, which Marketing's/docs/:path*redirect forwards hereChange
mcp.mdxtomcp-server.mdx(title "MCP server") and pointed the navigation and all four links at/mcp-server. Regeneratedmanifest.json,navigation.jsonandllms-full.txtwithpnpm docs:build./mcpnow answers anyGET/HEADthat does not accepttext/event-streamwith a308to/mcp-server(newlib/mcp/isBrowserPageRequest.ts). Streamable HTTP clients alwaysPOST, orGETwithAccept: text/event-stream, so MCP traffic is unchanged. Crawlers,curland markdown readers reach the guide;/mcp-serverstill negotiates markdown itself.403. The response carries the existing CORS andCache-Control: no-storeheaders plusVary: Accept.Marketing needs no change:
recoupable.dev/docs/mcp→docs.recoupable.dev/mcp→/mcp-server.Verification
pnpm test(150 passed, including newisBrowserPageRequestcases and a handler test),pnpm type-check,pnpm lint,pnpm build,pnpm docs:check/mcplands on/mcp-serverand the guide renders/mcp-server; no console errorsinitializePOST to/mcpreturns 200 fromrecoup-docsGETwithAccept: text/event-streamis not redirected (unchanged 405)curl /mcpreturns 308 to/mcp-server;Accept: text/markdownfollows through to the guide's markdown/mcp-server, not/mcp🤖 Generated with Claude Code