Xournal++ MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xournal++ MCP Create a two-page notebook explaining photosynthesis with a labeled diagram."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Xournal++ MCP
Create editable notebooks, read handwritten pages and apply drawings in the official Xournal++ editor from an AI chat.
Download the Windows ZIP or Claude Desktop bundle · Install · Reproduce the examples
Editable examples
Constrained extrema · multivariable calculus | Leaf anatomy · botany |
|
|
Each notebook has two pages. The gallery script sends reproducible requests to the MCP server and exports every page through Xournal++. In the downloaded files, text and figures are native Xournal++ elements on named layers. Source and sample prompts
Related MCP server: Project Memory MCP Server
Install on Windows
Install Xournal++ 1.3.8 and Node.js 22.13 or newer. Extract the Windows ZIP from the release.
To edit an open page, run
install-plugin.ps1from the extracted folder, or copyplugin/XournalppMcpinto%LOCALAPPDATA%\xournalpp\plugins. Enable XournalppMcp under Plugin → Plugin Manager and restart Xournal++.Connect the server in your desktop client. Choose an absolute notebook folder. You can use the extracted
examplesfolder to start.
Codex in the ChatGPT desktop app
In Settings → MCP servers, add a stdio server. Use node as its command and pass these arguments separately.
C:\Tools\xournalpp-mcp\dist\cli.js
--root
C:\Users\you\Documents\Notebooks
--xournal
C:\Program Files\Xournal++\bin\xournalpp-wrapper.exeUse the installed Xournal++ wrapper path on your machine. Repeat --root to allow another folder. The same arguments work in the Codex MCP configuration file.
Claude Desktop
Install the Windows .mcpb under Settings → Desktop app → Extensions → Advanced settings → Install Extension. Select the notebook folder and Xournal++ executable when prompted. The optional Lua plugin for live edits comes in the ZIP. Claude Desktop extension guide
If your workspace uses a local MCP JSON configuration, set the command to your installed Node.js executable and use the same argument array as the Codex example.
Work from chat
Task | How it works |
Create a notebook |
|
Find and read notes | Search filenames or typed note text. Read page images to interpret handwriting and PDF backgrounds. |
Edit an open page | Choose Plugin → Xournal++ MCP: Share current page. Ask the assistant for a drawing, then choose Apply drawing in Xournal++ to confirm the named page and layer. Use the editor's Undo to remove the inserted batches. |
Try searching the example folder for Kirchhoff and ask the assistant to show page 1. For a new notebook, ask for a two-page explanation with a labeled figure and an explicit filename.
The pilot reads standard gzip .xopp files. The assistant receives the pages it requests. Its model provider can process those pages in the cloud when your client uses a cloud model.
Verification
Surface | Verification |
Xournal++ 1.3.8 on Windows x64 | Native page previews, capture of unsaved ink, editable live drawing, Undo and stale-page rejection. The gallery notebooks were created over MCP and all four pages rendered in Xournal++. |
Codex | Tool discovery verified through the local app server. |
Claude Desktop | The Windows MCPB manifest and the server extracted from the bundle are tested. Interactive verification remains open. |
macOS and Linux | Server tests run in CI. The installable pilot targets Windows x64. |
See verification notes for the editor test and known redraw behavior.
Troubleshooting
Search missed a handwritten word. Search covers filenames and typed text. Open a page image for handwriting.
Text is available but the preview fails. Check the executable path and linked PDF or image. Configure its folder as an allowed root if you want to include that background.
A drawing expired or the page changed. Share the intended page again, then ask for a new preview.
Development
From a checkout of this repository:
npm ci
npm run check
npm testArchitecture · Contributing · MIT license
An independent project for the official Xournal++ editor.
Available Tools
7 toolscreate_notebookBIdempotent
Create an editable Xournal++ notebook in a configured folder. Set page dimensions in points. Build named layers using text blocks, geometric primitives and filled polygons. New files use the requested .xopp filename. Existing files are preserved.
Inputs: pages (required), title (required), filename (required), root.
get_drawing_statusBRead-onlyIdempotent
Check a drawing in Xournal++. A draft can be pending, expired, superseded by a newer capture, or handled by the editor. A partial or interrupted result requires inspection in Xournal++.
Inputs: captureId (required).
open_notebookB
Ask the official Xournal++ editor to open a saved notebook at a specific page.
Inputs: notebook (required), page.
prepare_drawingAIdempotent
Prepare a drawing over the last shared page and show a PNG preview. Pass the capture ID from read_shared_page. Coordinates are page points from the top left. The user applies the drawing in the Xournal++ plugin.
Inputs: items (required), captureId (required), description (required).
read_pageBRead-onlyIdempotent
Read a page from a saved notebook. Returns typed text and optionally a rendered PNG including handwriting and the PDF background. Use the image for visual interpretation.
Inputs: page (required), notebook (required), image.
search_notebooksARead-onlyIdempotent
Find Xournal++ notebooks and pages by filename or typed note text. Returns stable references and page numbers. Coverage excludes handwriting and text from the PDF background.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have clearly distinct purposes within the notebook and drawing workflow. The only mild overlap is between read_page and read_shared_page, but their descriptions clarify saved-page reading versus current shared-page capture with unsaved strokes.
All tool names follow a consistent snake_case verb_noun pattern: get_drawing_status, search_notebooks, read_page, create_notebook, open_notebook, read_shared_page, prepare_drawing. No mixed casing or inconsistent verb styles are present.
Seven tools is well-scoped for the server's purpose. Each tool covers a distinct part of the Xournal++ notebook lifecycle: search, read, create, open, shared capture, drawing preparation, and status checking.
The surface covers core workflows: finding and reading notebooks, creating and opening notebooks, reading shared pages, preparing drawings, and checking drawing status. Minor gaps remain, such as deleting or renaming notebooks and directly updating existing saved notebook content outside the shared-page drawing flow.
Maintenance
Related MCP Connectors
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
System-of-record notebook for AI coding agents: pages, datastores, tasks, skills over MCP.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Joplin notes and notebooks, including searching, reading, and listing notebooks through natural language commands via the MCP protocol.50MIT
- FlicenseNot gradedqualityDmaintenanceProvides persistent, searchable memory for MCP-compatible AI coding tools, allowing notes added from one tool to be retrieved from another.-
- AlicenseAqualityCmaintenanceAn MCP server that gives AI models a persistent notebook backed by a folder of Markdown files, with tools to discover, read, write, edit, and delete notes.9MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible clients to create, list, search, and delete notes, read all notes as markdown, and use prompts to summarize or clean up notes.MIT

