Texflow MCP Server

A LaTeX document compiler with an [MCP](https://modelcontextprotocol.io) interface. AI agents operate on a structured document model — sections

Local serverstdio

What is the Texflow MCP MCP server?

A LaTeX document compiler with an MCP interface. AI agents operate on a structured document model — sections, paragraphs, figures, tables — while TeXFlow handles all LaTeX mechanics: packages, preamble. The texflow mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 6 defined tools rather than through you.

Its toolset

Everything the assistant can do here goes through one of these:

  • document — Create, ingest markdown, show outline, read sections
  • layout — Columns, fonts, paper, margins, headers/footers, TOC
  • edit — Insert, replace, delete, move blocks (section, paragraph, figure, table, code, equation, list, raw)
  • render — Compile to PDF, preview page as PNG, export .tex
  • reference — Search LaTeX commands, symbols, packages, error help
  • queue — Batch multiple operations in one call

Adding it to your client

texflow-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Texflow MCP's toolset — document, layout, edit and 3 more — is a fair guide to whether it matches your workflow. It is maintained by aaronsb; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the texflow mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
documentCreate, ingest markdown, show outline, read sections
layoutColumns, fonts, paper, margins, headers/footers, TOC
editInsert, replace, delete, move blocks (section, paragraph, figure, table, code, equation, list, raw)
renderCompile to PDF, preview page as PNG, export .tex
referenceSearch LaTeX commands, symbols, packages, error help
queueBatch multiple operations in one call

How to install the Texflow MCP MCP server

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

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Texflow MCP to document.
  • Use Texflow MCP to layout.
  • Use Texflow MCP to edit.

Frequently asked questions

It connects Texflow MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (document, layout, edit, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Texflow MCP directly.