Aldine — Claude Code MCP server: features and setup
An MCP server for Claude Code connects an agent to Aldine’s LaTeX editor. It can read and edit project files, run typesetting, and return errors with the PDF.
AGPL-3.0 ★ 139 updated 2026-11-15
claude mcp add --transport http aldine https://demo.aldine.dev/mcpWhat Aldine does
Aldine gives an agent access to a LaTeX project so it can inspect and change files, run typesetting, and retrieve compilation errors alongside the PDF. The MCP server is built into the Aldine editor and connects over MCP.
The setup command points to the demo server at https://demo.aldine.dev/mcp. To connect another Aldine instance, use that instance’s MCP server address. The server is enabled with ALDINE_MCP=1.
What it helps with
- inspect LaTeX source files
- edit a document’s project files
- typeset a document and retrieve its PDF
- locate compilation errors by line
Example prompts for the agent
- Read the LaTeX files in this project and outline the document structure.
- Fix typos in the source and show the edited file.
- Typeset the document and return the PDF with any compilation errors.
How to install Aldine
Platform CLI: remote server
claude mcp add --transport http aldine https://demo.aldine.dev/mcpPlatform CLI: remote server
codex mcp add aldine --url https://demo.aldine.dev/mcpConfig file
{
"mcpServers": {
"aldine": {
"url": "https://demo.aldine.dev/mcp"
}
}
}Config file
{
"servers": {
"aldine": {
"type": "http",
"url": "https://demo.aldine.dev/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http aldine https://demo.aldine.dev/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Aldine
How do I install Aldine in Claude Code?
Run claude mcp add --transport http aldine https://demo.aldine.dev/mcp. This connects Claude Code to the demo MCP server.
What does Aldine do?
Aldine connects an agent to its LaTeX editor over MCP. The agent can read and edit project files, run typesetting, and retrieve errors with the PDF.
What does Aldine need to work?
The agent needs access to an Aldine MCP server. The setup command uses https://demo.aldine.dev/mcp; a self-hosted instance uses its own server address.