Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ai/admin-mcp-editing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

The AI tool acts as you on the deploy branch:

- **Edits are live to collaborators.** Anyone else editing the deploy branch in the dashboard sees the AI's changes as they happen.

Check warning on line 53 in ai/admin-mcp-editing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/admin-mcp-editing.mdx#L53

Did you really mean 'ato'?
- **`publish` publishes only your changes.** It commits your pending changes straight to the deploy branch, like clicking **Publish** in the editor. Other people's unpublished changes stay pending. Your own unpublished edits from the dashboard editor publish too.
- **`discard` reverts only your changes.** It returns `discardedChanges` with the number of changes it reverted. Other people's changes and the branch itself stay untouched.
- **`status` lists only your changes.**
Expand All @@ -63,10 +63,10 @@

- **Push directly to your deploy branch** is off in your [publishing settings](#publishing).
- Branch protection on your deploy branch requires pull requests, or Mintlify can't check your branch protection rules.
- Editing the deploy branch is locked in the dashboard editor.

Check warning on line 66 in ai/admin-mcp-editing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/admin-mcp-editing.mdx#L66

In general, use active voice instead of passive voice ('is locked').
- You connected with a client or machine-to-machine token instead of an OAuth login. These tokens aren't tied to a user, so they have no "own" changes.

Mintlify checks these conditions on every edit and caches your branch protection rules for up to 30 seconds. Comment tools still work on the deploy branch when edits to it are refused. If your deploy branch starts requiring a pull request after you edit it, `publish` returns `branch_protected` and your changes stay pending. Open the dashboard editor to move them to a new branch. The same happens if [Always require branches](/editor/settings#always-require-branches) is on and you aren't an admin.

Check warning on line 69 in ai/admin-mcp-editing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/admin-mcp-editing.mdx#L69

In general, use active voice instead of passive voice ('are refused').

### Projects with auto publish

Expand All @@ -74,7 +74,7 @@

Mintlify refuses `create_branch` and calls on any other branch in these projects, and changes nothing. If your connection covers only that project, the admin MCP doesn't list `create_branch` or `list_branches`.

**Push directly to your deploy branch** and branch protection don't block deploy branch edits in a project with auto publish. Mintlify refuses edits when editing the deploy branch is locked in the dashboard editor or when you connected with a client or machine-to-machine token.

Check warning on line 77 in ai/admin-mcp-editing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/admin-mcp-editing.mdx#L77

In general, use active voice instead of passive voice ('is locked').

### Projects that require review

Expand Down Expand Up @@ -102,11 +102,11 @@

## Publishing

The **Publishing** section on the **MCP → Configure** page in your dashboard sidebar controls whether the admin MCP can edit your deploy branch without a pull request. Toggle **Push directly to your deploy branch** on to let AI tools edit and publish to your deploy branch directly. Toggle it off to require `create_branch` and a pull request for MCP edits.
The **Publishing** section on the **MCP → Settings** page in your dashboard sidebar controls whether the admin MCP can edit your deploy branch without a pull request. Toggle **Push directly to your deploy branch** on to let AI tools edit and publish to your deploy branch directly. Toggle it off to require `create_branch` and a pull request for MCP edits.

This toggle shares the same `agentReviewProcess` setting as the Slack and dashboard agent, so any change here also applies to those flows.

The toggle is disabled in three cases:

Check warning on line 109 in ai/admin-mcp-editing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/admin-mcp-editing.mdx#L109

In general, use active voice instead of passive voice ('is disabled').

- **Your deploy branch requires a pull request.** If branch protection rules or required approvals prevent direct pushes, MCP changes always go through a pull request regardless of this setting.
- **Mintlify hosts your project.** For Mintlify-hosted sites, MCP changes always push directly, unless branch protection still requires a pull request.
Expand Down
2 changes: 1 addition & 1 deletion ai/mintlify-mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

## Redirect URIs

Popular MCP clients such as Claude, ChatGPT, and Cursor can always complete the OAuth login. To let other clients connect, add their redirect domains in the **Redirect URIs** section of **MCP → Configure**. Enter a domain or custom scheme, such as `myapp://callback`, in the **Allowed domains** field and click **Add domain**.
Popular MCP clients such as Claude, ChatGPT, and Cursor can always complete the OAuth login. To let other clients connect, add their redirect domains in the **Redirect URIs** section of **MCP → Settings**. Enter a domain or custom scheme, such as `myapp://callback`, in the **Allowed domains** field and click **Add domain**.

Allowed domains apply to both the admin MCP and your [search MCP server](/ai/model-context-protocol#enable-authenticated-mcp).

Expand Down Expand Up @@ -148,14 +148,14 @@
## Troubleshooting

<Accordion title="Sign-in opens this troubleshooting section instead of your AI tool">
Mintlify can't finish the sign-in because your Mintlify connector was added, or your dashboard session started, before Mintlify updated its login system.

Check warning on line 151 in ai/mintlify-mcp.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/mintlify-mcp.mdx#L151

In general, use active voice instead of passive voice ('was added').

1. [Reinstall the connector](#stale-registration-error): remove it from your AI tool, then add it again.
2. If sign-in still opens this section, [sign out of the dashboard and sign back in](#fails-after-reinstalling), then connect your AI tool again.
</Accordion>

<Accordion title="Connection fails with a stale registration error" id="stale-registration-error">
Your AI tool's Mintlify connector was added before Mintlify updated its login system. Reinstall the connector: remove it from your AI tool, then add it again. See [Disconnect or revoke access](#disconnect-or-revoke-access) for the steps for each tool.

Check warning on line 158 in ai/mintlify-mcp.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/mintlify-mcp.mdx#L158

In general, use active voice instead of passive voice ('was added').
</Accordion>

<Accordion title="Connection still fails after reinstalling the connector" id="fails-after-reinstalling">
Expand Down
2 changes: 1 addition & 1 deletion ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<Tab title="VS Code">
Include these steps in your guide to connect VS Code:

1. Create a `.vscode/mcp.json` file.

Check warning on line 144 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L144

Use 'VSCode' instead of 'vscode'.
2. In `mcp.json`, configure your server:

```json
Expand Down Expand Up @@ -261,7 +261,7 @@

<PreviewButton href="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>

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:

Check warning on line 264 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L264

Use 'VSCode' instead of 'vscode'.

```json
{
Expand Down Expand Up @@ -307,7 +307,7 @@

<Steps>
<Step title="Open your MCP configuration">
In your dashboard, go to the **Configure** section of your [MCP settings](https://app.mintlify.com/products/mcp).
In your dashboard, open [MCP](https://app.mintlify.com/products/mcp) and click **Settings** in the sidebar.
</Step>
<Step title="Add custom redirect domains">
In the **Redirect URIs** section, enter a domain in the **Allowed domains** field. Click **Add domain**. Add the redirect domains for any additional AI tools you want to grant your users access to. You only need to add domains for clients if they aren't on the always-allowed list.
Expand Down