Conversation
…ict (1/3) Mintlify v2 intercepts GET /mcp at CDN level to serve its own MCP manifest JSON — no redirect rule in docs.json can override it. Moving MCP documentation from mcp/ to mcp-server/ eliminates the path conflict entirely so the tab serves real HTML pages. All internal cross-links updated accordingly.
…e mcp/tools/listings pages - Add Content-Type: application/json header parameter (with pre-filled example) to all 90 endpoints that have a JSON request body, so users don't need to type it manually in the API playground - Add missing Accept: application/json header parameter to POST /v1/messenger/export (was the one endpoint without it) - Restore mcp/tools/listings/*.mdx pages that were accidentally removed in previous commits
- Add Content-Type: application/json header parameter (example pre-filled) to all 90 endpoints with a JSON request body so users don't need to type it manually in the API Docs playground - Add missing Accept: application/json header parameter to POST /v1/messenger/export (was the only endpoint without it; all other 162 endpoints already had it)
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
Content-Type: application/jsonas an explicit header parameter withexample: application/jsonto all 90 endpoints that accept a JSON request body. Users no longer need to manually type it in the API playground.Accept: application/jsonheader parameter toPOST /v1/messenger/export(was the only endpoint without it; all 162 other endpoints already had it).mcp/tools/listings/*.mdxpages (overview,get-listing,get-listing-location-status-report,get-listing-category-list,get-product-listing-list) that were accidentally removed in a previous session's commits.Notes on
/mcpredirectThe redirect rule (
/mcp→/mcp/introduction) added in PR #3 already exists indocs.jsonand works correctly in local Mintlify dev. On the hosted Mintlify site, the/mcppath is served by Mintlify's own infrastructure-level MCP manifest endpoint (their AI docs feature), which takes precedence before any app-level redirect can fire. This is a Mintlify platform behaviour — resolving it requires either a Mintlify dashboard setting or contacting Mintlify support to disable/reconfigure their built-in/mcproute for this project.Generated by Claude Code