olcli for VS Code
io.github.aloth/olcli
Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes
client:VS Code
transport:stdio
runtime:npm
Install olcli in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "overleaf-session",
"description": "OVERLEAF_SESSION",
"password": true
},
{
"type": "promptString",
"id": "overleaf-base-url",
"description": "OVERLEAF_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "overleaf-cookie-name",
"description": "OVERLEAF_COOKIE_NAME",
"password": true
}
],
"servers": {
"olcli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/olcli"
],
"env": {
"OVERLEAF_SESSION": "${input:overleaf-session}",
"OVERLEAF_BASE_URL": "${input:overleaf-base-url}",
"OVERLEAF_COOKIE_NAME": "${input:overleaf-cookie-name}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs