You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai/model-context-protocol.mdx
+17-23Lines changed: 17 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,27 +14,34 @@ Your MCP server exposes a search tool for AI applications to query your document
14
14
15
15
### How MCP servers work
16
16
17
-
When an MCP server is connected to an AI tool, the LLM can decide to use your documentation search tool during response generation.
17
+
When an AI tool like Claude, Cursor, or ChatGPT has your documentation MCP server connected, the AI tool can search your documentation directly during response generation rather than doing a generic web search.
18
18
19
19
- The LLM can proactively search your documentation while generating a response, not just when explicitly asked.
20
20
- The LLM determines when to use the search tool based on the context of the conversation and the relevance of your documentation.
21
21
- Each tool call happens during the generation process, allowing the LLM to incorporate real-time information from your documentation into its response.
22
22
23
23
For example, if a user asks a coding question and the LLM determines that your documentation is relevant, it can search your documentation and include that information in the response without the user explicitly asking about your documentation.
24
24
25
-
## Accessing your MCP server
25
+
## Access your MCP server
26
26
27
27
<Note>
28
-
MCP servers can only be generated for public documentation. Documentation behind end-user authentication cannot be accessed for server generation.
28
+
MCP servers are only available for public documentation. Documentation behind end-user authentication cannot generate an MCP server.
29
29
</Note>
30
30
31
31
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`.
32
32
33
-
You can see and copy your MCP server URL in your [dashboard](https://dashboard.mintlify.com/products/mcp).
33
+
View and copy your MCP server URL on the [MCP server page](https://dashboard.mintlify.com/products/mcp) in your dashboard.
34
34
35
-
The `/mcp` path is reserved for hosted MCP servers and cannot be used for other navigation elements.
35
+
<Frame>
36
+
<imgsrc="/images/mcp/mcp-server-page-light.png"alt="MCP server page in the dashboard."className="block dark:hidden" />
37
+
<imgsrc="/images/mcp/mcp-server-page-dark.png"alt="MCP server page in the dashboard."className="hidden dark:block" />
38
+
</Frame>
36
39
37
-
## Using your MCP server
40
+
<Note>
41
+
Hosted MCP servers use the `/mcp` path in their URLs. Other navigation elements cannot use the `/mcp` path.
42
+
</Note>
43
+
44
+
## Use your MCP server
38
45
39
46
Your users must connect your MCP server to their preferred AI tools.
40
47
@@ -99,7 +106,7 @@ See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-co
99
106
100
107
1. Use <kbd>Command</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows) to open the command palette.
101
108
2. Search for "Open MCP settings".
102
-
3. Select **Add custom MCP**. This will open the `mcp.json` file.
109
+
3. Select **Add custom MCP**. This opens the `mcp.json` file.
103
110
4. In `mcp.json`, configure your server:
104
111
105
112
```json
@@ -144,9 +151,9 @@ See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-co
144
151
</Tab>
145
152
</Tabs>
146
153
147
-
### Example: Connecting to the Mintlify MCP server
154
+
### Example: Connect to the Mintlify MCP server
148
155
149
-
Connect to the Mintlify MCP server to search our documentation. This will give you more accurate answers about how to use Mintlify in your local environment and demonstrates how you can help your users connect to your MCP server.
156
+
Connect to the Mintlify MCP server to search this documentation site within your preferred AI tool. This gives you more accurate answers about how to use Mintlify in your local environment and demonstrates how you can help your users connect to your MCP server.
150
157
151
158
<Tabs>
152
159
<Tabtitle="Contextual menu">
@@ -201,7 +208,7 @@ To connect the Mintlify MCP server to Cursor, click the **Install in Cursor** bu
201
208
<Steptitle="Open MCP settings">
202
209
1. Use <kbd>Command</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows) to open the command palette.
203
210
2. Search for "Open MCP settings".
204
-
3. Select **Add custom MCP**. This will open the `mcp.json` file.
211
+
3. Select **Add custom MCP**. This opens the `mcp.json` file.
205
212
</Step>
206
213
<Steptitle="Configure the Mintlify MCP server">
207
214
In `mcp.json`, add:
@@ -243,16 +250,3 @@ To connect the Mintlify MCP server to VS Code, click the **Install in VS Code**
243
250
See the [VS Code documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more details.
244
251
</Tab>
245
252
</Tabs>
246
-
247
-
248
-
249
-
## Monitoring your MCP server
250
-
251
-
You can view all available MCP tools in the **Available tools** section of the [MCP Server page](https://dashboard.mintlify.com/products/mcp) in your dashboard.
252
-
253
-
<Frame>
254
-
<imgsrc="/images/mcp/mcp-server-page-light.png"alt="MCP dashboard with Available tools section emphasized"className="block dark:hidden" />
255
-
<imgsrc="/images/mcp/mcp-server-page-dark.png"alt="MCP dashboard with Available tools section emphasized"className="hidden dark:block" />
0 commit comments