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/dashboard/permissions.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ description: 'Allow more members of your team to update your docs'
5
5
6
6
The team member who created your initial docs will have update access to your docs, as long as they push to your documentation repo with the same GitHub account that was used while signing up for Mintlify.
7
7
8
-
If another editor attempts to update the docs while on the free plan, you will see a warning in your git commit check.
8
+
If another editor attempts to update the docs while on the free plan, you will see a warning in your GitHub commit check.
In the details of the git check warning, you'll find the link to upgrade your plan. You can also upgrade your plan on the [dashboard](https://dashboard.mintlify.com) to enable unlimited editors to update your docs. Once you upgrade your plan, trigger a manual update or push another change to deploy your updates.
14
+
In the details of the GitHub commit check warning, you'll find the link to upgrade your plan. You can also upgrade your plan on the [dashboard](https://dashboard.mintlify.com) to enable unlimited editors to update your docs. Once you upgrade your plan, trigger a manual update or push another change to deploy your updates.
15
15
16
-
Learn more about our pricing [here](https://mintlify.com/pricing).
16
+
Learn more about our pricing [here](https://mintlify.com/pricing).
Copy file name to clipboardExpand all lines: advanced/dashboard/sso.mdx
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Single Sign-On (SSO)"
3
3
description: "Customize how your team can login to your admin dashboard"
4
4
---
5
5
6
-
Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Google Workspace, we have provider-specific documentation for setting up SSO, but if you use another provider, please contact us!
6
+
Use Single Sign-On to your dashboard via SAML and OIDC. If you use Okta or Google Workspace, we have provider-specific documentation for setting up SSO. For other providers, please contact us!
7
7
8
8
<Note>
9
9
SSO functionality is available on our Enterprise plan. [Contact
@@ -20,12 +20,12 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
20
20
</Step>
21
21
<Steptitle="Configure integration">
22
22
Enter the following:
23
-
* Single sign-on URL (provided by Mintlify)
23
+
* Single Sign-On URL (provided by Mintlify)
24
24
* Audience URI (provided by Mintlify)
25
25
* Name ID Format: `EmailAddress`
26
26
* Attribute Statements:
27
-
| Name | Name format | Value
28
-
| ---- | ----------- | -----
27
+
| Name | Name format | Value |
28
+
| ---- | ----------- | ----- |
29
29
| `firstName` | Basic | `user.firstName` |
30
30
| `lastName` | Basic | `user.lastName` |
31
31
</Step>
@@ -45,8 +45,8 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
45
45
Select the authorization code grant type and enter the Redirect URI provided by Mintlify.
46
46
</Step>
47
47
<Steptitle="Send us your IdP information">
48
-
Once the application is set up, navigate to the General tab and locate the client ID & client secret.
49
-
Please securely provide us with these, along with your Okta instance URL (e.g. `<your-tenant-name>.okta.com`). You can send these via a service like 1Password or SendSafely.
48
+
Once the application is set up, navigate to the General tab and locate the Client ID & Client Secret.
49
+
Please securely provide us with these, along with your Okta instance URL (e.g.,`<your-tenant-name>.okta.com`). You can send these via a service like 1Password or SendSafely.
50
50
</Step>
51
51
</Steps>
52
52
</Tab>
@@ -58,19 +58,21 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
58
58
<Tabtitle="SAML">
59
59
<Steps>
60
60
<Steptitle="Create an application">
61
-
Under `Web and mobile apps`, select `Add custom SAML app` from the `Add app` dropdown.
61
+
Under `Web and mobile apps`, select `Add custom SAML app` from the `Add app` dropdown.
62
+
62
63
<Frame>
63
64

64
-
</Frame>
65
+
</Frame>
65
66
</Step>
66
67
<Steptitle="Send us your IdP information">
67
-
Copy the provided SSO URL, Entity ID, and x509 certificate and send it to the Mintlify team.
68
+
Copy the provided SSO URL, Entity ID, and X.509 certificate and send it to the Mintlify team.
69
+
68
70
<Frame>
69
-

71
+

70
72
</Frame>
71
73
</Step>
72
74
<Steptitle="Configure integration">
73
-
On the Service provider details page, enter the following:
75
+
On the Service Provider details page, enter the following:
74
76
* ACS URL (provided by Mintlify)
75
77
* Entity ID (provided by Mintlify)
76
78
* Name ID format: `EMAIL`
@@ -83,12 +85,11 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
83
85
On the next page, enter the following attribute statements:
84
86
| Google Directory Attribute | App Attribute |
85
87
| -------------------------- | ------------- |
86
-
| `First name` | `firstName`|
88
+
| `First name` | `firstName` |
87
89
| `Last name` | `lastName` |
88
90
89
91
Once this step is complete and users are assigned to the application, let our team know and we'll enable SSO for your account!
Copy file name to clipboardExpand all lines: advanced/mcp/generate.mdx
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,30 +9,37 @@ description: "Learn how to set up your own MCP Server"
9
9
[Installing and using the Mintlify MCP Server](/advanced/mcp/quickstart) page.
10
10
</Tip>
11
11
12
-
## Get started
12
+
## Get Started
13
13
14
-
Run `npm i mcp` to install the `mcp` CLI.
14
+
Run `npm i mcp` to install the MCP CLI.
15
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.
16
+
In the [dashboard](https://dashboard.mintlify.com/products/mcp), navigate to the `MCP Server` section. On this page, toggle the display to see your unique installation command. This command will install your MCP Server using the MCP CLI.
17
17
18
18
<Note>
19
-
Make sure to toggle OpenAPI access to allow the MCP server to access **all**
20
-
endpoints in your OpenAPI spec.
19
+
Make sure to toggle OpenAPI access to allow the MCP Server to access **all**
20
+
endpoints in your OpenAPI specification.
21
21
</Note>
22
22
23
-
## Start the MCP server locally
23
+
## Start the MCP Server Locally
24
24
25
25
<Steps>
26
26
<Steptitle="Install the server through the CLI">
27
-
Run the following command to install the server: ```bash npx mcp add [your
28
-
subdomain] ```
27
+
Run the following command to install the server:
28
+
```bash
29
+
npx mcp add [your-subdomain]
30
+
```
29
31
</Step>
30
32
<Steptitle="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.
33
+
If your API requires an authentication token, instruct your end-customer to provide it when prompted with this response:
34
+
```bash
35
+
> What is the Authorization (basic token)?
36
+
```
37
+
Otherwise, you can skip this step.
34
38
</Step>
35
-
<Steptitle="Start your MCP server">
36
-
You can now run: ```bash npm --prefix ~/.mcp/[your subdomain] start ```
Copy file name to clipboardExpand all lines: advanced/mcp/quickstart.mdx
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "[MCP](https://modelcontextprotocol.io/introduction) simplifies how
5
5
6
6
## Introduction
7
7
8
-
The MCP Generator is a CLI tool that generates an MCP server based on your company's documentation & OpenAPI specification if available. It takes in your documentation and a OpenAPI spec and outputs an MCP server that can be used with any MCP client. The MCP Generator is delivered via [npm package](https://www.npmjs.com/package/mcp) and generates an MCP server that can be used with any MCP client.
8
+
The MCP Generator is a CLI tool that generates an MCP server based on your company's documentation and OpenAPI specification (if available). It takes in your documentation and OpenAPI spec and outputs an MCP server that can be used with any MCP client. The MCP Generator is delivered via [npm package](https://www.npmjs.com/package/mcp) and generates an MCP server that can be used with any MCP client.
9
9
10
10
Mintlify enables you to create an MCP server that allows AI tools to interact with your docs in these key scenarios:
11
11
@@ -16,42 +16,45 @@ Mintlify enables you to create an MCP server that allows AI tools to interact wi
16
16
**all** endpoints in your OpenAPI spec.
17
17
</Note>
18
18
19
-
## Install the MCP server
19
+
## Install the MCP Server
20
20
21
21
<Tip>
22
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
23
</Tip>
24
24
25
-
## Example installation with the Mintlify MCP server
25
+
## Example Installation with the Mintlify MCP Server
26
26
27
-
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.
27
+
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.
28
28
29
-
## Start the MCP server locally
29
+
## Start the MCP Server Locally
30
30
31
31
<Steps>
32
32
<Steptitle="Install the server through the CLI">
33
33
Run the following command to install the server:
34
+
34
35
```bash
35
36
npx mcp add mintlify
36
37
```
37
38
</Step>
38
39
<Steptitle="Add the authentication token">
39
40
The following response will be given after running the previous command:
41
+
40
42
```
41
43
> What is the Authorization (basic token)?
42
44
```
45
+
43
46
Using your API chat key, copy the authentication token and paste it into the CLI.
44
-
45
47
</Step>
46
48
<Steptitle="Start your MCP server">
47
49
You can now run:
50
+
48
51
```bash
49
52
npm --prefix ~/.mcp/mintlify start
50
53
```
51
54
</Step>
52
55
</Steps>
53
56
54
-
## Use your server with Claude
57
+
## Use Your Server with Claude
55
58
56
59
<Note>
57
60
Download the [Claude Desktop App](https://claude.ai/download)
@@ -60,9 +63,10 @@ To use the Mintlify MCP server you will need an [API key](https://mintlify.com/d
60
63
Once you have the Claude Desktop App installed, follow these steps:
61
64
62
65
<Steps>
63
-
<Steptitle="Navigate to the Settings > Developer" />
66
+
<Steptitle="Navigate to Settings > Developer" />
64
67
<Steptitle="Click on Edit Config">
65
68
Add the following to the `claude_desktop_config.json`:
69
+
66
70
```json
67
71
{
68
72
"mcpServers": {
@@ -80,9 +84,9 @@ Once you have the Claude Desktop App installed, follow these steps:
80
84
</Step>
81
85
<Steptitle="If you see the hammer icon, you're all set!">
82
86
If you click on it, you should see the available MCP Tools in your server.
Copy file name to clipboardExpand all lines: advanced/rest-api/overview.mdx
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,36 +7,29 @@ title: Overview
7
7
You can leverage the REST API to programmatically trigger an update when desired.
8
8
9
9
<Info>
10
-
While the primary use-case will be to trigger updates, we will be adding more and more
11
-
functionality to the API overtime. Let us know what else you want to see in
12
-
[our community](https://mintlify.com/community)!
10
+
While the primary use case will be to trigger updates, we will be adding more functionality to the API over time. Let us know what else you would like to see in [our community](https://mintlify.com/community)!
13
11
</Info>
14
12
15
13
## Authentication
16
14
17
-
You can generate an API key through
18
-
[the dashboard](https://dashboard.mintlify.com/settings/organization/api-keys). The API key is
19
-
associated with the entire org and can be used across multiple deployments.
15
+
You can generate an API key through [the dashboard](https://dashboard.mintlify.com/settings/organization/api-keys). The API key is associated with the entire organization and can be used across multiple deployments.
20
16
21
-
<Frame>
22
-
<imgsrc="/images/external-api-key.png" />
17
+
<Framecaption="Generate API keys in the dashboard">
The Admin API key is used for the majority of the API. It is used to trigger updates via the [Update endpoint](/advanced/rest-api/update/trigger).
28
24
29
-
## Chat API key
25
+
## Chat API Key
30
26
31
-
The Chat API allows you to embed the AI chat experience grounded in your docs and continually kept up to date into any application of your choosing.
27
+
The Chat API allows you to embed an AI chat experience, grounded in your documentation and continually kept up to date, into any application of your choosing.
32
28
33
29
Responses include citations so you can point your users to the right places they need to get help.
34
30
35
31
<Note>
36
-
The Chat API token is a public token that can be referenced in your
37
-
frontend code whereas the API key is a server-side token that should be kept
38
-
secret.
32
+
The Chat API token is a public token that can be referenced in your frontend code, whereas the Admin API key is a server-side token that should be kept secret.
39
33
</Note>
40
34
41
-
Now that you have an API key, check out our [example](https://github.com/mintlify/discovery-api-example) for how to use
42
-
the API for AI chat. You can also see a deployed version of this example at [chat.mintlify.com](https://chat.mintlify.com).
35
+
Now that you have an API key, check out our [example repository](https://github.com/mintlify/discovery-api-example) for how to use the API for AI chat. You can also see a deployed version of this example at [chat.mintlify.com](https://chat.mintlify.com).
Copy file name to clipboardExpand all lines: api-playground/mdx/configuration.mdx
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,25 +3,25 @@ title: 'MDX Setup'
3
3
description: 'Generate docs pages for your API endpoints using MDX'
4
4
---
5
5
6
-
Mintlify allows you to define your API endpoints using a combination of `docs.json` configuration, MDX metadata fields, and the `<ParamFields />` component. From the defined endpoints, we generate an API playground, request examples, and response examples.
6
+
Mintlify allows you to define your API endpoints using a combination of `docs.json` configuration, MDX metadata fields, and the `<ParamFields />` component. From the defined endpoints, we generate an API Playground, request examples, and response examples.
7
7
8
8
<Steps>
9
9
<Steptitle="Configure your API">
10
-
In your `docs.json` file, define your base URL and auth method:
10
+
In your `docs.json` file, define your base URL and authentication method:
11
11
12
12
```json
13
13
"api": {
14
14
"mdx": {
15
15
"server": "https://mintlify.com/api", // string array for multiple base URLs
If you would not like to show an API playground, you don't need to include auth types. Hide the playground with the following field:
24
+
If you do not want to show an API Playground, you don't need to include authentication types. Hide the playground with the following field:
25
25
26
26
```json
27
27
"api": {
@@ -35,7 +35,6 @@ Mintlify allows you to define your API endpoints using a combination of `docs.js
35
35
</Step>
36
36
37
37
<Steptitle="Create your endpoint pages">
38
-
39
38
Each API endpoint page should have a corresponding MDX file. At the top of each file, define:
40
39
41
40
```md
@@ -52,23 +51,21 @@ Mintlify allows you to define your API endpoints using a combination of `docs.js
52
51
```
53
52
54
53
<Note>
55
-
56
-
If you have `server` configured in [docs.json](/settings/global), you can use relative paths like `/v1/endpoint`.
57
-
54
+
If you have `server` configured in [docs.json](/settings/global), you can use relative paths like `/v1/endpoint`.
58
55
</Note>
59
56
60
-
You can also override the globally-defined display mode for the API playground per page by adding `playground` at the top of the MDX file:
57
+
You can also override the globally-defined display mode for the API Playground per page by adding `playground` at the top of the MDX file:
61
58
62
59
```md
63
60
---
64
61
title: 'Create new user'
65
62
api: 'POST https://api.mintlify.com/user'
66
63
playground: 'none'
64
+
---
67
65
```
68
-
69
66
</Step>
70
67
71
68
<Steptitle="Add your endpoints to your docs">
72
69
Add your endpoint pages to the sidebar by adding the paths to the `navigation` field in your `docs.json`. Learn more about structuring your docs [here](/settings/navigation).
Copy file name to clipboardExpand all lines: content/components/code.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ helloWorld();
32
32
33
33
Put the name of your programming language after the three backticks to get syntax highlighting.
34
34
35
-
We use [Prism](https://prismjs.com/#supported-languages) for syntax highlighting. [Test Drive Prism](https://prismjs.com/test.html#language=markup) lists all the languages supported.
35
+
We use [Prism](https://prismjs.com/#supported-languages) for syntax highlighting. The [Test Drive Prism](https://prismjs.com/test.html#language=markup)page lists all supported languages.
36
36
37
37
```java
38
38
classHelloWorld {
@@ -54,7 +54,7 @@ class HelloWorld {
54
54
55
55
## Names
56
56
57
-
Add a title after the programming language to set the name of your code example. The text can be anything as long as its all in one line.
57
+
Add a title after the programming language to set the name of your code example. The text can be anything as long as it's all on one line.
58
58
59
59
```javascript Code Block Example
60
60
consthello="world";
@@ -90,7 +90,7 @@ sayHello();
90
90
91
91
## Expandable
92
92
93
-
If you have a long code block and `[expandable]` after your title to make it close and expand.
93
+
Add `[expandable]` after your title to make a long code block collapsible.
94
94
95
95
```python library.py [expandable]
96
96
from datetime import datetime, timedelta
@@ -194,12 +194,12 @@ sayHello();
194
194
195
195
## Code Groups
196
196
197
-
Want to display multiple code examples in one code box? Check out the Code Group docs:
197
+
Want to display multiple code examples in one code box? Check out the Code Group documentation:
0 commit comments