Overleaf CLI, library & MCP server — pull, push, sync, compile LaTeX projects. Use from terminal, import as TypeScript library, or connect AI agents via Model Context Protocol.
MCPpedia last refreshed this data
Olcli is an MCP server that overleaf CLI, library & MCP server — pull, push, sync, compile LaTeX projects. Use from terminal, import as TypeScript library, or connect AI agents via Model Context Protocol. Its tool list has not been published yet over stdio and http, requires no API key, and scores 90/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"overleaf": {
"env": {
"OVERLEAF_SESSION": "<your-overleaf-session-cookie>"
},
"args": [
"-y",
"@aloth/olcli-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Command-line interface for Overleaf — Sync, manage, and compile LaTeX projects from your terminal.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @aloth/olcli against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools / ai-ml
MCP client bridge: connects to MCP servers and registers their tools on ctx.tools
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
An autonomous agent that conducts deep research on any data using any LLM providers
1000+ scientific tools for AI scientists: life science, reserach, literature, and more.
MCP Security Weekly
Get CVE alerts and security updates for Olcli and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Command-line interface for Overleaf — Sync, manage, and compile LaTeX projects from your terminal.
Work with Overleaf projects directly from your command line. Edit locally with your favorite editor, version control with Git, and sync seamlessly with Overleaf's cloud compilation.
.olignore.bbl, .log, .aux for arXiv submissions)Perfect for:
brew tap aloth/tap
brew install olcli
npm install -g @aloth/olcli
Or use with npx without installation:
npx @aloth/olcli list
npx skills add aloth/olcli
Session cookie (overleaf.com and self-hosted):
olcli auth --cookie "your_session_cookie_value"
Email/password (self-hosted without reCAPTCHA):
olcli auth --email "you@example.com" --password "your_password"
olcli list
olcli pull "My Thesis"
cd My_Thesis/
vim main.tex
olcli push
olcli pdf
# Compile a specific .tex file (for multi-doc projects):
olcli pdf -r appendix.tex
git clone overleaf::https://www.overleaf.com/project/<id>
cd <project>
# edit, commit, push — standard git workflow
git push
See Git Remote Helper docs for details.
All commands auto-detect the project when run from a synced directory (contains .olcli.json).
| Command | Description |
|---|---|
olcli auth | Set session cookie or login with email/password |
olcli whoami | Check authentication status |
olcli logout | Clear stored credentials |
olcli list | List all projects |
olcli info [project] | Show project details and file list |
olcli pull [project] [dir] | Download project files to local directory |
olcli push [dir] | Upload local changes to Overleaf |
| `olcli sy |