MCP: move documents, create folders, and subscribe to changes #103
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/rm-analyzer#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #99 (agent plan review). Follows up the comment on #99 about subscribing to changes.
Problem: no MCP tool can move a document or create a folder (
make_pdf/create_notebookonly take an existingfolder_id). Sync storesparent(remarkable/sync.ex:170) but doesn't treat a move as its own event. Broadcasts are sync-level only (sync_server.ex), and nothing outside can subscribe.Proposal:
move_document(document_id, folder_id)andcreate_folder(name, parent_id), gated like the other write tools. This lets folders act as stages: To review → Back to Claude → Reviewed.Record document change events in sync (moved to folder X, new ink on pages N, new pages).
Expose them as a cursor-based
list_changes(since)MCP tool (cheap for any agent that polls). Push delivery is a separate issue (#104).move_document/create_folderstay inside the API key's folder scope (no moving out of or creating outside the folders the key can see).Versions:
replace_document(document_id, …), or a way for v2 to supersede v1, so revisions don't pile up next to the old copy.Done when: an agent can wait for "document moved into Back to Claude" by polling
list_changes, then file the reviewed copy into Reviewed and send v2 to To review, all within the key's folders.