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
The Model Context Protocol (MCP) is an open protocol that creates standardized connections between AI applications and external services, like documentation. Mintlify generates an MCP server from your documentation and OpenAPI specifications, preparing your content for the broader AI ecosystem where any MCP client (like Claude, Cursor, Goose, and others) can connect to your documentation and APIs.
@@ -122,7 +124,7 @@ These are some of the ways you can help your users connect to your MCP server:
122
124
| :----- | :--------- | :---------- |
123
125
|**Copy MCP server URL**|`mcp`| Copies your MCP server URL to the user's clipboard. |
124
126
|**Open in Cursor**|`cursor`| Installs your MCP server in Cursor. |
125
-
|**Open in VSCode**|`vscode`| Installs your MCP server in VSCode. |
127
+
|**Open in VS Code**|`vscode`| Installs your MCP server in VS Code. |
126
128
</Tab>
127
129
<Tabtitle="Claude">
128
130
<Steps>
@@ -186,13 +188,13 @@ See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-co
186
188
187
189
See the [Cursor documentation](https://docs.cursor.com/en/context/mcp#installing-mcp-servers) for more details.
188
190
</Tab>
189
-
<Tabtitle="VSCode">
191
+
<Tabtitle="VS Code">
190
192
<Steps>
191
193
<Steptitle="Get your MCP server URL.">
192
194
Navigate to your [dashboard](https://dashboard.mintlify.com/products/mcp) and find your MCP server URL.
193
195
</Step>
194
196
<Steptitle="Publish your MCP server URL for your users.">
195
-
Create a guide for your users that includes your MCP server URL and the steps to connect it to VSCode.
197
+
Create a guide for your users that includes your MCP server URL and the steps to connect it to VS Code.
196
198
197
199
1. Create a `.vscode/mcp.json` file.
198
200
2. In `mcp.json`, configure your server:
@@ -210,7 +212,7 @@ See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-co
210
212
</Step>
211
213
</Steps>
212
214
213
-
See the [VSCode documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more details.
215
+
See the [VS Code documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more details.
214
216
</Tab>
215
217
</Tabs>
216
218
@@ -219,57 +221,99 @@ See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-co
219
221
Connect to the Mintlify MCP server to interact with the Mintlify API and 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.
220
222
221
223
<Tabs>
224
+
<Tabtitle="Contextual menu">
225
+
At the top of this page, select the contextual menu and choose **Open in Cursor** or **Open in VS Code** to connect the Mintlify MCP server to the IDE of your choice.
226
+
</Tab>
222
227
<Tabtitle="Claude">
223
228
224
-
To use your MCP server with Claude:
229
+
To use the Mintlify MCP server with Claude:
225
230
226
231
<Steps>
227
-
<Steptitle="Add your MCP server to Claude">
232
+
<Steptitle="Add the Mintlify MCP server to Claude">
228
233
1. Navigate to the [Connectors](https://claude.ai/settings/connectors) page in the Claude settings.
229
234
2. Select **Add custom connector**.
230
-
3. Add your MCP server name and URL.
235
+
3. Add the Mintlify MCP server:
236
+
- Name: `Mintlify`
237
+
- URL: `https://mintlify.com/docs/mcp`
231
238
4. Select **Add**.
232
239
</Step>
233
-
<Steptitle="Access your MCP server in your chat">
234
-
1. When using Claude, select the attachments button (the plus icon).
235
-
2. Select your MCP server.
236
-
3.Query Claude with your MCP server as context.
240
+
<Steptitle="Access the MCP server in your chat">
241
+
1. When using Claude, select the attachments button (the plus icon).
242
+
2. Select the Mintlify MCP server.
243
+
3.Ask Claude a question about Mintlify.
237
244
</Step>
238
245
</Steps>
239
246
240
247
See the [Model Context Protocol documentation](https://modelcontextprotocol.io/docs/tutorials/use-remote-mcp-server#connecting-to-a-remote-mcp-server) for more details.
241
248
249
+
</Tab>
250
+
<Tabtitle="Claude Code">
251
+
252
+
To use the Mintlify MCP server with Claude Code, run the following command:
253
+
254
+
```bash
255
+
claude mcp add --transport http Mintlify https://mintlify.com/docs/mcp
256
+
```
257
+
258
+
Test the connection by running:
259
+
260
+
```bash
261
+
claude mcp list
262
+
```
263
+
264
+
See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-code/mcp#installing-mcp-servers) for more details.
242
265
</Tab>
243
266
<Tabtitle="Cursor">
244
267
245
-
To connect your MCP server to Cursor:
268
+
<PreviewButtonhref="cursor://anysphere.cursor-deeplink/mcp/install?name=mintlify&config=eyJ1cmwiOiJodHRwczovL21pbnRsaWZ5LmNvbS9kb2NzL21jcCJ9">Install in Cursor.</PreviewButton>
269
+
270
+
To connect the Mintlify MCP server to Cursor, click the **Install in Cursor** button. Or to manually connect the MCP server, follow these steps:
246
271
247
272
<Steps>
248
273
<Steptitle="Open MCP settings">
249
274
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.
250
275
2. Search for "Open MCP settings".
251
276
3. Select **Add custom MCP**. This will open the `mcp.json` file.
252
277
</Step>
253
-
<Steptitle="Configure your server">
254
-
In `mcp.json`, configure your server:
278
+
<Steptitle="Configure the Mintlify MCP server">
279
+
In `mcp.json`, add:
255
280
256
-
```json mcp.json example
281
+
```json
257
282
{
258
283
"mcpServers": {
259
-
"server-name": {
260
-
"url": "https://your-docs-site.com/mcp"
284
+
"Mintlify": {
285
+
"url": "https://mintlify.com/docs/mcp"
261
286
}
262
287
}
263
288
}
264
289
```
265
290
</Step>
266
291
<Steptitle="Test the connection">
267
-
In Cursor's chat, you can ask "What tools do you have available?" Cursor should have your documentation search and any configured API endpoints.
292
+
In Cursor's chat, ask "What tools do you have available?" Cursor should show the Mintlify MCP server as an available tool.
268
293
</Step>
269
294
</Steps>
270
295
271
296
See [Installing MCP servers](https://docs.cursor.com/en/context/mcp#installing-mcp-servers) in the Cursor documentation for more details.
272
297
</Tab>
298
+
<Tabtitle="VS Code">
299
+
300
+
<PreviewButtonhref="https://vscode.dev/redirect/mcp/install?name=mintlify&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmintlify.com%2Fdocs%2Fmcp%22%7D">Install in VS Code.</PreviewButton>
301
+
302
+
To connect the Mintlify MCP server to VS Code, click the **Install in VS Code** button. Or to manually connect the MCP server, create a `.vscode/mcp.json` file and add:
303
+
304
+
```json
305
+
{
306
+
"servers": {
307
+
"Mintlify": {
308
+
"type": "http",
309
+
"url": "https://mintlify.com/docs/mcp"
310
+
}
311
+
}
312
+
}
313
+
```
314
+
315
+
See the [VS Code documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more details.
0 commit comments