GoLatex MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GoLatex MCP Servercompile the project and show the first page of the PDF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GoLatex
Workspace LaTeX local con dos caras sobre el mismo motor:
Humana: app tipo Overleaf local — árbol de archivos, editor con resaltado LaTeX y visor PDF con SyncTeX, todo en el navegador.
Agéntica: servidor MCP que expone el proyecto abierto (leer/escribir archivos, compilar con errores parseados, ver páginas del PDF como imagen) para Claude Code u otro cliente MCP. Ambas caras comparten proyecto, cola de compilación y eventos en vivo: lo que escribe el agente aparece al instante en la app.
Todo local: sin base de datos, sin cuentas, sin nube.
Requisitos
macOS con TeX Live en
/Library/TeX/texbin(latexmk,synctex).Python 3.11+.
Related MCP server: MagicTeX MCP Server
Arrancar
./run.sh # abre http://localhost:8123 (último proyecto)
./run.sh /ruta/a/mi/proyecto # abre esa carpeta directamenteLa primera vez crea .venv e instala dependencias. Puerto configurable con
GOLATEX_PORT.
Uso (cara humana)
Abrir proyecto: botón 📁 (recientes o explorador de carpetas).
Editar: clic en un
.tex/.bibdel árbol.⌘Sguarda. Pestañas con indicador de cambios sin guardar.Compilar: botón ▶ o
⌘⏎(raíz configurable con el selector ★; por defectomain.tex). El visor PDF se refresca manteniendo página y zoom.Problemas: panel inferior con errores/warnings clicables (saltan al código); pestaña "Log crudo" con el log completo.
SyncTeX:
⌥+clic (o doble clic) sobre el PDF salta a la línea de código;⌘⌥Jen el editor salta del código al PDF.Auto: casilla "auto" recompila con cada guardado. 🌙 alterna modo oscuro.
Árbol: clic derecho para crear/renombrar/eliminar (va a la Papelera) y fijar el
.texprincipal.
Si un agente (u otro editor) modifica un archivo, el editor lo recarga al instante; si tenías cambios sin guardar, aparece un aviso para decidir. Si se recompila, el PDF se actualiza solo.
Conectar el MCP a Claude Code (cara agéntica)
Con la app corriendo (./run.sh):
claude mcp add --transport http golatex http://localhost:8123/mcpPara Claude Desktop u otros clientes, registra la URL http://localhost:8123/mcp
(transporte Streamable HTTP).
Herramientas expuestas (siempre restringidas a la carpeta del proyecto abierto):
Tool | Qué hace |
| raíz, main, lista de |
| árbol del proyecto (sin artefactos) |
| leer / escribir un archivo |
| reemplazo puntual (old → new, con control de unicidad) |
| latexmk; devuelve ok, errores parseados (archivo, línea, mensaje) y páginas |
| log crudo completo, bajo demanda |
| página N del PDF como imagen PNG (para ver el resultado) |
| grep (regex) sobre los archivos de texto del proyecto |
| listar / agregar entradas de |
| estima qué tan "IA" suena un |
Ejemplo de sesión con el agente: "agrega un typo deliberado en capitulo_4.tex, compílalo, léeme el error, arréglalo y recompila" — cada cambio y compilación se ve en vivo en la app.
Nota: el MCP opera sobre el proyecto abierto en la app (una sola sesión y cola de compilación compartida: si el humano y el agente compilan a la vez, se encolan y no se pisan).
Estructura
run.sh arranque (venv + uvicorn + abrir navegador)
server/ FastAPI: REST + WebSocket + watcher + MCP (/mcp)
web/ UI estática: CodeMirror + PDF.js (vendorizados)This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent AI LaTeX workspace: edit and compile multi-file projects, export publication-ready PDFs.
A hosted LaTeX editor your assistant can actually use. Search 1,019 free templates, create and edit projects, and compile them to PDF on a real TeX Live farm, getting back the PDF or the compile log when a build fails. Thirteen tools behind OAuth 2.1, with nothing to install and nothing to run locally.
Overleaf alternative online LaTeX editor. AI agents edit, comment, and chat. Keep or revert edits.
Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to edit LaTeX documents with live PDF preview, commenting, and visual editing via the Model Context Protocol.729 npmAGPL 3.0
- AlicenseAqualityAmaintenanceEnables AI agents to edit LaTeX documents with a live PDF preview, source editor, and PDF-anchored comments that become edit instructions. Requires no local TeX install, using a WASM TeX engine.729 npm3AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables agents to compile LaTeX documents, manage anchored comments as actionable review tasks, inspect section-level history, and view diff images in a live workspace.AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to read, write, compile, and download LaTeX projects on a self-hosted Overleaf instance.10 npm1MIT