Skip to content

Commit 6e63ccb

Browse files
authored
Allow /api path (#935)
* remove warning to not use `/api` * add info about `/mcp` path and fix passive voice * remove note about reserved paths
1 parent 9330166 commit 6e63ccb

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

ai/model-context-protocol.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ Your MCP server exposes tools for AI applications to search your documentation a
1919
MCP servers can only be generated for public documentation. Documentation behind end-user authentication cannot be accessed for server generation.
2020
</Note>
2121

22-
Your MCP server is automatically generated and hosted at your documentation URL with the `/mcp` path. For example, Mintlify's MCP server is available at `https://mintlify.com/docs/mcp`.
22+
Mintlify automatically generates an MCP server for your documentation and hosts it at your documentation URL with the `/mcp` path. For example, Mintlify's MCP server is available at `https://mintlify.com/docs/mcp`.
2323

2424
You can see and copy your MCP server URL in your [dashboard](https://dashboard.mintlify.com/products/mcp).
2525

26+
The `/mcp` path is reserved for hosted MCP servers and cannot be used for other navigation elements.
27+
2628
## Configuring your MCP server
2729

2830
All MCP servers include the `search` tool by default, allowing users to query information from your docs in other tools.

navigation.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ The [navigation](settings#param-navigation) property in `docs.json` controls the
88

99
With proper navigation configuration, you can organize your content so that users can find exactly what they're looking for.
1010

11-
1211
## Pages
1312

1413
Pages are the most fundamental navigation component. Pages map to the MDX files that make up your documentation.
@@ -632,9 +631,3 @@ When a user expands a navigation group, some themes will automatically navigate
632631
- Set to `true` to force automatic navigation to the first page when a navigation group is selected.
633632
- Set to `false` to prevent navigation and only expand or collapse the group when it is selected.
634633
- Leave unset to use the theme's default behavior.
635-
636-
## FAQ
637-
638-
<Accordion title="What navigation folders should I avoid?">
639-
Do not use `/api` or `/mcp` as root path names (titles or folders). The `/api` and `/mcp` paths are reserved in production and will cause pages to return 404 errors if their URLs contain `/api` or `/mcp`.
640-
</Accordion>

0 commit comments

Comments
 (0)