Skip to content

Commit 079c1aa

Browse files
committed
rename
1 parent 15f872a commit 079c1aa

File tree

4 files changed

+45
-39
lines changed

4 files changed

+45
-39
lines changed

advanced/mcp/customer-mcp.mdx

Lines changed: 0 additions & 36 deletions
This file was deleted.

advanced/mcp/generate.mdx

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: "Generate your MCP Server"
3+
description: "Learn how to set up your own MCP Server"
4+
---
5+
6+
<Tip>
7+
This page is dedicated to setting up your own MCP Server. If you are looking
8+
for information on using the Mintlify MCP Server, please refer to the
9+
[Installing and using the Mintlify MCP Server](/advanced/mcp/cli) page.
10+
</Tip>
11+
12+
## Get started
13+
14+
Run `npm i mcp` to install the `mcp` CLI.
15+
16+
In the [dashboard](https://dashboard.mintlify.com/products/mcp) go to `MCP Server`, on this page toggle to see your unique installation command. This is the command to install your MCP Server with the `mcp` CLI.
17+
18+
<Note>
19+
Make sure to toggle OpenAPI access to allow the MCP server to access **all**
20+
endpoints in your OpenAPI spec.
21+
</Note>
22+
23+
## Start the MCP server locally
24+
25+
<Steps>
26+
<Step title="Install the server through the CLI">
27+
Run the following command to install the server: ```bash npx mcp add [your
28+
subdomain] ```
29+
</Step>
30+
<Step title="Add the authentication token if applicable">
31+
If your API requires an authentication token, tell your end-customer to get
32+
it and apply it when given this response: ``` > What is the Authorization
33+
(basic token)? ``` Otherwise, you can skip this step.
34+
</Step>
35+
<Step title="Start your MCP server">
36+
You can now run: ```bash npm --prefix ~/.mcp/[your subdomain] start ```
37+
</Step>
38+
</Steps>

advanced/mcp/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Mintlify enables you to create an MCP server that allows AI tools to interact wi
1212
1. **Docs Q&A**, similar to our AI Chat. This is automatically enabled for your docs, no setup required.
1313
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.
1414
<Note>
15-
By toggling the OpenAPI enablement button, you are allowing the MCP server
16-
to access **all** endpoints in your OpenAPI spec.
15+
By enabling the OpenAPI toggle, you are allowing the MCP server to access
16+
**all** endpoints in your OpenAPI spec.
1717
</Note>

docs.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@
141141
{
142142
"group": "Model Context Protocol",
143143
"icon": "server",
144-
"pages": ["advanced/mcp/overview", "advanced/mcp/cli", "advanced/mcp/customer-mcp"]
144+
"pages": [
145+
"advanced/mcp/overview",
146+
"advanced/mcp/cli",
147+
"advanced/mcp/generate"
148+
]
145149
},
146150
{
147151
"group": "REST API",

0 commit comments

Comments
 (0)