mcp-registry/typst-mcp

    ==================
      
       /// MCP ///
      /// TYP ///
        
    ==================
        
    [server:online]
    [protocol:ready]

typst-mcp

by johannesbrandenburger

MCP server that lets LLMs work with Typst: converts LaTeX⇄Typst, validates Typst code and renders it, plus exposes Typst docs through MCP tools.

51
5
Open Source

01

list_docs_chapters

List all chapters in the Typst documentation.

02

get_docs_chapter

Retrieve the content of a specific Typst documentation chapter by route.

03

get_docs_chapters

Retrieve multiple Typst documentation chapters at once by their routes.

04

latex_snippet_to_typst

Convert a LaTeX code snippet to Typst using Pandoc.

05

latex_snippets_to_typst

Convert multiple LaTeX code snippets to Typst using Pandoc.

06

check_if_snippet_is_valid_typst_syntax

Validate whether a Typst code snippet has correct syntax.

07

check_if_snippets_are_valid_typst_syntax

Validate whether multiple Typst code snippets have correct syntax.

08

typst_to_image

Render a Typst code snippet to a PNG image.

Installation

1. Prerequisites
• Python ≥3.9
• Typst CLI installed and available in PATH (https://typst.app)
• (Optional) Pandoc for advanced LaTeX↔Typst conversions
2. Clone the repository
git clone https://github.com/johannesbrandenburger/typst-mcp.git cd typst-mcp
3. Create and activate a virtual environment
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate
4. Install server dependencies
pip install -U pip pip install -r requirements.txt # or: pip install . if a setup.py/pyproject.toml is present
5. Verify Typst availability
typst --version # should print version information
6. Start the MCP server
python -m typst_mcp.server --host 0.0.0.0 --port 8080 # adjust module/CLI name if README shows a different entry-point
7. Configure client/LLM tooling
Point your Model Context Protocol client to http://localhost:8080 and enable the tools exposed by this server (see API specs).

Documentation

License: MIT License
Updated 7/30/2025
typst-mcp - MCP Server Registry - Augment Code