From 3cc7287fe9a8041e14a9e869598230627824b3e4 Mon Sep 17 00:00:00 2001 From: Abdelrahman Essawy Date: Wed, 22 Jul 2026 00:20:04 +0300 Subject: [PATCH] fix(docs): drop the inert bare /mcp redirect /docs/mcp is Mintlify's own hosted MCP server endpoint for this site, not a page. It is POST-only JSON-RPC, so a GET correctly returns 405, and the platform route wins over anything in the redirects table. Confirmed against production: a JSON-RPC initialize returns serverInfo {"name":"Rendobar"}. The /mcp -> /mcp-server rule added in #52 therefore never fires. It was covering for a 405 that is not a defect. Leaving it in place would tell the next person reading this file that /docs/mcp redirects, and validate-nav passes it because the destination is a real page. The actual fix from #52 is unaffected: /mcp/:slug* still sends every /docs/mcp/ URL to /mcp-server. Verified live. --- docs.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs.json b/docs.json index e3240ad..17e7fa2 100644 --- a/docs.json +++ b/docs.json @@ -151,10 +151,6 @@ "source": "/cli/:slug*", "destination": "/cli" }, - { - "source": "/mcp", - "destination": "/mcp-server" - }, { "source": "/mcp/:slug*", "destination": "/mcp-server"