diff --git a/ai/mintlify-mcp.mdx b/ai/mintlify-mcp.mdx index 2acc0be81b..45f8e24379 100644 --- a/ai/mintlify-mcp.mdx +++ b/ai/mintlify-mcp.mdx @@ -204,7 +204,7 @@ Work with the [comments and suggestions](/editor/collaborate#comments) that your ### Navigation - **`list_nodes`**: Walk the navigation tree of `branch`, or of your deploy branch when you omit it, with optional filters. Filter by `parentId` (use `recursive: true` to include all descendants), one or more node types, or any division scope: `language`, `version`, `tab`, `dropdown`, `anchor`, `product`, or `item`. Results paginate through an opaque `cursor`. Pass `visibility: "private"` to list the [private pages](/editor/pages#private-pages) and folders the OAuth user can access instead of the branch navigation tree. Private listing ignores `branch` and the other filters, and returns each node's `role`. -- **`create_node`**: Add a new page, group, tab, anchor, version, language, product, or dropdown. Pass `visibility: "private"` with `data.type: "page"` or `data.type: "group"` to create a [private page](/editor/pages#private-pages) or private folder in the caller's private tree. The caller becomes the node's manager. Private creation requires an OAuth session, doesn't need a `branch`, and places the node at the private root or under an existing `private-folder-` parent. For new pages, the response includes an `editorUrl` that opens the page in your dashboard. +- **`create_node`**: Add a new page, group, tab, anchor, version, language, product, or dropdown. Pass `visibility: "private"` with `data.type: "page"` or `data.type: "group"` to create a [private page](/editor/pages#private-pages) or private folder in the caller's private tree. The caller becomes the node's manager. Private creation requires an OAuth session, doesn't need a `branch`, and places the node at the private root or under an existing `private-folder-` parent. For new pages, the response includes an `editorUrl` that opens the page in your dashboard. If a page already exists at the `path` on `branch`, `create_node` writes the new content into that page instead of failing. The page keeps its place in the navigation, even if you pass a different parent, and the response includes `updated: true`. If Mintlify adds a new page to the navigation but can't save its content, `create_node` returns `PAGE_SEED_FAILED`. Call `create_node` again with the same `path` to write the content. - **`update_node`**: Update a node's properties in place (rename a group, change an icon, set a default version). Accepts a `private-page-` or `private-folder-` node ID to rename a [private page](/editor/pages#private-pages) or folder or change its icon or tag. Private updates require an OAuth session with an editor role or higher and don't need a `branch`. - **`move_node`**: Move a node, including renaming a page's path. - **`delete_node`**: Remove a node from the navigation. Accepts a `private-page-` or `private-folder-` node ID to delete a [private page](/editor/pages#private-pages) or folder from the caller's private tree. Private deletions require an OAuth session with a manager role on the node and don't need a `branch`.