Two entry flows converge on the same model: scaffold an empty document and insert blocks, or ingest a markdown file and refine the layout from there. Batch the insert calls through queue — it runs them in order and writes once, instead of one round trip and one disk write per paragraph.
A LaTeX compiler behind an MCP interface. You operate on a structured document model that auto-saves as JSON; the .tex file is only ever an output artifact, never something you edit by hand.
- document scaffolds a new file or ingests markdown text, a .md or a .tex file into the model, and shows the outline or reads back one section
- edit works on blocks rather than characters: insert, replace, delete or move a section, paragraph, figure, table, code block, equation, list or raw LaTeX at a position
- layout carries the typesetting in one call — columns, paper, margins, main, sans and mono fonts, font size, headers and footers, table of contents, list of figures and tables, and a style preset
- render compiles to PDF, exports the raw .tex, or renders a single page as a PNG at the dpi you ask for
- reference searches LaTeX commands and topics, finds a symbol from a plain description such as 'approximately equal', explains a package, and checks a .tex file for style
- queue runs a batch of those operations sequentially in one call and writes to disk once at the end
- When the block types run out, raw LaTeX is a supported path rather than an escape hatch — edit takes a template and can read a raw block back for editing
No account and no key. Install with pip install texflow-mcp, or run it without installing via uvx texflow-mcp; pass a directory on the command line to choose where documents are saved. Compiling to PDF needs XeLaTeX on the machine (texlive-xetex plus the recommended and extra font packages) — without it you can still build and export .tex. Page preview as PNG needs poppler-utils for pdftoppm.
One command — uvx texflow-mcp
