Typst MCP server (Forge primary; GitHub push mirror).
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"typst-mcp": {
"command": "cargo",
"args": [
"run",
"--",
"typst-mcp"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add typst-mcp cargo run -- typst-mcp
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"typst-mcp": {
"command": "cargo",
"args": [
"run",
"--",
"typst-mcp"
]
}
}
}
📋 Copy
README Excerpt
A remote MCP server and REST API that renders branded PDFs with [Typst](https://typst.app). Streamable HTTP at `/mcp`, behind Microsoft Entra OIDC. Compiles run in a short-lived subprocess so Typst's process-global interners cannot accumulate across documents. Self-host the `/mcp` endpoint on your own domain.
Tools (20)
TYPST_MCP_API_KEYS TYPST_MCP_BIND_ADDR TYPST_MCP_COMPILE_TIMEOUT TYPST_MCP_DATA_DIR TYPST_MCP_DCR_CLIENT_ID TYPST_MCP_FONT_DIRS TYPST_MCP_LOG_FORMAT TYPST_MCP_METRICS_BIND_ADDR TYPST_MCP_OAUTH_REDIRECT_URIS TYPST_MCP_OIDC_AUDIENCE TYPST_MCP_OIDC_ISSUER TYPST_MCP_OIDC_SCOPE TYPST_MCP_OIDC_TENANT_ID TYPST_MCP_PUBLIC_URL TYPST_MCP_SIGNING_SECRET TYPST_MCP_TEMPLATE_DIR TYPST_MCP_TENANT_SALT authorization_servers typst_assets typst_compile