Typleaf MCP Server
Allows for working with LaTeX projects on the same Typleaf Pro server, using the same file editing, section analysis, compilation, PDF download, and PDF-layout/targeting tools for .tex projects.
Allows for working with Typst projects on a Typleaf Pro server, including reading and editing .typ files, updating document sections, compiling the project to PDF, extracting page counts and section-to-page mappings, and locating text in the compiled PDF.
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., "@Typleaf MCP Server Compile my Typst project and tell me how many pages it has."
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.
ο»Ώ# πΏ Typleaf MCP Server
A Model Context Protocol (MCP) server for Typst projects on Typleaf Pro β a self-hostable Overleaf fork with Typst support.
28 tools covering full CRUD, document structure analysis, git history & diff, compilation, PDF download, PDF-layout perception, and citation verification.
Typleaf compiles both Typst and LaTeX, so this server handles both. The right parser is chosen from the file extension β you never have to say which.
You: "What kind of project is 6a6dfc57bbb3aac01ed9a71d?"
AI: [project_info] Typst, root main.typ, 36 .typ files, bibliography refs.yml
You: "Read sections/03-method.typ"
AI: [read_file] Here's the content: β¦
You: "Tighten the Background section"
AI: [update_section] β Edited and pushed
You: "Compile it and tell me how many pages"
AI: [get_page_count] 61 pages (format=typst, source=pdf)
You: "Which page does each heading start on?"
AI: [section_page_map] p.1 = Introduction β¦ p.8 == Parameters β¦This is a fork of
overleaf-mcp-plusby rangehow, retargeted at self-hosted Typleaf. See What changed from the upstream.
π Setup
1. Install
pip install "typleaf-mcp[compile]"Or run without installing:
uvx --from "typleaf-mcp[compile]" typleaf-mcp2. Get your credentials
Variable | Required for | Where to get it |
| everything | Your instance's URL, e.g. |
| everything else β read, write, compile, PDF | DevTools β Application β Cookies β your instance β |
| optional β commit history only |
|
You do not need a git token. Typleaf's git bridge is an optional module, and many deployments don't run it β on those, no token exists to set. This server reads and writes with the session cookie alone (see Backends). Only
list_history,get_diffandsync_projectneed git, and they explain the gap rather than failing cryptically.
Cookie name: Overleaf ships two. Community Edition β which Typleaf is built on β sets
overleaf.sid; the hosted service setsoverleaf_session2. Guessing wrong looks exactly like an expired session, so this server sends both names with your value unless you pin one viaTYPLEAF_SESSION_COOKIE. Just copy whichever your instance shows.
TYPLEAF_BASE_URLhas no default, on purpose. This server sends your session cookie and git token to whatever host it is pointed at. Defaulting towww.overleaf.comβ as the upstream does, correctly, for a single-host service β would mean an unconfigured install leaks a private instance's credentials to a third party. So it errors instead. TheOVERLEAF_*spellings of all three are accepted as fallbacks, so an existingoverleaf-mcpconfig only needs its base URL changed.
The session cookie is HttpOnly: you must copy it from the DevTools Cookies panel, not the JS console.
Git tools additionally need the git-bridge module enabled on your deployment. Without it, clones 404 even though every project is visible in the web UI β the error message says so.
3. Register the server
{
"mcpServers": {
"typleaf": {
"command": "typleaf-mcp",
"env": {
"TYPLEAF_BASE_URL": "https://typleaf.example.com",
"TYPLEAF_SESSION": "s%3A...",
"TYPLEAF_GIT_TOKEN": "olp_..."
}
}
}
}Related MCP server: litewrite-mcp-server
π Backends
The server picks its backend from what your deployment actually offers:
web (cookie only) | git (bridge enabled) | |
Selected when | no | token is set |
Read / write files | β | β |
Commit messages | β β edits land as ordinary project changes | β |
| β | β |
status_summary reports which one is live.
How the web backend writes. There is no HTTP endpoint that sets a document's content β setDocument exists but sits behind service-to-service auth, and the editor itself writes over WebSocket using operational transform. But POST /Project/<id>/upload is cookie-authenticated and upserts: uploading a name that already exists replaces that entity in place, keeping its id, and a text file comes back as an editable doc rather than a binary attachment.
The catch is that upload needs a folder_id, and no HTTP endpoint exposes folder ids β /entities gives paths only, /metadata gives doc ids only, and creating a folder that exists returns 400 file already exists. They arrive only in the real-time service's joinProject payload, over socket.io 0.9 β a protocol no maintained Python client speaks. So realtime.py implements the four frame types needed to read the tree, and writes go over plain HTTP afterwards. That sidesteps implementing operational transform, which is the genuinely hard part of talking to Overleaf's editor.
Editing an existing document goes through operational transform, not upload. An edit is sent as the operation β {"p": 12, "d": "Original"}, {"p": 12, "i": "EDITED"} β down the same WebSocket the editor uses, so a collaborator with the file open sees it appear in place. Verified with a second client watching: it receives the op live. A one-word change in a 2,430-character file transmits 7 characters, so cursors, selections and the track-changes attribution of untouched text all survive.
Upload is still used where there is no document to edit yet β new files and binary assets.
One wrinkle worth documenting, since it looks alarming in logs: this server's socket.io 0.9 stack sends its ack in a frame that sets the MASK bit, which RFC 6455 forbids a server to do, and strict clients close the connection rather than read it β after the edit has already applied. So the write is confirmed by reading the document back, not by the ack. That's a stronger check anyway: it tests the result rather than the transport.
Multi-file changes are all-or-nothing. Use write_files rather than looping over rewrite_file. Every edit is validated and resolved before anything is written, so the common failures β missing file, search string matching twice or not at all, duplicate path, bad name β touch nothing at all. If a write still fails, the files already written are restored.
It's a compensating transaction, not a real one (Typleaf has no multi-document transaction and no cookie-reachable version restore), so two limits are reported rather than hidden: rollback can itself fail, in which case the result names exactly which files are in which state; and intermediate writes were real, so a collaborator watching may have seen a state that was later undone.
π― Typst specifics
The compiler setting is what makes a project Typst
Typleaf's CLSI generates a Typst sync map only when the project's compiler is typst and the root document ends in .typ. A project full of .typ files that is still on the default pdflatex fails to compile with TeX errors that never mention Typst, and every PDF-position tool silently returns nothing.
You: "Make a new Typst paper"
AI: [create_project name="Paper" compiler="typst"] βor on an existing project: set_compiler(project_id, "typst").
Headings
get_sections, update_section and section_page_map recognise =-markup headings at column 0 β exactly the rule Typleaf's own editor outline uses, so the sections this server reports are the ones you see in the IDE's outline pane. Raw blocks, line comments and (nested) block comments are skipped, so a = inside a code sample is not mistaken for a section.
#heading(level: n)[β¦] calls are found by project_info but are deliberately not editable via update_section β rewriting the body of a programmatically generated heading is not a text-span operation.
Compile logs
Typst writes no log file; it reports everything on stderr, which CLSI captures into output.log. download_log parses those diagnostics into a compact list with file:line:column:
Typst compile log β 1 error(s), 1 warning(s)
β expected comma (sections/05-parameters.typ:13:74)
β unknown font family: calibriPass raw=true for the unparsed text.
PDF-position tools, and their honest limits
locate_in_pdf and section_page_map work for Typst, backed by Typleaf's TypstSyncManager rather than SyncTeX. Four differences are real and are reported rather than hidden:
Coarser. Typleaf injects zero-width
#metadatamarkers into the sources after compiling and askstypst querywhere they landed. Anchors are per source line, but only where a marker was safe to place β a lookup resolves to the enclosing block. Content in#let/#showtemplate bodies gets no anchor at all, and a#forbody gets one anchor for the whole loop.Slower.
output.typst-sync.jsonis listed among the compile outputs but the web tier will not proxy it (verified: it 404s whileoutput.pdffrom the same build serves fine), so there is nothing to parse offline. A LaTeX project resolves every heading from oneoutput.synctex.gzparse; a Typst project costs one request per heading.section_page_mapis therefore capped at 150 headings by default (TYPLEAF_MAX_SECTIONS) and says so when the cap bites.Headings are queried via their body prose, not their own line. A document with
#outline()renders every heading twice, and Typleaf's sync map keeps whichever copy fits the file's document-order trajectory β which fails for the first heading in each file, since there is no prior trajectory. Measured on a real 104-page document,= Functionsresolved to page 2 (the contents) against a true page of 12. Prose is never duplicated into an outline, so that is what gets queried. Any residual backwards jump is flagged!in the output rather than presented as fact.No text-area figures.
text_area_fill_pct/text_area_remaining_ptcome from the LaTeXgeometrypackage's log dump. Typst reports no page geometry, so those fields are absent for Typst rather than guessed. Physical-page fullness (from the PDF MediaBox) is still reported.
section_page_map follows #include through the whole document by default β a Typst root is usually a thin index whose own heading count is zero. Pass file to map a single file instead.
Page counts for Typst are measured by parsing the PDF, since typst prints no "Output written on β¦ (N pages)" line. And a Typst compile that produces no diagnostics writes no log at all, which download_log reports as success rather than as a missing file.
Bibliographies
Typst reads BibTeX and its native Hayagriva YAML. verify_citations handles both: .yml entries are translated to the minimal BibTeX the verifier reads (title, DOI, arXiv id, author, year, journal β the fields a verdict actually depends on).
Discovery differs from the LaTeX side for a reason: .yml is an ambiguous extension, and a bare scan would feed a GitHub Actions workflow to the verifier. So for Typst the tool reads the #bibliography(β¦) call out of the source β walking the #include graph, since a #bibliography in a back-matter.typ is a common layout β and falls back to a .bib scan only if none is declared. The report says which route it took.
For Typst projects it also lists cited-but-undefined keys, which render as broken ? references. LaTeX shouts about these at compile time; Typst's warning is easy to miss. Label cross-references (@fig-plot pointing at <fig-plot>) are excluded project-wide, so a well-labelled document does not report its own labels as missing citations.
π Tools (29)
Orientation
Tool | Description |
| Format (Typst/LaTeX), compile root, file counts, declared bibliography. Cheap β no compile. Call this first. |
| All projects on the instance |
| Format, file counts, heading structure of the root |
Read
Tool | Description |
| List files, optionally filtered by extension |
| Read a file's contents |
| Regex search across every text file β one request regardless of project size |
| Heading structure with hierarchy and previews |
| One section's full text by title |
| Verify DOIs/arXiv ids against CrossRef & arXiv; BibTeX + Hayagriva |
Write
Tool | Description |
| New project, optionally with |
| New file; auto-creates parent folders |
| Surgical exact search-and-replace (like |
| Replace a file's entire contents |
| Replace a section's body, preserving its heading |
| Apply a coordinated change across several files, all-or-nothing |
| Upload a local binary (images, PDFs) |
| Delete a file |
| Switch the project's compiler ( |
History
Tool | Description |
| Commit log, filterable by file and date |
| Diff between refs or the working tree |
| Pull the latest changes |
Compile & output
Tool | Description |
| Trigger a compile; returns status + output files |
| Save the compiled PDF locally |
| Compile log β parsed Typst diagnostics, or the raw TeX log |
| Save the project source as a |
| Extract the project source into a directory |
Layout
Tool | Description |
| Total pages in the compiled PDF |
| Where a source line lands: page + rectangles |
| Every heading β its page, plus last-page fullness |
All writes commit and push immediately. Every tool is annotated with MCP safety hints (readOnlyHint / destructiveHint / idempotentHint), and a startup check refuses to run if any tool is left unclassified.
π What changed from the upstream
overleaf-mcp-plus targets hosted overleaf.com and LaTeX. The retarget touched five areas:
New β Typst support
typst.pyβ heading, include/import, bibliography and citation parsing, matching Typleaf's own editor rulesdocument.pyβ extension-based dispatch so every tool serves both formats from one code pathtypst_log.pyβ parser fortypst compilediagnosticshayagriva.pyβ.ymlbibliography β BibTeX for the verifierlayout.pyβ a second backend using Typleaf's Typst sync map, with the SyncTeX path untouched for LaTeXNew tools:
project_info,set_compiler;create_projectgained acompilerargument
Self-hosting
TYPLEAF_BASE_URLis required, with no default (see above)The git bridge is on the instance's own origin at
/git/<id>, not a separategit.overleaf.comhostClone failures name the git-bridge module as a possible cause, with the token redacted from the URL
The local-copy sidecar records which instance a checkout came from, not just the project id
Writes that an open editor survives
Upstream replaces a file over HTTP. That works, but any collaborator with the file open gets "this file has gone out of sync" and loses their place. This fork edits through the real-time channel instead β a minimal ShareJS diff, so the change streams into open editors the way a human's typing does.
ot.pyβ minimal insert/delete components, emitted in reverse document order so every offset stays valid, and replayed locally before transmissionrealtime.py/polling.pyβ socket.io 0.9 clients (WebSocket and xhr-polling). Typleaf's git bridge is an optional module, so on an instance without it the real-time service is the only place folder and document ids existtransaction.pyβ multi-file edits validated up front and rolled back on partial failure, so a broken compile is not the way you learn a write failedsearch_filesβ regex search server-side, instead of listing and reading candidates one at a time
The awkward one is an encoding bug in Typleaf's real-time service: it serves
document lines decoded as Latin-1 while its own ShareJS offsets are over the
correctly-decoded string. Diff against the text as delivered and every offset
past the first non-ASCII character is wrong β inserts validate nothing and land
silently in the wrong place, deletes cannot match and the server drops the
connection. Pure-ASCII files are byte-identical either way and work perfectly,
which makes it look like a size or permissions fault. ot.decode_doc_text
undoes the rendering; it is idempotent, so it stays correct if the instance is
ever fixed to serve UTF-8.
Bug fixes carried into the fork
download_logwas unreachable upstream: a bad merge left its return statements orphaned insidesection_page_map, so the tool fell through toUnknown tool: download_logThe credential guard now reports a missing base URL rather than only the missing cookie
Kept as-is β git client, LaTeX parser, SyncTeX engine, thread-safe per-project locking, MCP SDK v2 handler registration, tool safety annotations.
π§ͺ Development
git clone <this repo> && cd typleaf-mcp
python -m venv .venv && .venv/bin/pip install -e ".[compile]" pytest
.venv/bin/python -m pytest tests -q391 tests, no external network. tests/conftest.py points the package at a .invalid host, so any test that escapes its stubs fails with a DNS error instead of reaching a live server.
tests/test_integration_fake_instance.py runs a stand-in Typleaf on a real socket and asserts on the requests it receives β that the session cookie is sent, that writes carry the CSRF token, that per-build output URLs carry ?clsiserverid, that sync/code gets a plain project path, and that no .synctex.gz is ever requested for a Typst project. Those are the wire details a mocked httpx cannot cover, and where this package's bugs historically live. It is the slow part of the suite (~18s) because each call opens a fresh connection.
tests/test_verify_citations.py skips unless tofu-search is installed; the discovery and reporting logic this fork adds is covered separately in tests/test_verify_discovery.py, which has no such dependency.
π License
MIT. Not affiliated with Overleaf, Inc., Digital Science, or the Typst project. Typleaf Pro is an independent community project.
Available Tools
29 toolscompile_projectA
Trigger PDF compilation on Typleaf. Returns compilation status and output file list. Works for Typst and LaTeX alike β the engine comes from the project's compiler setting (see set_compiler). Requires TYPLEAF_SESSION.
Inputs: project_id (required).
create_fileA
Create a new file in a Typleaf project. Auto-creates parent folders. Commits and pushes immediately.
Inputs: content (required), file_path (required), project_id (required), commit_message.
create_projectA
Create a new blank Typleaf project via the web API. Pass compiler='typst' to make it a Typst project β a new project defaults to pdflatex, and a project holding .typ files but left on pdflatex fails to compile with confusing TeX errors. Requires TYPLEAF_SESSION.
Inputs: name (required), compiler.
delete_fileCDestructive
Delete a file from the project. Commits and pushes immediately.
Inputs: file_path (required), project_id (required), commit_message.
download_logA
Fetch the compilation log from Typleaf and summarise it. For a Typst project the log holds typst's own error: / warning: diagnostics with file:line:column (typst writes no TeX-style log at all), and this tool parses them into a compact list. For a LaTeX project the raw log is returned. Requires TYPLEAF_SESSION.
Inputs: project_id (required), raw.
download_pdfADestructiveIdempotent
Download the compiled PDF to a local path. Call compile_project first. Requires TYPLEAF_SESSION.
Inputs: project_id (required), output_path (required).
download_sourceADestructiveIdempotent
Download the project source and extract it into a local directory. Creates the directory if missing. Fails if the directory is not empty unless overwrite=true. Requires TYPLEAF_SESSION.
Inputs: output_dir (required), project_id (required), overwrite.
download_source_zipADestructiveIdempotent
Download the full project source as a ZIP file to a local path. Requires TYPLEAF_SESSION.
Inputs: project_id (required), output_path (required).
edit_fileBDestructive
Surgical search-and-replace edit in a file. old_string must match exactly once. Commits and pushes immediately.
Inputs: file_path (required), new_string (required), old_string (required), project_id (required), +1 more.
get_diffARead-only
Get a git diff between refs or the working tree. Useful for reviewing recent changes.
Inputs: project_id (required), to_ref, from_ref, file_path, +2 more.
get_page_countA
Compile the project and report the TOTAL number of pages in the PDF. Use this to answer 'how many pages is it?' or to drive a fill-exactly-N-pages editing loop. For LaTeX the count is read from the log; for Typst it is measured from the PDF, since typst prints no page count anywhere. Requires TYPLEAF_SESSION.
Inputs: project_id (required).
get_section_contentARead-only
Get the full content of a specific section by its title. Typst (.typ) and LaTeX (.tex) are both supported; the parser is chosen from the file extension.
Inputs: file_path (required), project_id (required), section_title (required).
get_sectionsARead-only
Parse a source file and extract its heading structure. Typst (.typ) and LaTeX (.tex) are both supported; the parser is chosen from the file extension. For Typst this reports =-markup headings (the same ones the Typleaf editor's outline pane shows) as heading1..headingN; for LaTeX, \section/\subsection/etc. Returns types, titles, hierarchy levels, and content previews.
Inputs: file_path (required), project_id (required).
list_filesARead-only
List files in a Typleaf project, optionally filtered by extension.
Inputs: project_id (required), extension.
list_historyARead-only
Show git commit history for the project.
Inputs: project_id (required), limit, since, until, +1 more.
list_projectsARead-only
List all projects on your Typleaf instance. Requires TYPLEAF_SESSION. Returns project names and IDs β use any ID with other tools.
Inputs: no named parameters.
locate_in_pdfA
Find WHERE a given source line lands in the compiled PDF. Returns the page number and bounding rectangle(s) {page,h,v,width,height} in PostScript points (v measured from the page top). Omit file to use the compile root. This is the elementβpage-position capability the source parser cannot provide.
Backed by SyncTeX for LaTeX and by Typleaf's Typst sync map for Typst. The Typst result is COARSER: it resolves to the enclosing block rather than the exact line, and content inside #let/#show template bodies or repeated #for loops carries no anchor at all. Requires TYPLEAF_SESSION.
Inputs: line (required), project_id (required), file, column.
project_infoARead-only
Report what KIND of project this is before doing anything else: whether it is Typst or LaTeX, which file is the likely compile root, how many source files it has, and which bibliography files it declares. Cheap (one file listing, no compile). Call this first when you do not already know the project's format β it tells you whether to write = Heading or \section{}.
Inputs: project_id (required).
read_fileARead-only
Read the contents of a file from a Typleaf project.
Inputs: file_path (required), project_id (required).
rewrite_fileBDestructive
Replace entire file contents. Commits and pushes immediately.
Inputs: content (required), file_path (required), project_id (required), commit_message.
search_filesARead-only
Regex search across every text file in the project. Use this to answer 'which files call X?' or 'where is Y defined?' β it is one request regardless of project size, whereas list_files plus read_file per candidate is one round trip per file and pulls whole documents into context to find a few lines.
Returns file, line number and the matching line, grouped by file. Binary files are skipped. Results are capped and the cap is reported, so a truncated result is never mistaken for a complete one.
Inputs: pattern (required), project_id (required), context, path_glob, +2 more.
section_page_mapA
Compile once, then map EVERY heading to the PDF page it starts on, plus the total page count and how full the last page is. This is the 'perceive the position of each element on the page' overview β ideal for judging how content is distributed across pages and for a fill-exactly-N-pages workflow. Omit file to use the compile root.
Cost differs by format: a LaTeX project resolves every heading from one offline SyncTeX parse, while a Typst project needs one request PER heading (Typleaf keeps its sync map inside the build directory, so there is nothing to download) β slow on a long document, and it can race the server's build eviction. The text-area fullness figures are LaTeX-only; Typst reports no page geometry. Requires TYPLEAF_SESSION.
Inputs: project_id (required), file.
set_compilerADestructiveIdempotent
Set the project's compiler β most often to 'typst'. This is what makes a project a Typst project: Typleaf's CLSI only builds a Typst sync map when the compiler is 'typst' AND the root document ends in .typ, so a project full of .typ files left on pdflatex fails with TeX errors that never mention Typst, and PDF-position tools (locate_in_pdf, section_page_map) silently return nothing. Requires TYPLEAF_SESSION.
Inputs: compiler (required), project_id (required).
status_summaryARead-only
Get a quick overview: format (Typst or LaTeX), file count, and the heading structure of the root document.
Inputs: project_id (required).
sync_projectAIdempotent
Pull the latest changes from Typleaf (git pull).
Inputs: project_id (required).
update_sectionBDestructive
Update a section's body by title, preserving its heading line. Typst (.typ) and LaTeX (.tex) are both supported; the parser is chosen from the file extension. Commits and pushes immediately.
Inputs: file_path (required), project_id (required), new_content (required), section_title (required), +1 more.
upload_fileADestructive
Upload a local (possibly BINARY) file into a Typleaf project. Use this for images (PNG/JPG), PDFs, and other non-text assets that must not be UTF-8 decoded. Commits and pushes immediately.
Inputs: file_path (required), project_id (required), source_path (required), overwrite, +1 more.
verify_citationsARead-only
Detect likely-hallucinated references in the project's bibliography. Reads the project's bibliography β BibTeX (.bib) and Typst's native Hayagriva (.yml) alike β then verifies each entry's DOI / arXiv id against free authoritative catalogues (CrossRef, arXiv) with ZERO LLM calls. Returns three buckets: verified (catalogue match), suspicious (a concrete identifier that definitively does NOT resolve β high-confidence), and unverifiable (no identifier / coverage gap / book / rate-limit β reported separately and NEVER as fabrication). For a Typst project it ALSO reports keys cited in the source with no matching bibliography entry, which render as broken '?' references. Use to sanity-check an AI-assisted draft before submission.
Inputs: project_id (required), bib_path.
write_filesADestructive
Apply a coordinated change across SEVERAL files, all-or-nothing. Use this instead of calling edit_file/rewrite_file in a loop whenever the edits belong together β converting call sites to a new helper, renaming a symbol across chapters, updating a template and its users. A loop that fails halfway leaves the project in a state that is neither old nor new, and you find out when the compile breaks.
Every edit is validated and resolved BEFORE anything is written, so the common failures (missing file, search string matching twice or not at all, bad path) touch nothing. If a write still fails, the files already written are restored. Each entry takes either content (full replacement) or old_string+new_string (surgical, must match exactly once).
Inputs: files (required), project_id (required), commit_message.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 29 tools
Most tools target a distinct action/resource combination, and the descriptions clearly separate edit_file, rewrite_file, update_section, and write_files. status_summary, project_info, and get_sections have some overlap in reporting headings or project overview, but the descriptions provide enough guidance to choose correctly.
The tool set predominantly follows a clear verb_noun pattern such as list_files, create_file, delete_file, and download_pdf. A few noun-style names like status_summary, project_info, and section_page_map are minor deviations that do not obscure the overall pattern.
With 29 tools, the surface exceeds the 25+ threshold and feels heavy for an agent to navigate. Many tools are individually justified, but there are several closely related variants around editing, downloading, and PDF mapping that increase selection cost.
The core document lifecycle is well covered: project creation, file CRUD, editing, compilation, PDF/log retrieval, page mapping, citation verification, and git operations. Minor gaps such as deleting or renaming projects and moving files are workaround-able and not central to the primary compile-edit workflow.
Related MCP Connectors
Write, compile and share Typst documents (papers, slides, drawings) from any AI agent.
Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.
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.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read, edit, upload, compile, and manage projects in a self-hosted Overleaf Community Edition via MCP, while also providing a git remote for cloning and pushing changes.1MIT
- AlicenseAqualityCmaintenanceEnables local AI agents to discover projects and read, upload, update, and delete files in a self-hosted collaborative LaTeX/Markdown writing platform, plus maintain a local mirror with git-style pull, push, and status synchronization.14MIT
- AlicenseAqualityBmaintenanceEnables an AI assistant to read and edit online Typst projects, including managing files, projects, share links and members, and threaded comments, while preserving concurrent browser edits. Also compiles documents locally to PDF, PNG or SVG with file:line diagnostics and inline page previews.26MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants and agents to explore, read, live-edit, patch, create, and delete files across projects on a self-hosted Overleaf Community Edition deployment, with OT-safe edits that sync instantly to open browser tabs. It also triggers server-side LaTeX compilations, returns parsed errors and warnings from the log for auto-debugging, and delivers authenticated PDF download links.MIT