TeXFlow

by aaronsb

Not rated
GitHub

About

A document authoring and composition server for creating PDFs from LaTeX and Markdown, supporting collaborative editing and project-based workflows.

Details

Author
aaronsb
Categories
Productivity, Other, Communication

Setup

Install TeXFlow in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/aaronsb/texflow-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A LaTeX document compiler with anMCPinterface. AI agents operate on a structured document model — sections, paragraphs, figures, tables — while TeXFlow handles all LaTeX mechanics: packages, preamble, fonts, and compilation.

TeXFlow compiles documents to PDF using XeLaTeX. Without it, you can still build and export.texfiles.

# Arch pacman -S texlive-xetex texlive-fontsrecommended texlive-fontsextra # Debian/Ubuntu apt install texlive-xetex texlive-fonts-recommended texlive-fonts-extra # Fedora dnf install texlive-xetex texlive-collection-fontsrecommended texlive-collection-fontsextra

For page preview (PNG), installpoppler-utils(providespdftoppm).

claude mcp add texflow -- uvx texflow-mcp

That's it. Restart Claude Code and the tools are available.

To set a workspace directory (where documents are saved):

claude mcp add texflow -- uvx texflow-mcp ~/Documents/TeXFlow

Add to yourclaude_desktop_config.json:

{ "mcpServers": { "texflow": { "command": "uvx", "args": ["texflow-mcp"] } } }

TeXFlow has two entry flows, both converging on the same in-memory document model:
- Scaffolddocument(action="create")builds an empty document skeleton. Add content withedit(action="insert").
- Markdown ingestdocument(action="ingest", source="paper.md")parses markdown into the model. Refine layout from there.

The model auto-saves to disk as JSON. LaTeX is only ever an output artifact — you never edit.texdirectly.

Every response includes a workflow state hint showing where you are and what to do next.

> document(action="create", title="My Paper", document_class="article") > queue(operations=[ {"tool": "edit", "action": "insert", "block_type": "section", "title": "Introduction", "level": 1}, {"tool": "edit", "action": "insert", "content": "This paper explores...", "section": "Introduction"}, {"tool": "edit", "action": "insert", "block_type": "section", "title": "Methods", "level": 1}, {"tool": "layout", "font": "palatino", "columns": 2} ]) > render(action="compile")
git clone https://github.com/aaronsb/texflow-mcp cd texflow-mcp uv sync uv run pytest tests/ -v # 222 tests uv run texflow # Start MCP server

Collaborative word processor you can use with your agent

Universal document generation and conversion MCP. Generate PDF/DOCX/XLSX from templates+JSON (invoices, contracts, reports), batch generation, 100+ format conversions.

Carryo is a remote MCP server for sharing Claude or ChatGPT-created HTML artifacts as live links.

An MCP server that enables AI assistants to interact with Confluence content through a standardized interface.

Generates professional PDF cover letters using LaTeX. Requires Docker for local execution.

Publish Markdown or HTML to a clean, shareable link straight from your AI assistant — OAuth, no API keys.

A server for reading and converting documents between PDF, DOCX, and Markdown formats using marker-pdf and pandoc.

Search, cite, and read PDFs from your EndNote reference library directly in Claude Desktop

An MCP server for interacting with the esa.io knowledge-sharing platform.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.