
olcli
Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes
- GitHub stars
- 253
- tools
- 21
- auth
- Secret needed
- transport
- STDIO
- env vars
- 3
- last updated
- Nov 11, 2026
Tools
21 toolsPublic tool metadata for what this MCP can expose to an agent.
list_projectsList all Overleaf projects
List all Overleaf projects
No parameter schema in public metadata yet.
get_project_infoGet file tree and metadata for a project
Get file tree and metadata for a project
No parameter schema in public metadata yet.
pull_projectDownload and extract a project to a local directory
Download and extract a project to a local directory
No parameter schema in public metadata yet.
push_fileUpload a local file to a project; asks first
Upload a local file to a project; asks first
No parameter schema in public metadata yet.
compileCompile a project and get the PDF URL
Compile a project and get the PDF URL
No parameter schema in public metadata yet.
download_pdfCompile a project and save the PDF locally
Compile a project and save the PDF locally
No parameter schema in public metadata yet.
list_commentsList review comments (filter: all / open / resolved); with include_changes also tracked changes, returned as { comments, changes }
List review comments (filter: all / open / resolved); with include_changes also tracked changes, returned as { comments, changes }
No parameter schema in public metadata yet.
get_entitiesGet a flat list of all files in a project
Get a flat list of all files in a project
No parameter schema in public metadata yet.
download_fileDownload a specific file by its remote path
Download a specific file by its remote path
No parameter schema in public metadata yet.
add_commentAdd a review comment to a document; asks first
Add a review comment to a document; asks first
No parameter schema in public metadata yet.
reply_to_commentReply to an existing comment thread; asks first
Reply to an existing comment thread; asks first
No parameter schema in public metadata yet.
resolve_commentMark a comment thread as resolved; asks first
Mark a comment thread as resolved; asks first
No parameter schema in public metadata yet.
accept_tracked_changesAccept tracked changes by id; sends nothing if any id is unknown; asks first
Accept tracked changes by id; sends nothing if any id is unknown; asks first
No parameter schema in public metadata yet.
reject_tracked_changesReject tracked changes by id; returns a diff preview and writes only with apply: true, after asking
Reject tracked changes by id; returns a diff preview and writes only with apply: true, after asking
No parameter schema in public metadata yet.
delete_entityDelete a file or document by path; asks first
Delete a file or document by path; asks first
No parameter schema in public metadata yet.
rename_entityRename a file, document, or folder, or move it into another folder; asks first
Rename a file, document, or folder, or move it into another folder; asks first
No parameter schema in public metadata yet.
rename_projectRename the project itself (not a file inside it); asks first
Rename the project itself (not a file inside it); asks first
No parameter schema in public metadata yet.
plan_project_renamesPreview a bulk project rename; plan only, never applies
Preview a bulk project rename; plan only, never applies
No parameter schema in public metadata yet.
compile_with_outputsCompile and return all output files (PDF, BBL, logs…)
Compile and return all output files (PDF, BBL, logs…)
No parameter schema in public metadata yet.
diff_projectContent-level diff of a local directory against the live remote; read-only
Content-level diff of a local directory against the live remote; read-only
No parameter schema in public metadata yet.
create_projectCreate a new blank or example project; asks first
Create a new blank or example project; asks first
No parameter schema in public metadata yet.
Sponsors
Configuration
OVERLEAF_SESSION*secretOverleaf session cookie value (overleaf_session2 on overleaf.com)
OVERLEAF_BASE_URLdefault: https://www.overleaf.comBase URL of a self-hosted Overleaf instance
OVERLEAF_COOKIE_NAMEdefault: overleaf_session2Session cookie name, for self-hosted instances that use overleaf.sid
Readme
olcli: Overleaf CLI
Work on Overleaf projects from your terminal while your coauthors keep using the Overleaf web editor. Pull, push, sync, diff and compile LaTeX projects; read and answer review comments; use Overleaf as a git remote; give AI agents an MCP server that asks you before it writes.
Details
- Repository
- github.com/aloth/olcli
- Website
- github.com/aloth/olcli/blob/main/docs/MCP.md
- Category
- Documents & Knowledge
- Package
@aloth/olcli- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active