Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes
Connect Runs on your machine
claude mcp add olcli -e OVERLEAF_SESSION=<OVERLEAF_SESSION> -e OVERLEAF_BASE_URL=<OVERLEAF_BASE_URL> -e OVERLEAF_COOKIE_NAME=<OVERLEAF_COOKIE_NAME> -- npx -y @aloth/[email protected]
{
"mcpServers": {
"olcli": {
"command": "npx",
"args": [
"-y",
"@aloth/[email protected]"
],
"env": {
"OVERLEAF_SESSION": "<OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<OVERLEAF_COOKIE_NAME>"
}
}
}
}
{
"mcpServers": {
"olcli": {
"command": "npx",
"args": [
"-y",
"@aloth/[email protected]"
],
"env": {
"OVERLEAF_SESSION": "<OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<OVERLEAF_COOKIE_NAME>"
}
}
}
}
{
"servers": {
"olcli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/[email protected]"
],
"env": {
"OVERLEAF_SESSION": "<OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<OVERLEAF_COOKIE_NAME>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OVERLEAF_SESSIONRequired, secret | Overleaf session cookie value (overleaf_session2 on overleaf.com) |
OVERLEAF_BASE_URLOptional | Base URL of a self-hosted Overleaf instance |
OVERLEAF_COOKIE_NAMEOptional | Session cookie name, for self-hosted instances that use overleaf.sid |
Details
| Package | @aloth/[email protected] (NPM, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.github.aloth/olcli |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
