magictex
01Plugin Claude Code
MagicTeX — an Overleaf-like LaTeX workspace for Claude Code, with no local TeX install required.
Plugin Claude Code
MagicTeX — an Overleaf-like LaTeX workspace for Claude Code, with no local TeX install required.
Plugin Claude Code
MagicTeX — a LaTeX editor for AI agents: live PDF preview, PDF comments that drive edits, a Visual (WYSIWYG) mode, and git-tracked history, with slash commands to run it hands-off.
Command
Call the addcomment MCP tool to anchor a comment onto the paper. Read the exact quoted passage and the note from $ARGUMENTS. Use role: "reviewer" for a suggested change, or role: "defender" when challenging a claim. The comment appears anchored on the PDF for me to Accept or Reject — don't edit the source.
Command
Address my accepted PDF comments and resolve each one.
Command
Review this paper with a skill and post comments for me to accept.
Command
Call the checkcomments MCP tool to fetch the comments I've accepted, as structured edit instructions. List them back to me grouped by file, each with its quoted passage and note — but don't edit anything yet. If I then say "address them", make each edit and call resolvecomment per comment.
Command
Call the listcheckpoints MCP tool and show me the recent checkpoints (sha, time, files/lines changed), newest first. Use $ARGUMENTS as the limit if given, else the default. If I then want to see one, tell me I can run /showdiff .
Command
Open the MagicTeX workspace — compile this paper and show the live preview.
Command
Call the renderpreview MCP tool to compile the current LaTeX project and open the MagicTeX live preview. If the preview is already running this recompiles and refreshes it. When it finishes, tell me the workspace URL and the page count, and remind me I can select text on the PDF to leave comments.
Command
Call the replytocomment MCP tool to add a threaded reply to an existing comment. Read the comment id and the reply text from $ARGUMENTS. Use this to respond to my feedback, or as the author/defender role in a review thread before I resolve it. If no id is given, ask me which comment to reply to.
Command
Call the resolvecomment MCP tool to mark a comment as resolved once the edit is made. Read the comment id and a one-line note from $ARGUMENTS. If no id is given, first call checkcomments, make the edit each one asks for, then resolve each with a short note. Resolved comments turn green in the workspace so I can review…
Command
Call the showdiff MCP tool to show me a side-by-side visual diff (it returns an image in the chat). If I passed a checkpoint sha in $ARGUMENTS, diff that checkpoint; otherwise show my current uncommitted changes.
Command
Autonomous multi-round review + fix loop — no per-round approval.
MCP server Claude CodeCodexCursor +2
LaTeX editor for AI agents: live PDF preview, PDF comments that drive edits, git history. Runs locally from the magictex-mcp npm package.