MCP Add a tool to reorder pages (e.g. move_page)
The MCP server can add, duplicate, rename and delete pages, but it can't change their order. New and duplicated pages are always appended at the end of the page list. Please add a tool that moves a page to a given position.
Use case I build a clickable prototype with around 35 pages through an AI assistant. The pages are numbered by navigation section (000 Shell, 010 Request Catalog, 030 Task Inbox, 031 Task Detail, …). Every page created later ends up at the bottom of the list, so the list stops matching the app's structure.
Current workaround and why it falls short
Reordering by duplicating pages in the right order and deleting the originals breaks the page links, because links point to page IDs.
The only working way is to close the document and reorder the
childrenarray of the.f0JSON file by script. That requires closing Frame0 every time, and it risks losing changes if the file is saved from an outdated in-app state.
Proposal A new tool, for example:
move_page pageId: string // page to move
index: number // target position, 0-based Alternatives: before / after with another pageId instead of an index, or an optional index parameter on update_page. Either would be enough.
Expected behaviour
The page keeps its ID, so all page links stay valid.
get_all_pagesreturns the new order.The change is undoable like a manual drag in the page list.
Thanks for the MCP server, it works really well otherwise.
Log in to comment and vote
No comments yet
Be the first to share your thoughts.