Repository navigation
Update from code changes: admin MCP edit_page batching and notRendered - #7963
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
ethanpalm
approved these changes
Oct 22, 2026
This was referenced Oct 22, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents that the admin MCP
edit_pagetool now accepts aneditslist, so an AI tool can apply up to 100 replacements to a page in one call.Previously
edit_pagetook oneoldString/newStringpair per call. The new list applies each replacement in order, and the whole batch fails together if any edit fails.Also documents the new
notRenderedfield onwrite_pageandedit_pageresponses, which lists markup the Mintlify editor drops (scripts, style blocks, event handlers, JavaScript expressions) with the line, the reason and a suggested alternative.edit_pageonly reports markup the edit adds.Based on two merged admin MCP changes: "apply several edit_page replacements in one call" and "report MDX the editor drops from write_page and edit_page".
Duplicate check: searched open and recent docs PRs by hunterchen7 and ethanpalm, mintlify[bot] PRs, and titles containing "MCP" and "edit_page"; none cover this.
Note
Low Risk
Documentation-only changes to the admin MCP reference with no runtime or security impact.
Overview
Updates the admin MCP docs for
edit_pageandwrite_pageto match new API behavior.edit_pagecan still take a singleoldString/newStringpair, or aneditslist (up to 100 replacements) applied in order on the previous result, with all-or-nothing semantics if any replacement fails. The doc also notes that responses can includenotRenderedfor unsafe markup introduced by the edit (not markup already on the page).write_pagenow documents the samenotRenderedresponse shape when full-page MDX includes elements the Mintlify editor strips (e.g.<script>,<style>, event handlers), including per-itemelement,line,why, and suggestedinsteadalternatives.Reviewed by Cursor Bugbot for commit e9cf242. Bugbot is set up for automated code reviews on this repo. Configure here.