Oleafly — Claude Code MCP server: what it does, how to install
Connects Claude Code to collaborative LaTeX, Typst, and Markdown documents in Oleafly. Lets AI assistants edit text, inspect sources, and compile papers.
AGPL-3.0 ★ 1,268 updated 2026-10-29
Open on GitHubWhat Oleafly does
Oleafly exposes your active research workspace over MCP. It lets Claude Code or Codex inspect project files, propose edits, and trigger PDF builds. Every assistant modification arrives as a diff. Undoing changes is straightforward.
Compilers like Tectonic and Typst ship directly inside the desktop application. Each workspace operates as a Git repository that creates checkpoints after clean compiles. If your paper requires extensive LaTeX packages, built-in engines will fail: you must have TeX Live or MacTeX on your machine.
The system checks references against Zotero and queries arXiv metadata. In terminal setups, the oleafly binary can build and sync files inside automated CI pipelines.
What it helps with
- diagnose and fix compilation errors in LaTeX or Typst files
- detect broken cross-references and missing figures before submission
- pull citations from Zotero and arXiv into manuscript sources
- build PDF documents using local Tectonic or system TeX installations
Example prompts for the agent
- Compile the open LaTeX project and report any build errors
- Check this manuscript for missing citations and match them with arXiv
- Revise the methodology section in Typst and show me the diff
How to install Oleafly
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Oleafly
How to connect Oleafly to Claude Code?
Oleafly interfaces with Claude Code through the desktop application. Open your LaTeX or Typst folder inside Oleafly, and the assistant can interact with your documents.
What does the Oleafly MCP server do?
It enables coding agents to read, modify, search, and compile active LaTeX, Typst, and Markdown projects inside Oleafly.
Which compilers does Oleafly require?
Tectonic, Typst, and Pandoc are bundled directly with Oleafly. For specialized LaTeX packages, the editor delegates compilation to an existing TeX Live, MacTeX, or MiKTeX setup.