Overleaf for VS Code
io.github.yangzichao/mcp-server-overleaf
Read and edit Overleaf papers from any AI client. Edits can arrive as tracked-change suggestions.
client:VS Code
transport:stdio
runtime:npm
Install Overleaf in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "overleaf-git-token",
"description": "OVERLEAF_GIT_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "overleaf-project-id",
"description": "OVERLEAF_PROJECT_ID",
"password": true
},
{
"type": "promptString",
"id": "overleaf-session-cookie",
"description": "OVERLEAF_SESSION_COOKIE",
"password": true
}
],
"servers": {
"mcp-server-overleaf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-overleaf"
],
"env": {
"OVERLEAF_GIT_TOKEN": "${input:overleaf-git-token}",
"OVERLEAF_PROJECT_ID": "${input:overleaf-project-id}",
"OVERLEAF_SESSION_COOKIE": "${input:overleaf-session-cookie}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs