olcli MCP
An MCP server that allows AI assistants to interact with Overleaf projects. It supports listing projects, pulling and pushing files, compiling LaTeX to PDF, managing review comments, handling tracked changes, and performing diffs between local and remote project states.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List all Overleaf projects and get project metadata
- Compile LaTeX projects and download the resulting PDF
- Manage review comments and tracked changes in documents
- Diff local directory content against live remote Overleaf projects
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@aloth/olcli 0.15.2
{
"version": "0.15.2",
"transport": "stdio",
"identifier": "@aloth/olcli",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "olcli-mcp"
}
],
"runtimeArguments": [
{
"type": "positional",
"value": "-y"
},
{
"type": "positional",
"value": "--package"
}
],
"environmentVariables": [
{
"name": "OVERLEAF_SESSION",
"isRequired": true,
"description": "Overleaf session cookie value (overleaf_session2 on overleaf.com)"
},
{
"name": "OVERLEAF_BASE_URL",
"default": "https://www.overleaf.com",
"description": "Base URL of a self-hosted Overleaf instance"
},
{
"name": "OVERLEAF_COOKIE_NAME",
"default": "overleaf_session2",
"description": "Session cookie name, for self-hosted instances that use overleaf.sid"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"olcli-mcp": {
"command": "npx",
"args": [
"-y",
"@aloth/olcli@0.15.2",
"olcli-mcp"
],
"env": {
"OVERLEAF_SESSION": "<YOUR_OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<YOUR_OVERLEAF_COOKIE_NAME>"
}
}
}
}Cline
{
"mcpServers": {
"olcli-mcp": {
"command": "npx",
"args": [
"-y",
"@aloth/olcli@0.15.2",
"olcli-mcp"
],
"env": {
"OVERLEAF_SESSION": "<YOUR_OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<YOUR_OVERLEAF_COOKIE_NAME>"
}
}
}
}VS Code
{
"servers": {
"olcli-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/olcli@0.15.2",
"olcli-mcp"
],
"env": {
"OVERLEAF_SESSION": "<YOUR_OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<YOUR_OVERLEAF_COOKIE_NAME>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"olcli-mcp": {
"command": "npx",
"args": [
"-y",
"@aloth/olcli@0.15.2",
"olcli-mcp"
],
"env": {
"OVERLEAF_SESSION": "<YOUR_OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<YOUR_OVERLEAF_COOKIE_NAME>"
}
}
}
}Let your agent find its tools
Find servers like olcli MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.