Skip to content
MCP server

MagicTeX

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.10
Listing updated
6 days ago

About MagicTeX

MagicTeX is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add magictex -- npx -y magictex-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "magictex": {
      "command": "npx",
      "args": [
        "-y",
        "magictex-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "magictex": {
      "command": "npx",
      "args": [
        "-y",
        "magictex-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

MagicTeX FAQ

Is MagicTeX free?

Yes. MagicTeX is open source, so you can use and self-host it for free.

How do I add MagicTeX to Claude Code?

Run this command in your terminal: claude mcp add magictex -- npx -y magictex-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers