Skip to content
Grok

MagicTeX for Grok

io.github.zoelinuts/magictex

LaTeX editor for AI agents: live PDF preview, PDF comments that drive edits, git history

client:Grok transport:stdio runtime:npm

Install MagicTeX in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "magictex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "magictex-mcp"
      ]
    }
  }
}

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

MagicTeX in other clients