# Aldine

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 139 repo stars
- Author: trahloff
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trahloff/Aldine
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/aldine

## What it 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`.

## Requirements
- Remote server: `https://demo.aldine.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http aldine https://demo.aldine.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add aldine --url https://demo.aldine.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "aldine": {
            "url": "https://demo.aldine.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "aldine": {
            "type": "http",
            "url": "https://demo.aldine.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http aldine https://demo.aldine.dev/mcp
```

## When to use it
- inspect LaTeX source files
- edit a document’s project files
- typeset a document and retrieve its PDF
- locate compilation errors by line

## Example prompts
- 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.

## Similar
- [paper-compilation](https://affpapa.org/en/nevibecode/skills/paper-compilation.md) — skill · 1700 installs
- [Oleafly](https://affpapa.org/en/nevibecode/mcp/oleafly.md) — MCP server · ★ 1294 repo stars
- [MagicTeX](https://affpapa.org/en/nevibecode/mcp/magictex.md) — MCP server · ★ 5 repo stars
- [paper-audit](https://affpapa.org/en/nevibecode/skills/paper-audit.md) — skill · 3600 installs
- [latex-posters](https://affpapa.org/en/nevibecode/skills/k-dense-ai-latex-posters.md) — skill · 2300 installs
- [backward-traceability](https://affpapa.org/en/nevibecode/skills/backward-traceability.md) — skill · 2300 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
