SamMorrowDrums/remarkable-mcp
MCP server for accessing reMarkable tablet data - sync files, extract text from highlights, and browse your reMarkable cloud
5b8fa7f4f138remarkable-mcp0.1.0 in pyproject.tomlio.github.SamMorrowDrums/remarkablePaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 41 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 4 of 29 tools, prompts and resources could not be followed through the code
Top risks in plain words
- HIGHTools
remarkable_markdown_to_pdf,remarkable_uploadread or write any file path by design: an agent steered by prompt injection can use them that way. - HIGH1 production dependency has known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
remarkable_markdown_to_pdf,remarkable_uploadcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
remarkable_markdown_to_pdf,remarkable_upload, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
soupsieve4.0.0 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 16 tools, 7 resources, 6 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
remarkable_author, remarkable_delete, remarkable_markdown_to_pdf, remarkable_mkdir, remarkable_move, remarkable_refresh and 2 moreTemporary reMarkable Markdown export, Temporary reMarkable PDF export, remarkable_author, remarkable_canvas, remarkable_delete, remarkable_markdown_to_pdf and 5 moreremarkable_author, remarkable_delete, remarkable_image, remarkable_markdown_to_pdf, remarkable_mkdir, remarkable_move and 3 moreremarkable_author, remarkable_browse, remarkable_canvas, remarkable_delete, remarkable_export, remarkable_image and 10 moreremarkable_author, remarkable_delete, remarkable_image, remarkable_markdown_to_pdf, remarkable_mkdir, remarkable_move and 3 moreNo tool was seen to: connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files10 tools · Temporary reMarkable Markdown export, remarkable_author, remarkable_canvas +7
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (29: 16 tools, 7 resources, 6 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
remarkable_markdown_to_pdftool <usecase>Render Markdown text as a PDF and upload it to the reMarkable tablet.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside textReads/writes files
<usecase>Render Markdown text as a PDF and upload it to the reMarkable tablet.</usecase>
<instructions>
Use this when the user wants notes, reports, summaries, or other Markdown
content written back to the tablet without first creating a local file.
Headings, lists, tables, links, blockquotes, and code blocks are rendered
into a paginated A4 PDF. Raw HTML is escaped and image assets are omitted
so rendering never reads local files or fetches remote content.
Works in all three transports:
- Cloud: sync upload with parent_folder and document_name
- SSH: filesystem upload with parent_folder and document_name
- USB web: upload whose multipart filename is document_name + ".pdf";
parent_folder is ignored and the tablet web service chooses the folder.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>
- markdown: Markdown source text. Must not be empty.
- document_name: Display name on the tablet (default: "Markdown").
- parent_folder: Destination folder (default: root "/"). USB web ignores
this parameter because its upload endpoint has no folder argument.
- defer_restart: SSH only. When True, skip the xochitl restart and call
remarkable_refresh() once after the batch. Forwarded exactly like
remarkable_upload; ignored in cloud and USB web modes.
</parameters>
<examples>
- remarkable_markdown_to_pdf("# Meeting Notes\\n\\n- Follow up with Sam")
- remarkable_markdown_to_pdf(
"# Q4 Report\\n\\nRevenue increased **20%**.",
document_name="Q4 Report",
parent_folder="/Reports",
)
- remarkable_markdown_to_pdf(
"# Batch item", document_name="Item 1", defer_restart=True
)
remarkable_refresh()
</examples>remarkable_uploadtool <usecase>Upload a PDF or EPUB file to the reMarkable tablet.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside textReads/writes files
<usecase>Upload a PDF or EPUB file to the reMarkable tablet.</usecase>
<instructions>
Uploads a local file to the tablet. Only PDF and EPUB formats
are supported. Works in all three transports:
- Cloud: uploaded via the sync protocol; supports parent_folder + document_name
- SSH: transferred over SSH, metadata created; supports parent_folder + document_name
- USB web: uploaded via POST /upload. The multipart filename carries
document_name, parent_folder is ignored, and the tablet web service
chooses the destination folder.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>
- file_path: Absolute path to the local PDF or EPUB file
- parent_folder: Destination folder path on tablet (default: root "/").
Honored in cloud and SSH modes; ignored by the USB web interface.
- document_name: Display name on tablet (default: filename without
extension). Honored in every mode; USB web uses it as the uploaded filename.
- defer_restart: SSH only. When True, skip the xochitl restart that
normally makes the upload visible. Use this for every upload in a
batch, then call remarkable_refresh() ONCE at the end. Each restart
forces a full document-store rescan that briefly destabilises the SSH
link, so deferring turns N restarts (and N races) into one. The
response sets "refresh_pending": true while a refresh is owed. Ignored
in cloud/USB modes (no xochitl).
</parameters>
<examples>
- remarkable_upload("/tmp/paper.pdf")
- remarkable_upload("/tmp/book.epub", parent_folder="/Books")
- remarkable_upload("/tmp/report.pdf", document_name="Q4 Report")
- # batch import: defer every upload, refresh once at the end
remarkable_upload("/tmp/a.pdf", defer_restart=True)
remarkable_upload("/tmp/b.pdf", defer_restart=True)
remarkable_refresh()
</examples>daily_reviewprompt Review what you worked on today in your reMarkable tablet
Review what you worked on today in your reMarkable tablet
export_documentprompt Extract and format content from a specific document
Extract and format content from a specific document
find_notesprompt Search your reMarkable tablet for notes on a specific topic
Search your reMarkable tablet for notes on a specific topic
meeting_notesprompt Find and extract meeting notes from your reMarkable
Find and extract meeting notes from your reMarkable
organize_libraryprompt Get suggestions for organizing your reMarkable library
Get suggestions for organizing your reMarkable library
summarize_recentprompt Get an AI summary of your recent reMarkable notes
Get an AI summary of your recent reMarkable notes
Temporary reMarkable Markdown exportresource A generated Markdown export. The link expires 15 minutes after creation.Filesoutside text
A generated Markdown export. The link expires 15 minutes after creation.
Temporary reMarkable PDF exportresource A generated PDF export. The link expires 15 minutes after creation.Files
A generated PDF export. The link expires 15 minutes after creation.
final_img_uriresource
No description.
final_raw_uriresource
No description.
final_svg_uriresource
No description.
final_uriresource
No description.
remarkable_canvas_uiresource HTML for the reMarkable interactive canvas app (MCP Apps surface).
HTML for the reMarkable interactive canvas app (MCP Apps surface).
remarkable_authortool <usecase>Author native reMarkable ink and notebooks. ONE compound writeProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Author native reMarkable ink and notebooks. ONE compound write
primitive with three methods: "draw" appends pen/highlighter strokes to a
page, "add_page" appends a blank drawable page to a notebook, and
"create_document" creates a new notebook (optionally seeded with typed
text). This is the single tool behind the interactive canvas (Save → draw,
+Page → add_page, new notebook → create_document) AND model-driven markup
(highlighting, underlining, marking) — the model composes the strokes.</usecase>
<instructions>
Requires SSH mode (the default tablet-filesystem transport for write-back)
and write mode (the default; disabled with --read-only). All methods are
non-destructive (draw appends to existing ink and backs the page up to
{pageId}.rm.bak the first time), so no confirmation prompt is required.
Pick the method, then pass only that method's parameters:
- method="draw": requires `document` + `page` + `strokes`. Strokes are
APPENDED to the page's ink. If the page has no ink layer yet (a fresh
notebook page, or a PDF/EPUB page never annotated), a blank drawable
layer is created automatically. Coordinates: each point is [nx, ny] or
[nx, ny, pressure] with nx, ny in [0,1] from the page's TOP-LEFT; the
tool maps them to the page's own paper_size so the same payload works on
any device. (PDF-backed pages currently use the same map; precise PDF
overlay placement is a follow-up.)
- method="add_page": requires `document`. Appends one blank page to the END
of a native notebook and returns its 1-based page number. Only native
notebooks support this (PDF/EPUB pages already exist).
- method="create_document": requires `name`. Creates a new native notebook
in `folder` (default root). Leave `text` EMPTY for a blank notebook —
that is the default and the correct choice. Only pass `text` when the
user EXPLICITLY asks for specific typed content; never invent a title,
placeholder, or "created by" line. Returns the new document id and
first-page geometry.
The interactive canvas calls this exact tool via the MCP Apps bridge,
passing ui_submitted=true for draw (the human already chose Save). A model
calling it directly should omit ui_submitted.
</instructions>
<parameters>
- method: "draw" | "add_page" | "create_document".
- document: Target document name/path/id (draw, add_page).
- page: 1-based page number (draw).
- strokes: List of stroke dicts (draw). Each:
{"points": [[nx, ny], [nx, ny, pressure], ...],
"tool": "fineliner" | "highlighter" | int,
"color": "black" | "yellow" | ...,
"width": <optional float>, "thickness_scale": <optional float>}
- name: Title of the new notebook (create_document).
- text: Optional typed text for the first page (create_document). Omit it
unless the user explicitly requested specific content; never fabricate
placeholder text. Paragraphs split on newlines.
- folder: Destination folder path (create_document; default "/").
- ui_submitted: Set by the canvas app when the user clicked Save. Models omit it.
- defer_restart: Skip the xochitl restart for this write. Call
remarkable_refresh() once after the batch. The response sets
refresh_pending=true while a refresh is owed.
</parameters>
<examples>
- remarkable_author(method="draw", document="Ideas", page=1,
strokes=[{"points": [[0.1,0.2],[0.8,0.2]], "tool": "highlighter", "color": "yellow"}])
- remarkable_author(method="add_page", document="Ideas")
- remarkable_author(method="create_document", name="Sketches")
- remarkable_author(method="create_document", name="Meeting notes",
text="Agenda\nFollow-ups") # only when the user supplied that text
</examples>remarkable_browsetool <usecase>Browse your reMarkable library or search for documents.</usecase>Env vars
<usecase>Browse your reMarkable library or search for documents.</usecase>
<instructions>
Three modes:
1. Browse mode (default): List contents of a folder
- Use path="/" for root folder
- Use path="/FolderName" to navigate into folders
2. Search mode: Find documents by name
- Set query="search term" to search across all documents
3. Filter by tags: Find documents with specific tags
- Set tags=["tag1", "tag2"] to filter by tags
- Works in both browse and search modes
Results include document names, types, modification dates, and tags.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that
folder are accessible. Paths are relative to the root path.
</instructions>
<parameters>
- path: Folder path to browse (default: "/" for root)
- query: Search term to find documents by name (optional, triggers search mode)
- tags: List of tags to filter documents (optional, case-insensitive)
</parameters>
<examples>
- remarkable_browse() # List root folder
- remarkable_browse("/Work") # List Work folder
- remarkable_browse(query="meeting") # Search for "meeting"
- remarkable_browse(tags=["important"]) # Show documents with "important" tag
- remarkable_browse(query="project", tags=["work"]) # Search with tag filter
</examples>remarkable_canvastool <usecase>Open a reMarkable page in an interactive canvas viewer.</usecase>FilesEnv varsoutside text
<usecase>Open a reMarkable page in an interactive canvas viewer.</usecase>
<instructions>
Renders a notebook or document page and, in clients that support MCP Apps
interactive UI, opens a canvas viewer that lets the user page through the
document. This is the entry point for the interactive viewer.
The canvas is currently a read-only viewer (render + page navigation).
For plain image extraction without the interactive surface, use
remarkable_image instead.
Clients that do not support MCP Apps still get the rendered page back as
an embedded PNG image, so this tool is useful everywhere; it just won't
open the interactive panel.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- page: Page number to open (default: 1, 1-indexed)
</parameters>
<examples>
- remarkable_canvas("Meeting Notes")
- remarkable_canvas("/Work/Sketches/Wireframe", page=3)
</examples>remarkable_deletetool <usecase>Delete a document or folder on the reMarkable tablet.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Delete a document or folder on the reMarkable tablet.</usecase>
<instructions>
DESTRUCTIVE operation. By default the item is moved to the tablet's
Trash and remains recoverable. In SSH mode only, permanent=True removes
the resolved UUID and all sidecar files instead; use that only when the
user explicitly asked for permanent deletion.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
If the client supports elicitation, this tool asks the user to confirm
before deleting. If the client cannot show a confirmation prompt, the
delete is refused unless REMARKABLE_SKIP_CONFIRM=1 is set (for headless
automation).
</instructions>
<parameters>
- document: Name or path of the document/folder to delete
- defer_restart: SSH only. Skip the xochitl restart so a batch of
deletes can refresh once via remarkable_refresh() instead of once
per delete. Sets "refresh_pending": true. Ignored in cloud mode.
- permanent: SSH only. Permanently remove the resolved document/folder
files instead of moving the item to Trash (default: False).
</parameters>
<examples>
- remarkable_delete("Old Notes")
- remarkable_delete("/Books/Archive/Old Draft")
</examples>remarkable_exporttool <usecase>Export one reMarkable document as a reusable PDF or Markdown file.</usecase>Env vars
<usecase>Export one reMarkable document as a reusable PDF or Markdown file.</usecase>
<instructions>
Exports a single document without modifying the tablet or its library.
The generated file is written to a server-managed temporary directory and
returned as an MCP ResourceLink. The tool response stays small: it never embeds
the PDF/Markdown as base64 and never writes to an arbitrary host path. The
resource expires after 15 minutes and may be evicted earlier when more than
eight exports are retained. Fetch and save the linked resource for durable use.
PDF behavior:
- `pdf_mode="merged"` (default) preserves complete physical pages, combining
mapped PDF underlays and reMarkable annotations.
- `pdf_mode="annotations"` exports full-page annotation layers only when the
transport provides a document archive.
- Pages remain in physical device order. A render failure produces a labeled
placeholder at that ordinal and a partial-export warning; pages are not skipped.
Markdown behavior:
- Preserves basic source metadata and fixed source text, typed text, annotation,
highlight, and OCR sections.
- OCR is opt-in and uses the same configured/cached OCR path as remarkable_read.
- Extracted text is kept verbatim; the exporter does not invent headings, lists,
links, or page attribution it cannot prove.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents).
- output_format: "pdf" (default) or "markdown".
- pdf_mode: PDF-only mode, "merged" (default) or "annotations".
- include_ocr: Enable existing handwriting OCR for Markdown (default: False).
</parameters>
<examples>
- remarkable_export("Meeting Notes")
- remarkable_export("Research Paper", output_format="pdf", pdf_mode="annotations")
- remarkable_export("Journal", output_format="markdown", include_ocr=True)
</examples>remarkable_imagetool <usecase>Get an image of a specific page from a reMarkable document.</usecase>CredentialsEnv varsSensitive paths
<usecase>Get an image of a specific page from a reMarkable document.</usecase>
<instructions>
Renders a notebook or document page as an image (PNG or SVG). This is useful for:
- Viewing hand-drawn diagrams, sketches, or UI mockups
- Getting visual context that text extraction might miss
- Implementing designs based on hand-drawn wireframes
- SVG format for scalable vector graphics that can be edited
## Merged PDF + Annotation Rendering
PNG pages backed by an imported PDF automatically composite the PDF page with
its reMarkable annotations. Set render_merged=False for an annotation-only
render, or True to explicitly request compositing. SVG remains annotation-only.
## Response Formats
By default, images are returned as embedded resources (EmbeddedResource) which
include the full image data inline:
- PNG: Returned as BlobResourceContents with base64-encoded data
- SVG: Returned as TextResourceContents with SVG markup
If your client doesn't support embedded resources in tool responses, set
compatibility=True to receive a JSON response with just the resource URI.
The client can then fetch the resource separately.
Optionally, enable include_ocr=True to extract text from the image using OCR.
Google Vision is used when configured; otherwise OCR runs locally with Tesseract.
Note: Native notebooks retain their existing stroke rendering behavior.
If older USB firmware returns only a native PDF export, PNG remains
available; SVG and explicit annotation-only rendering require an rmdoc
archive and return a clear error when it is unavailable.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- page: Page number (default: 1, 1-indexed)
- background: Background color as hex code. Supports RGB (#RRGGBB) or RGBA (#RRGGBBAA).
Default is "#FBFBFB" (reMarkable paper color), or set REMARKABLE_BACKGROUND_COLOR
env var to override. Use "#00000000" for transparent.
- output_format: Output format - "png" (default) or "svg" for vector graphics
- compatibility: If True, return resource URI in JSON instead of embedded resource.
Use this if your client doesn't support embedded resources in tool responses.
- include_ocr: Enable OCR text extraction from the image (default: False).
- render_merged: PDF compositing mode for PNG: None (default) automatically
merges PDF-backed pages, True explicitly requests merging, and False returns
the annotation-only layer. SVG output remains annotation-only.
</parameters>
<examples>
- remarkable_image("UI Mockup") # Get first page as embedded PNG resource
- remarkable_image("Meeting Notes", page=2) # Get second page
- remarkable_image("/Work/Designs/Wireframe", background="#FFFFFF") # White background
- remarkable_image("Sketch", background="#00000000") # Transparent background
- remarkable_image("Diagram", output_format="svg") # Get as embedded SVG resource
- remarkable_image("Notes", compatibility=True) # Return resource URI for retry
- remarkable_image("Notes", include_ocr=True) # Get image with OCR text extraction
- remarkable_image("Annotated PDF") # PDF + annotations composited automatically
- remarkable_image("Annotated PDF", render_merged=False) # Annotation layer only
</examples>remarkable_mkdirtool <usecase>Create a new folder on the reMarkable tablet.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Create a new folder on the reMarkable tablet.</usecase>
<instructions>
Creates a folder in the tablet's document hierarchy. In SSH mode the
folder appears after xochitl restarts; in cloud mode it syncs to all
your devices.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface (the firmware exposes no folder-create endpoint).
</instructions>
<parameters>
- folder_name: Name of the new folder
- parent: Parent folder path (default: root "/")
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_mkdir("Projects")
- remarkable_mkdir("2024", parent="/Archive")
</examples>remarkable_movetool <usecase>Move a document or folder to a different location.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Move a document or folder to a different location.</usecase>
<instructions>
Moves a document or folder by updating its parent reference in the metadata.
Find the document name with remarkable_browse() first.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
</instructions>
<parameters>
- document: Name or path of the document/folder to move
- dest_folder: Destination folder path (use "/" for root)
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_move("Meeting Notes", "/Archive")
- remarkable_move("Old Project", "/Archive/2023")
</examples>remarkable_readtool <usecase>Read and extract text content from a reMarkable document.</usecase>Env vars
<usecase>Read and extract text content from a reMarkable document.</usecase>
<instructions>
Extracts content from a document with pagination to preserve context window.
Content types:
- "text" (default): Full extracted text (PDF/EPUB content + annotations)
- "raw": Original PDF/EPUB text only (no annotations). Works in every
transport, as long as the source file is present (very large PDFs/EPUBs
may not be synced to the cloud).
- "annotations": Only annotations, highlights, and handwritten notes
Use pagination to read large documents without overwhelming context:
- Start with page=1 (default)
- Check "more" field - if true, there's more content
- Use "next_page" value to get the next page
- "total_pages" is the physical document count; "content_pages" is the
extracted-text count used by page/more/next_page
- "total_pages_known" reports whether the physical count was available.
Raw PDF reads count the downloaded PDF directly. If a raw EPUB archive
cannot be read, content still returns with total_pages=null.
- If older USB firmware returns only a native PDF, "text" returns source
text without annotations and "annotations" reports that the archive is
unavailable instead of trying to parse the PDF as a zip.
Use grep to search for specific content on the current page.
OCR uses Google Vision when configured, otherwise Tesseract.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- content_type: "text" (full), "raw" (PDF/EPUB only), "annotations" (notes only)
- page: Extracted-content page number (default: 1). Physical document pages
are reported separately as total_pages.
- grep: Optional regex pattern to filter content (searches current page)
- include_ocr: Enable handwriting OCR for annotations (default: False)
</parameters>
<examples>
- remarkable_read("Meeting Notes") # Get first page of text
- remarkable_read("Book.pdf", content_type="raw") # Get raw PDF text
- remarkable_read("Notes", content_type="annotations") # Only annotations
- remarkable_read("Report", page=2) # Get second page
- remarkable_read("Manual", grep="installation") # Search for keyword
</examples>remarkable_recenttool <usecase>Get your most recently modified documents.</usecase>Env vars
<usecase>Get your most recently modified documents.</usecase>
<instructions>
Returns documents sorted by modification date (newest first).
Optionally includes a text preview of each document's content.
Use this to quickly find what you were working on recently.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that
folder are included.
</instructions>
<parameters>
- limit: Maximum documents to return (default: 10, max: 50 without preview, 10 with preview)
- include_preview: Include first ~200 chars of text content (default: False)
</parameters>
<examples>
- remarkable_recent() # Last 10 documents
- remarkable_recent(limit=5, include_preview=True) # With content preview
</examples>remarkable_refreshtool <usecase>Restart xochitl once to apply writes made withProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Restart xochitl once to apply writes made with
defer_restart=True (or with REMARKABLE_DEFER_RESTART set).</usecase>
<instructions>
SSH only. Each write normally restarts xochitl so the change becomes
visible, but every restart forces a full document-store rescan that
briefly destabilises the SSH link. For a batch of writes, pass
defer_restart=True to each one and then call this tool ONCE at the end:
it pays the restart cost a single time instead of once per write,
eliminating the per-write race and the redundant rescans.
Once this server process has confirmed a clean refresh state, calling it
again with nothing pending is a no-op. The first explicit refresh in a
new process still restarts xochitl because pending work from an earlier
process cannot be inferred safely from memory.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>(none)</parameters>
<examples>
- remarkable_upload("/tmp/a.pdf", defer_restart=True)
remarkable_upload("/tmp/b.pdf", defer_restart=True)
remarkable_refresh()
</examples>remarkable_renametool <usecase>Rename a document or folder on the reMarkable tablet.</usecase>ProcessesFilesCredentialsEnv varsSensitive pathsoutside text
<usecase>Rename a document or folder on the reMarkable tablet.</usecase>
<instructions>
Changes the display name of a document or folder by updating its metadata.
Find the document name with remarkable_browse() first.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
</instructions>
<parameters>
- document: Current name or path of the document/folder
- new_name: New display name
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_rename("Untitled", "Meeting Notes 2024-01-15")
- remarkable_rename("/Work/Draft", "Final Report")
</examples>remarkable_searchtool <usecase>Search across multiple documents and return matching content.</usecase>Env vars
<usecase>Search across multiple documents and return matching content.</usecase>
<instructions>
Searches document names for the query, then optionally searches content with grep.
Can filter by tags to narrow results.
Returns summaries from multiple documents in a single call.
This is efficient for finding information across your library without
making many individual tool calls.
Limits:
- Max 5 documents per search (to keep response size manageable)
- Returns first page (~8000 chars) of each matching document
- Use grep to filter to relevant sections
</instructions>
<parameters>
- query: Search term for document names
- grep: Optional pattern to search within document content
- limit: Max documents to return (default: 5, max: 5)
- include_ocr: Enable OCR for handwritten content (default: False)
- tags: List of tags to filter documents (optional, case-insensitive)
</parameters>
<examples>
- remarkable_search("meeting") # Find docs with "meeting" in name
- remarkable_search("journal", grep="project") # Find "project" in journals
- remarkable_search("notes", include_ocr=True) # Search with OCR enabled
- remarkable_search("project", tags=["work"]) # Find work-tagged projects
</examples>remarkable_statustool <usecase>Check connection status, active transport, and write capabilities.</usecase>Env vars
<usecase>Check connection status, active transport, and write capabilities.</usecase>
<instructions>
Returns authentication status, the active transport (cloud, local-dir, ssh, or
usb-web), the document count, and a capability matrix describing what each
transport can do. Use this to verify your connection, choose a transport, or
troubleshoot.
Capability notes:
- Export is available in every transport and creates only a bounded temporary
local resource; it never modifies the tablet.
- Cloud (default): full read/render/export/upload/mkdir/move/rename/delete — no device
needed, works from anywhere your token is valid.
- SSH: full capabilities over a local/USB connection to the tablet.
- USB web: read, render, export, and upload (to root) only — the tablet's USB web
interface firmware exposes no folder/move/rename/delete endpoints. For full
write parity over a USB cable, use SSH mode pointed at the USB IP.
- Local directory: fully offline read/render/export access to the desktop app's sync
cache. Strictly read-only to avoid corrupting app-managed state.
Write tools (upload/mkdir/move/rename/delete) are enabled by default; run
with --read-only (or REMARKABLE_READ_ONLY=1) to expose a read-only server.
</instructions>
<examples>
- remarkable_status()
</examples>Text the model reads (29)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
remarkable_canvas tool
<usecase>Open a reMarkable page in an interactive canvas viewer.</usecase>
<instructions>
Renders a notebook or document page and, in clients that support MCP Apps
interactive UI, opens a canvas viewer that lets the user page through the
document. This is the entry point for the interactive viewer.
The canvas is currently a read-only viewer (render + page navigation).
For plain image extraction without the interactive surface, use
remarkable_image instead.
Clients that do not support MCP Apps still get the rendered page back as
an embedded PNG image, so this tool is useful everywhere; it just won't
open the interactive panel.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- page: Page number to open (default: 1, 1-indexed)
</parameters>
<examples>
- remarkable_canvas("Meeting Notes")
- remarkable_canvas("/Work/Sketches/Wireframe", page=3)
</examples>remarkable_read tool
<usecase>Read and extract text content from a reMarkable document.</usecase>
<instructions>
Extracts content from a document with pagination to preserve context window.
Content types:
- "text" (default): Full extracted text (PDF/EPUB content + annotations)
- "raw": Original PDF/EPUB text only (no annotations). Works in every
transport, as long as the source file is present (very large PDFs/EPUBs
may not be synced to the cloud).
- "annotations": Only annotations, highlights, and handwritten notes
Use pagination to read large documents without overwhelming context:
- Start with page=1 (default)
- Check "more" field - if true, there's more content
- Use "next_page" value to get the next page
- "total_pages" is the physical document count; "content_pages" is the
extracted-text count used by page/more/next_page
- "total_pages_known" reports whether the physical count was available.
Raw PDF reads count the downloaded PDF directly. If a raw EPUB archive
cannot be read, content still returns with total_pages=null.
- If older USB firmware returns only a native PDF, "text" returns source
text without annotations and "annotations" reports that the archive is
unavailable instead of trying to parse the PDF as a zip.
Use grep to search for specific content on the current page.
OCR uses Google Vision when configured, otherwise Tesseract.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- content_type: "text" (full), "raw" (PDF/EPUB only), "annotations" (notes only)
- page: Extracted-content page number (default: 1). Physical document pages
are reported separately as total_pages.
- grep: Optional regex pattern to filter content (searches current page)
- include_ocr: Enable handwriting OCR for annotations (default: False)
</parameters>
<examples>
- remarkable_read("Meeting Notes") # Get first page of text
- remarkable_read("Book.pdf", content_type="raw") # Get raw PDF text
- remarkable_read("Notes", content_type="annotations") # Only annotations
- remarkable_read("Report", page=2) # Get second page
- remarkable_read("Manual", grep="installation") # Search for keyword
</examples>remarkable_browse tool
<usecase>Browse your reMarkable library or search for documents.</usecase>
<instructions>
Three modes:
1. Browse mode (default): List contents of a folder
- Use path="/" for root folder
- Use path="/FolderName" to navigate into folders
2. Search mode: Find documents by name
- Set query="search term" to search across all documents
3. Filter by tags: Find documents with specific tags
- Set tags=["tag1", "tag2"] to filter by tags
- Works in both browse and search modes
Results include document names, types, modification dates, and tags.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that
folder are accessible. Paths are relative to the root path.
</instructions>
<parameters>
- path: Folder path to browse (default: "/" for root)
- query: Search term to find documents by name (optional, triggers search mode)
- tags: List of tags to filter documents (optional, case-insensitive)
</parameters>
<examples>
- remarkable_browse() # List root folder
- remarkable_browse("/Work") # List Work folder
- remarkable_browse(query="meeting") # Search for "meeting"
- remarkable_browse(tags=["important"]) # Show documents with "important" tag
- remarkable_browse(query="project", tags=["work"]) # Search with tag filter
</examples>remarkable_recent tool
<usecase>Get your most recently modified documents.</usecase>
<instructions>
Returns documents sorted by modification date (newest first).
Optionally includes a text preview of each document's content.
Use this to quickly find what you were working on recently.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that
folder are included.
</instructions>
<parameters>
- limit: Maximum documents to return (default: 10, max: 50 without preview, 10 with preview)
- include_preview: Include first ~200 chars of text content (default: False)
</parameters>
<examples>
- remarkable_recent() # Last 10 documents
- remarkable_recent(limit=5, include_preview=True) # With content preview
</examples>remarkable_search tool
<usecase>Search across multiple documents and return matching content.</usecase>
<instructions>
Searches document names for the query, then optionally searches content with grep.
Can filter by tags to narrow results.
Returns summaries from multiple documents in a single call.
This is efficient for finding information across your library without
making many individual tool calls.
Limits:
- Max 5 documents per search (to keep response size manageable)
- Returns first page (~8000 chars) of each matching document
- Use grep to filter to relevant sections
</instructions>
<parameters>
- query: Search term for document names
- grep: Optional pattern to search within document content
- limit: Max documents to return (default: 5, max: 5)
- include_ocr: Enable OCR for handwritten content (default: False)
- tags: List of tags to filter documents (optional, case-insensitive)
</parameters>
<examples>
- remarkable_search("meeting") # Find docs with "meeting" in name
- remarkable_search("journal", grep="project") # Find "project" in journals
- remarkable_search("notes", include_ocr=True) # Search with OCR enabled
- remarkable_search("project", tags=["work"]) # Find work-tagged projects
</examples>remarkable_status tool
<usecase>Check connection status, active transport, and write capabilities.</usecase>
<instructions>
Returns authentication status, the active transport (cloud, local-dir, ssh, or
usb-web), the document count, and a capability matrix describing what each
transport can do. Use this to verify your connection, choose a transport, or
troubleshoot.
Capability notes:
- Export is available in every transport and creates only a bounded temporary
local resource; it never modifies the tablet.
- Cloud (default): full read/render/export/upload/mkdir/move/rename/delete — no device
needed, works from anywhere your token is valid.
- SSH: full capabilities over a local/USB connection to the tablet.
- USB web: read, render, export, and upload (to root) only — the tablet's USB web
interface firmware exposes no folder/move/rename/delete endpoints. For full
write parity over a USB cable, use SSH mode pointed at the USB IP.
- Local directory: fully offline read/render/export access to the desktop app's sync
cache. Strictly read-only to avoid corrupting app-managed state.
Write tools (upload/mkdir/move/rename/delete) are enabled by default; run
with --read-only (or REMARKABLE_READ_ONLY=1) to expose a read-only server.
</instructions>
<examples>
- remarkable_status()
</examples>remarkable_image tool
<usecase>Get an image of a specific page from a reMarkable document.</usecase>
<instructions>
Renders a notebook or document page as an image (PNG or SVG). This is useful for:
- Viewing hand-drawn diagrams, sketches, or UI mockups
- Getting visual context that text extraction might miss
- Implementing designs based on hand-drawn wireframes
- SVG format for scalable vector graphics that can be edited
## Merged PDF + Annotation Rendering
PNG pages backed by an imported PDF automatically composite the PDF page with
its reMarkable annotations. Set render_merged=False for an annotation-only
render, or True to explicitly request compositing. SVG remains annotation-only.
## Response Formats
By default, images are returned as embedded resources (EmbeddedResource) which
include the full image data inline:
- PNG: Returned as BlobResourceContents with base64-encoded data
- SVG: Returned as TextResourceContents with SVG markup
If your client doesn't support embedded resources in tool responses, set
compatibility=True to receive a JSON response with just the resource URI.
The client can then fetch the resource separately.
Optionally, enable include_ocr=True to extract text from the image using OCR.
Google Vision is used when configured; otherwise OCR runs locally with Tesseract.
Note: Native notebooks retain their existing stroke rendering behavior.
If older USB firmware returns only a native PDF export, PNG remains
available; SVG and explicit annotation-only rendering require an rmdoc
archive and return a clear error when it is unavailable.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents)
- page: Page number (default: 1, 1-indexed)
- background: Background color as hex code. Supports RGB (#RRGGBB) or RGBA (#RRGGBBAA).
Default is "#FBFBFB" (reMarkable paper color), or set REMARKABLE_BACKGROUND_COLOR
env var to override. Use "#00000000" for transparent.
- output_format: Output format - "png" (default) or "svg" for vector graphics
- compatibility: If True, return resource URI in JSON instead of embedded resource.
Use this if your client doesn't support embedded resources in tool responses.
- include_ocr: Enable OCR text extraction from the image (default: False).
- render_merged: PDF compositing mode for PNG: None (default) automatically
merges PDF-backed pages, True explicitly requests merging, and False returns
the annotation-only layer. SVG output remains annotation-only.
</parameters>
<examples>
- remarkable_image("UI Mockup") # Get first page as embedded PNG resource
- remarkable_image("Meeting Notes", page=2) # Get second page
- remarkable_image("/Work/Designs/Wireframe", background="#FFFFFF") # White background
- remarkable_image("Sketch", background="#00000000") # Transparent background
- remarkable_image("Diagram", output_format="svg") # Get as embedded SVG resource
- remarkable_image("Notes", compatibility=True) # Return resource URI for retry
- remarkable_image("Notes", include_ocr=True) # Get image with OCR text extraction
- remarkable_image("Annotated PDF") # PDF + annotations composited automatically
- remarkable_image("Annotated PDF", render_merged=False) # Annotation layer only
</examples>remarkable_export tool
<usecase>Export one reMarkable document as a reusable PDF or Markdown file.</usecase>
<instructions>
Exports a single document without modifying the tablet or its library.
The generated file is written to a server-managed temporary directory and
returned as an MCP ResourceLink. The tool response stays small: it never embeds
the PDF/Markdown as base64 and never writes to an arbitrary host path. The
resource expires after 15 minutes and may be evicted earlier when more than
eight exports are retained. Fetch and save the linked resource for durable use.
PDF behavior:
- `pdf_mode="merged"` (default) preserves complete physical pages, combining
mapped PDF underlays and reMarkable annotations.
- `pdf_mode="annotations"` exports full-page annotation layers only when the
transport provides a document archive.
- Pages remain in physical device order. A render failure produces a labeled
placeholder at that ordinal and a partial-export warning; pages are not skipped.
Markdown behavior:
- Preserves basic source metadata and fixed source text, typed text, annotation,
highlight, and OCR sections.
- OCR is opt-in and uses the same configured/cached OCR path as remarkable_read.
- Extracted text is kept verbatim; the exporter does not invent headings, lists,
links, or page attribution it cannot prove.
</instructions>
<parameters>
- document: Document name or path (use remarkable_browse to find documents).
- output_format: "pdf" (default) or "markdown".
- pdf_mode: PDF-only mode, "merged" (default) or "annotations".
- include_ocr: Enable existing handwriting OCR for Markdown (default: False).
</parameters>
<examples>
- remarkable_export("Meeting Notes")
- remarkable_export("Research Paper", output_format="pdf", pdf_mode="annotations")
- remarkable_export("Journal", output_format="markdown", include_ocr=True)
</examples>remarkable_author tool
<usecase>Author native reMarkable ink and notebooks. ONE compound write
primitive with three methods: "draw" appends pen/highlighter strokes to a
page, "add_page" appends a blank drawable page to a notebook, and
"create_document" creates a new notebook (optionally seeded with typed
text). This is the single tool behind the interactive canvas (Save → draw,
+Page → add_page, new notebook → create_document) AND model-driven markup
(highlighting, underlining, marking) — the model composes the strokes.</usecase>
<instructions>
Requires SSH mode (the default tablet-filesystem transport for write-back)
and write mode (the default; disabled with --read-only). All methods are
non-destructive (draw appends to existing ink and backs the page up to
{pageId}.rm.bak the first time), so no confirmation prompt is required.
Pick the method, then pass only that method's parameters:
- method="draw": requires `document` + `page` + `strokes`. Strokes are
APPENDED to the page's ink. If the page has no ink layer yet (a fresh
notebook page, or a PDF/EPUB page never annotated), a blank drawable
layer is created automatically. Coordinates: each point is [nx, ny] or
[nx, ny, pressure] with nx, ny in [0,1] from the page's TOP-LEFT; the
tool maps them to the page's own paper_size so the same payload works on
any device. (PDF-backed pages currently use the same map; precise PDF
overlay placement is a follow-up.)
- method="add_page": requires `document`. Appends one blank page to the END
of a native notebook and returns its 1-based page number. Only native
notebooks support this (PDF/EPUB pages already exist).
- method="create_document": requires `name`. Creates a new native notebook
in `folder` (default root). Leave `text` EMPTY for a blank notebook —
that is the default and the correct choice. Only pass `text` when the
user EXPLICITLY asks for specific typed content; never invent a title,
placeholder, or "created by" line. Returns the new document id and
first-page geometry.
The interactive canvas calls this exact tool via the MCP Apps bridge,
passing ui_submitted=true for draw (the human already chose Save). A model
calling it directly should omit ui_submitted.
</instructions>
<parameters>
- method: "draw" | "add_page" | "create_document".
- document: Target document name/path/id (draw, add_page).
- page: 1-based page number (draw).
- strokes: List of stroke dicts (draw). Each:
{"points": [[nx, ny], [nx, ny, pressure], ...],
"tool": "fineliner" | "highlighter" | int,
"color": "black" | "yellow" | ...,
"width": <optional float>, "thickness_scale": <optional float>}
- name: Title of the new notebook (create_document).
- text: Optional typed text for the first page (create_document). Omit it
unless the user explicitly requested specific content; never fabricate
placeholder text. Paragraphs split on newlines.
- folder: Destination folder path (create_document; default "/").
- ui_submitted: Set by the canvas app when the user clicked Save. Models omit it.
- defer_restart: Skip the xochitl restart for this write. Call
remarkable_refresh() once after the batch. The response sets
refresh_pending=true while a refresh is owed.
</parameters>
<examples>
- remarkable_author(method="draw", document="Ideas", page=1,
strokes=[{"points": [[0.1,0.2],[0.8,0.2]], "tool": "highlighter", "color": "yellow"}])
- remarkable_author(method="add_page", document="Ideas")
- remarkable_author(method="create_document", name="Sketches")
- remarkable_author(method="create_document", name="Meeting notes",
text="Agenda\\nFollow-ups") # only when the user supplied that text
</examples>remarkable_upload tool
<usecase>Upload a PDF or EPUB file to the reMarkable tablet.</usecase>
<instructions>
Uploads a local file to the tablet. Only PDF and EPUB formats
are supported. Works in all three transports:
- Cloud: uploaded via the sync protocol; supports parent_folder + document_name
- SSH: transferred over SSH, metadata created; supports parent_folder + document_name
- USB web: uploaded via POST /upload. The multipart filename carries
document_name, parent_folder is ignored, and the tablet web service
chooses the destination folder.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>
- file_path: Absolute path to the local PDF or EPUB file
- parent_folder: Destination folder path on tablet (default: root "/").
Honored in cloud and SSH modes; ignored by the USB web interface.
- document_name: Display name on tablet (default: filename without
extension). Honored in every mode; USB web uses it as the uploaded filename.
- defer_restart: SSH only. When True, skip the xochitl restart that
normally makes the upload visible. Use this for every upload in a
batch, then call remarkable_refresh() ONCE at the end. Each restart
forces a full document-store rescan that briefly destabilises the SSH
link, so deferring turns N restarts (and N races) into one. The
response sets "refresh_pending": true while a refresh is owed. Ignored
in cloud/USB modes (no xochitl).
</parameters>
<examples>
- remarkable_upload("/tmp/paper.pdf")
- remarkable_upload("/tmp/book.epub", parent_folder="/Books")
- remarkable_upload("/tmp/report.pdf", document_name="Q4 Report")
- # batch import: defer every upload, refresh once at the end
remarkable_upload("/tmp/a.pdf", defer_restart=True)
remarkable_upload("/tmp/b.pdf", defer_restart=True)
remarkable_refresh()
</examples>remarkable_markdown_to_pdf tool
<usecase>Render Markdown text as a PDF and upload it to the reMarkable tablet.</usecase>
<instructions>
Use this when the user wants notes, reports, summaries, or other Markdown
content written back to the tablet without first creating a local file.
Headings, lists, tables, links, blockquotes, and code blocks are rendered
into a paginated A4 PDF. Raw HTML is escaped and image assets are omitted
so rendering never reads local files or fetches remote content.
Works in all three transports:
- Cloud: sync upload with parent_folder and document_name
- SSH: filesystem upload with parent_folder and document_name
- USB web: upload whose multipart filename is document_name + ".pdf";
parent_folder is ignored and the tablet web service chooses the folder.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>
- markdown: Markdown source text. Must not be empty.
- document_name: Display name on the tablet (default: "Markdown").
- parent_folder: Destination folder (default: root "/"). USB web ignores
this parameter because its upload endpoint has no folder argument.
- defer_restart: SSH only. When True, skip the xochitl restart and call
remarkable_refresh() once after the batch. Forwarded exactly like
remarkable_upload; ignored in cloud and USB web modes.
</parameters>
<examples>
- remarkable_markdown_to_pdf("# Meeting Notes\\\\n\\\\n- Follow up with Sam")
- remarkable_markdown_to_pdf(
"# Q4 Report\\\\n\\\\nRevenue increased **20%**.",
document_name="Q4 Report",
parent_folder="/Reports",
)
- remarkable_markdown_to_pdf(
"# Batch item", document_name="Item 1", defer_restart=True
)
remarkable_refresh()
</examples>remarkable_mkdir tool
<usecase>Create a new folder on the reMarkable tablet.</usecase>
<instructions>
Creates a folder in the tablet's document hierarchy. In SSH mode the
folder appears after xochitl restarts; in cloud mode it syncs to all
your devices.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface (the firmware exposes no folder-create endpoint).
</instructions>
<parameters>
- folder_name: Name of the new folder
- parent: Parent folder path (default: root "/")
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_mkdir("Projects")
- remarkable_mkdir("2024", parent="/Archive")
</examples>remarkable_move tool
<usecase>Move a document or folder to a different location.</usecase>
<instructions>
Moves a document or folder by updating its parent reference in the metadata.
Find the document name with remarkable_browse() first.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
</instructions>
<parameters>
- document: Name or path of the document/folder to move
- dest_folder: Destination folder path (use "/" for root)
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_move("Meeting Notes", "/Archive")
- remarkable_move("Old Project", "/Archive/2023")
</examples>remarkable_rename tool
<usecase>Rename a document or folder on the reMarkable tablet.</usecase>
<instructions>
Changes the display name of a document or folder by updating its metadata.
Find the document name with remarkable_browse() first.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
</instructions>
<parameters>
- document: Current name or path of the document/folder
- new_name: New display name
- defer_restart: SSH only. Skip the xochitl restart so a batch of
writes can refresh once via remarkable_refresh() instead of once
per write. Sets "refresh_pending": true. Ignored in cloud mode.
</parameters>
<examples>
- remarkable_rename("Untitled", "Meeting Notes 2024-01-15")
- remarkable_rename("/Work/Draft", "Final Report")
</examples>remarkable_delete tool
<usecase>Delete a document or folder on the reMarkable tablet.</usecase>
<instructions>
DESTRUCTIVE operation. By default the item is moved to the tablet's
Trash and remains recoverable. In SSH mode only, permanent=True removes
the resolved UUID and all sidecar files instead; use that only when the
user explicitly asked for permanent deletion.
Works in cloud and SSH modes (default; --read-only disables). Not available over the
USB web interface.
If the client supports elicitation, this tool asks the user to confirm
before deleting. If the client cannot show a confirmation prompt, the
delete is refused unless REMARKABLE_SKIP_CONFIRM=1 is set (for headless
automation).
</instructions>
<parameters>
- document: Name or path of the document/folder to delete
- defer_restart: SSH only. Skip the xochitl restart so a batch of
deletes can refresh once via remarkable_refresh() instead of once
per delete. Sets "refresh_pending": true. Ignored in cloud mode.
- permanent: SSH only. Permanently remove the resolved document/folder
files instead of moving the item to Trash (default: False).
</parameters>
<examples>
- remarkable_delete("Old Notes")
- remarkable_delete("/Books/Archive/Old Draft")
</examples>remarkable_refresh tool
<usecase>Restart xochitl once to apply writes made with
defer_restart=True (or with REMARKABLE_DEFER_RESTART set).</usecase>
<instructions>
SSH only. Each write normally restarts xochitl so the change becomes
visible, but every restart forces a full document-store rescan that
briefly destabilises the SSH link. For a batch of writes, pass
defer_restart=True to each one and then call this tool ONCE at the end:
it pays the restart cost a single time instead of once per write,
eliminating the per-write race and the redundant rescans.
Once this server process has confirmed a clean refresh state, calling it
again with nothing pending is a no-op. The first explicit refresh in a
new process still restarts xochitl because pending work from an earlier
process cannot be inferred safely from memory.
Requires write mode (the default; disabled with --read-only).
</instructions>
<parameters>(none)</parameters>
<examples>
- remarkable_upload("/tmp/a.pdf", defer_restart=True)
remarkable_upload("/tmp/b.pdf", defer_restart=True)
remarkable_refresh()
</examples>summarize_recent prompt
Get an AI summary of your recent reMarkable notes
find_notes prompt
Search your reMarkable tablet for notes on a specific topic
daily_review prompt
Review what you worked on today in your reMarkable tablet
export_document prompt
Extract and format content from a specific document
organize_library prompt
Get suggestions for organizing your reMarkable library
meeting_notes prompt
Find and extract meeting notes from your reMarkable
remarkable_canvas_ui resource
HTML for the reMarkable interactive canvas app (MCP Apps surface).
Temporary reMarkable PDF export resource
A generated PDF export. The link expires 15 minutes after creation.
Temporary reMarkable Markdown export resource
A generated Markdown export. The link expires 15 minutes after creation.
final_uri resource
final_raw_uri resource
final_img_uri resource
final_svg_uri resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path3 findings the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes8 of 29 capabilities start processes; 10 more call code the scanner could not follow, where it may happen
- Tools that touch files11 of 29 capabilities touch files; 7 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 29 capabilities; 18 more call code the scanner could not follow, where it may happen
Where the code is: 29 handlers in 6 files at commit 5b8fa7f4f138
remarkable_mcp/app_canvas.pyremarkable_canvas_ui, remarkable_canvasremarkable_mcp/export_resources.pyTemporary reMarkable PDF export, Temporary reMarkable Markdown exportremarkable_mcp/prompts.pysummarize_recent, find_notes, daily_review, export_document, organize_library, meeting_notesremarkable_mcp/resources.pyfinal_uri, final_raw_uri, final_img_uri, final_svg_uriremarkable_mcp/tools.pyremarkable_read, remarkable_browse, remarkable_recent, remarkable_search, remarkable_status, remarkable_image, remarkable_exportremarkable_mcp/write_tools.pyremarkable_author, remarkable_upload, remarkable_markdown_to_pdf, remarkable_mkdir, remarkable_move, remarkable_rename, remarkable_delete, remarkable_refresh
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies HIGH1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=2.3.0,<3.0.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials9 of 29 capabilities read credentials; 9 more call code the scanner could not follow, where it may happen
- Environment variables16 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (1 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
soupsievePyPI 2.10 HIGH 3 advisories 3.0.24.0.0
- HIGHGHSA-6655-6qjp-jx7x CVE-2026-126191Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER
- HIGHGHSA-mmhr-3c5m-f64f CVE-2026-126190Soup Sieve: Polynomial-time denial of service in the descendant combinator
- MEDIUMGHSA-7g44-g9rc-x53w CVE-2026-126193Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=2.3.0,<3.0.0 |
| Servers in the code | 1 (test-app) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.SamMorrowDrums/remarkable |
|---|---|
| Listed in | 3 catalogs (github_search, glama, mcp_registry) |
| License | MIT |
| Created | 2025-11-27 |
| Topics | remarkable-tablet |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.