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
description: "[MCP](https://modelcontextprotocol.io/introduction) simplifies how you provide tools to LLMs"
3
+
description: "Generate an MCP server to help connect your product to LLMs"
4
4
---
5
5
6
6
## Introduction
@@ -11,6 +11,7 @@ Mintlify enables you to create an MCP server that allows AI tools to interact wi
11
11
12
12
1.**Docs Q&A**, similar to our AI Chat. This is automatically enabled for your docs, no setup required.
13
13
2.**Real-time API querying**, if you have an OpenAPI spec, head to the `Mintlify Dashboard > Products > MCP Server` and hit the toggle to enable your OpenAPI spec.
14
+
14
15
<Note>
15
16
By enabling the OpenAPI toggle, you are allowing the MCP server to access
16
17
**all** endpoints in your OpenAPI spec.
@@ -19,7 +20,7 @@ Mintlify enables you to create an MCP server that allows AI tools to interact wi
19
20
## Install the MCP server
20
21
21
22
<Tip>
22
-
This page is dedicated to the Mintlify MCP Server. If you are looking for information on generating your MCP, please refer to the [MCP Generator](/advanced/mcp/generate) page.
23
+
This page is dedicated to the Mintlify MCP Server. If you are looking for information on generating your MCP, please refer to the [MCP Generator](/advanced/mcp/generate) page.
23
24
</Tip>
24
25
25
26
## Example installation with the Mintlify MCP server
@@ -29,60 +30,66 @@ To use the Mintlify MCP server you will need an [API key](https://mintlify.com/d
29
30
## Start the MCP server locally
30
31
31
32
<Steps>
32
-
<Steptitle="Install the server through the CLI">
33
-
Run the following command to install the server:
34
-
```bash
35
-
npx @mintlify/mcp add mintlify
36
-
```
37
-
</Step>
38
-
<Steptitle="Add the authentication token">
39
-
The following response will be given after running the previous command:
40
-
```
41
-
> What is the Authorization (basic token)?
42
-
```
43
-
Using your API chat key, copy the authentication token and paste it into the CLI.
44
-
45
-
</Step>
46
-
<Steptitle="Start your MCP server">
47
-
You can now run:
48
-
```bash
49
-
npm --prefix ~/.mcp/mintlify start
50
-
```
51
-
</Step>
33
+
<Steptitle="Install the server through the CLI">
34
+
Run the following command to install the server:
35
+
36
+
```bash
37
+
npx @mintlify/mcp add mintlify
38
+
```
39
+
</Step>
40
+
<Steptitle="Add the authentication token">
41
+
The following response will be given after running the previous command:
42
+
43
+
```
44
+
> What is the Authorization (basic token)?
45
+
```
46
+
47
+
Using your API chat key, copy the authentication token and paste it into the CLI.
48
+
</Step>
49
+
<Steptitle="Start your MCP server">
50
+
You can now run:
51
+
52
+
```bash
53
+
npm --prefix ~/.mcp/mintlify start
54
+
```
55
+
</Step>
52
56
</Steps>
53
57
54
58
## Use your server with Claude
55
59
56
60
<Note>
57
-
Download the [Claude Desktop App](https://claude.ai/download)
61
+
Download the [Claude Desktop App](https://claude.ai/download)
58
62
</Note>
59
63
60
64
Once you have the Claude Desktop App installed, follow these steps:
61
65
62
66
<Steps>
63
-
<Steptitle="Navigate to the Settings > Developer" />
64
-
<Steptitle="Click on Edit Config">
65
-
Add the following to the `claude_desktop_config.json`:
66
-
```json
67
-
{
68
-
"mcpServers": {
69
-
"mintlify": {
70
-
"command": "npm",
71
-
"args": [
72
-
"--prefix",
73
-
"~/.mcp/mintlify",
74
-
"start"
75
-
]
76
-
}
77
-
}
78
-
}
79
-
```
80
-
</Step>
81
-
<Steptitle="If you see the hammer icon, you're all set!">
82
-
If you click on it, you should see the available MCP Tools in your server.
0 commit comments