olcli for Grok
io.github.aloth/olcli
Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes
client:Grok
transport:stdio
runtime:npm
Install olcli in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"olcli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aloth/olcli"
],
"env": {
"OVERLEAF_SESSION": "<OVERLEAF_SESSION>",
"OVERLEAF_BASE_URL": "<OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_NAME": "<OVERLEAF_COOKIE_NAME>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs