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: advanced/mcp/cli.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
1
---
2
-
title: "Installing the MCP Server"
3
-
description: "Learn how to install the Mintlify's MCP Server"
2
+
title: "The Mintlify MCP Server"
3
+
description: "Learn how to install and use the Mintlify's MCP Server"
4
4
---
5
5
<Tip>
6
-
To get started with the MCP server make sure you have an API key. If you don't have one, navigate to `Settings > API Keys > Chat API Key` and create a new key.
6
+
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/overview) page.
7
7
</Tip>
8
8
9
+
## Get started
10
+
To use the Mintlify MCP server you will need an [API key](https://mintlify.com/docs/advanced/rest-api/overview#authentication) from your Mintlify account. If you don't have one, navigate to `Settings > API Keys > Chat API Key` and create a new key.
description: "Learn how to set up your own MCP Server"
4
+
---
5
+
<Tip>
6
+
This page is dedicated to setting up your own MCP Server. If you are looking for information on using the Mintlify MCP Server, please refer to the [Installing and using the Mintlify MCP Server](/advanced/mcp/cli) page.
7
+
</Tip>
8
+
9
+
## Get started
10
+
Run `npm i mcp` to install the `mcp` CLI.
11
+
12
+
In the [dashboard](https://dashboard.mintlify.com/products/mcp) go to `MCP Server` to see your unique installation command. This is the command to install your MCP Server with the `mcp` CLI.
13
+
14
+
## Start the MCP server locally
15
+
<Steps>
16
+
<Steptitle="Install the server through the CLI">
17
+
Run the following command to install the server:
18
+
```bash
19
+
npx mcp add [your subdomain]
20
+
```
21
+
</Step>
22
+
<Steptitle="Add the authentication token if applicable">
23
+
If your API requires an authentication token, tell your end-customer to get it and apply it when given this response:
0 commit comments