Skip to content
Grok

Overleaf for Grok

io.github.yangzichao/mcp-server-overleaf

Read and edit Overleaf papers from any AI client. Edits can arrive as tracked-change suggestions.

client:Grok transport:stdio runtime:npm

Install Overleaf in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-server-overleaf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-overleaf"
      ],
      "env": {
        "OVERLEAF_GIT_TOKEN": "<OVERLEAF_GIT_TOKEN>",
        "OVERLEAF_PROJECT_ID": "<OVERLEAF_PROJECT_ID>",
        "OVERLEAF_SESSION_COOKIE": "<OVERLEAF_SESSION_COOKIE>"
      }
    }
  }
}

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

Overleaf in other clients