Typst MCP Server
@johannesbrandenburger
Typst MCP Server について
Typst MCP Server is an MCP (Model Context Protocol) implementation that helps AI models interact with Typst, a markup-based typesetting system. The server provides tools for converting between LaTeX and Typst, validating Typst syntax, and generating images from Typst code.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"typst-mcp": {
"command": "python",
"args": [
"server.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Typst MCP Server?
Typst MCP Server is an MCP (Model Context Protocol) implementation that helps AI models interact with Typst, a markup-based typesetting system. It provides tools for converting between LaTeX and Typst, validating Typst syntax, and generating PNG images from Typst code.
How to use Typst MCP Server?
Clone both this repository and the Typst repository, generate the documentation JSON file, install dependencies with uv sync, then run python server.py or use Docker. Configure the server in your AI platform’s MCP settings (e.g., Claude Desktop, Cursor, VS Code Agent Mode) by specifying the command and arguments.
Key features of Typst MCP Server
- Converts LaTeX snippets to Typst using Pandoc
- Validates whether Typst code is syntactically correct
- Renders Typst code to PNG images for preview
- Lists all chapters in the Typst documentation
- Retrieves specific chapters from the Typst documentation
- Supports batch conversion and validation of multiple snippets
Use cases of Typst MCP Server
- AI assistants generating and checking Typst documents
- Converting existing LaTeX projects to Typst format
- Validating Typst code before outputting it to users
- Previewing complex Typst illustrations before sending
- Querying Typst documentation to answer user questions
FAQ from Typst MCP Server
What does Typst MCP Server do that Pandoc alone does not?
Beyond LaTeX-to-Typst conversion, it provides Typst syntax validation, PNG rendering, and direct access to Typst documentation – all integrated into AI workflows via MCP tools.
What runtime or dependencies are required?
You need Python with uv, a clone of the Typst repository (for documentation generation), and optionally Docker. Pandoc must be installed for LaTeX conversion.
Where does the documentation data live?
The Typst documentation is generated locally from the Typst source code and stored as a JSON file (main.json) in the typst-docs folder of this repository.
What are the known limitations of Typst MCP Server?
The schema of the Typst documentation is not stable and may change at any time; the server must be updated accordingly. Currently all functionality is implemented as MCP tools because other primitives (resources, prompts) are not yet supported in client IDEs like Cursor and VS Code.
How does the server handle authentication or transport?
The server uses MCP stdio transport (no authentication required) and exposes all features as tools for AI models to call.
「その他」の他のコンテンツ
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Nginx UI
0xJackyYet another WebUI for Nginx
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
コメント