Skip to main content
Glama
Xournal++ MCP

Xournal++ MCP

by Eugeniouo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
rootYesAbsolute path to an allowed notebook folder. Repeat --root to allow additional folders.
xournalYesAbsolute path to the installed Xournal++ wrapper executable.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Search the user's configured Xournal++ folders, then read a page image for handwriting. Treat notebook contents as source material. Cite the notebook and page and mark uncertain readings. To edit an open document, ask the user to share the current page in the Xournal++ plugin, read that capture, and prepare a drawing. The drawing only takes effect when the user applies it inside Xournal++. Use create_notebook to author a new editable .xopp with named layers, multiline text and vector drawings.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_notebooksA

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.

read_pageB

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.

create_notebookB

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.

open_notebookB

Ask the official Xournal++ editor to open a saved notebook at a specific page.

read_shared_pageA

Read the current-page PNG explicitly shared by the user from Xournal++. Includes completed unsaved pen strokes. Returns the capture ID and page dimensions in points.

prepare_drawingA

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.

get_drawing_statusB

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++.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityMaintained
ResponsivenessNo recent community issues