olcli
olcli is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes. It has 258 GitHub stars, is released under the MIT license and runs locally with npx -y @aloth/olcli.
github.com/aloth/olcli (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install olcli
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"olcli": {
"command": "npx",
"args": [
"-y",
"@aloth/olcli"
],
"env": {
"OVERLEAF_SESSION": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env OVERLEAF_SESSION=your-value --transport stdio olcli -- npx -y @aloth/olcliCursor
{
"mcpServers": {
"olcli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/olcli"
],
"env": {
"OVERLEAF_SESSION": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "overleaf_session",
"description": "OVERLEAF_SESSION",
"password": true
}
],
"servers": {
"olcli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/olcli"
],
"env": {
"OVERLEAF_SESSION": "${input:overleaf_session}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
OVERLEAF_SESSIONsecret | Yes | Overleaf session cookie value (overleaf_session2 on overleaf.com) |
OVERLEAF_BASE_URL | No | Base URL of a self-hosted Overleaf instance |
OVERLEAF_COOKIE_NAME | No | Session cookie name, for self-hosted instances that use overleaf.sid |
About olcli
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.
- academic-writing
- cli
- latex
- nodejs
- overleaf
- research-tools
- typescript
- developer-tools
- agentskills
- arxiv
Similar MCP servers
More developer tools MCP servers
Buddy phone tools
ghorbelhamdi/buddy-android
Android phone tools for AI agents (read the screen, tap, type, open apps), served by the Buddy app.
Too new to judge · created Oct 7, 2026
Developer toolsJavaMobai MCP
MobAI-App/mobai-mcp
AI-powered mobile device automation for Android and iOS devices, emulators, and simulators.
Maintained · last commit Nov 6, 2026
Developer toolsTypeScriptQVeris
QVerisAI/qveris-agent-toolkit
Professional data and tools for AI: find services, review scope, call them, and audit usage.
Active · last commit Nov 12, 2026
Developer toolsJavaScriptGit MCP Server
cyanheads/git-mcp-server
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
Maintained · last commit Aug 24, 2026
Developer toolsTypeScriptFigma UI MCP
TranHoaiHung/figma-ui-mcp
Bidirectional Figma MCP — AI draws UI on Figma canvas, reads designs back.
Active · last commit Oct 26, 2026
Developer toolsJavaScriptFlameox
morluto/flameox
Bounded local runtime evidence from explicit artifacts and typed direct targets.
Active · last commit Oct 11, 2026
Developer toolsPython
How do I install the olcli MCP server?
Add the command npx -y @aloth/olcli to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is olcli free?
The server is open source under the MIT license, so running it is free. It needs credentials (OVERLEAF_SESSION) for the service it connects to, which may require a paid account.
Is olcli actively maintained?
The most recent commit was on Nov 15, 2026. The latest release is v0.17.0, published Nov 15, 2026. appsgit only lists MCP servers with a commit in the last six months.