About Overleaf
Overleaf is an MCP server published by netique in the AI category: mCP server that lets AI clients read and safely edit Overleaf projects over the Overleaf Git bridge.
The repository has 6 stars and 4 forks, with the last commit yesterday. Recent commit activity is the strongest signal that reported issues will get attention.
Install
claude mcp add overleaf -- npx -y mcp-server-overleafnpx -y mcp-server-overleafThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (17)
accept_changesAccepts one or more tracked changes by `change_id` (from `list_tracked_changes`). Multi-doc groups are batched automatically. Irreversible.
Parameters not published.
compileTriggers an Overleaf compile and returns a unified summary: `status`, `built_cleanly` (true iff PDF + zero LaTeX errors), `error_count`, `warning_count`, `first_errors` (sample), `output_files`, timings. Already fetches and parses `output.log` inline — no extra `read_log` call needed for the happy path. Pass `root_doc`, `draft`, `stop_on_first_error` to control.
Parameters not published.
edit_fileReplaces a doc's contents. Computes a minimal diff via `diff-match-patch`, submits it as an OT operation, and adds `meta.tc` so the edit lands as a pending suggestion in the Review panel by default. Pass `track: "off"` to write directly or `track: "auto"` to honor the project's track-changes setting. `path` is optional — defaults to the project's root doc.
Parameters not published.
find_and_replaceSurgical edit: replace one occurrence (or all, with `replace_all: true`) of `old_string` with `new_string` without re-emitting the rest of the doc. Cheaper in tokens than `edit_file` for targeted changes and avoids whitespace drift from re-emitting surrounding text. By default `old_string` must be unique; ambiguous matches return a list of line:col locations so you can extend the match. Same `track` defaults and OT path as `edit_file`, so it lands as a pending suggestion in the Review panel.
Parameters not published.
list_commentsLists review-panel comment threads with doc path, quoted text, author, latest-message preview. Supports `include_resolved`, `path_contains`, `full`.
Parameters not published.
list_filesLists the file tree of the open project (cached, no network). Filter by `kind` and `path_contains`.
Parameters not published.
list_projectsLists projects on the configured account, sorted by most recently updated. Supports `name_contains`, `include_archived`, `include_trashed`, `limit`.
Parameters not published.
list_tracked_changesEnumerates every pending tracked-change suggestion across the open project, with author name + email, doc path, op kind (insert/delete), position, op text, change_id. Filter by `author_email`, `author_id_endswith`, `path_contains`, `kind`, `text_contains`, `limit`.
Parameters not published.
open_projectJoins a project's real-time session and caches its file tree. Returns rich metadata: `root_doc_path`, `compiler`, `spell_check_language`, `public_access_level`, owner + members (with privileges), and whether track-changes is on for your user.
Parameters not published.
pingHealth check. Does not contact Overleaf.
Parameters not published.
Show all 17 tools
read_comment_threadReturns the full message history of one thread.
Parameters not published.
read_fileReads a doc (returns text + OT version + a summary of tracked changes / comments) or a binary file (base64 + MIME). `path` is optional — defaults to the project's root doc.
Parameters not published.
read_logReturns the full `output.log` from the most recent compile, with `!`-prefixed error lines surfaced at the top. Use when `compile`'s inline summary isn't enough context.
Parameters not published.
reject_changesRejects one or more tracked changes by `change_id`. Implemented as `applyOtUpdate` with the inverse op + `u:true` (same pathway Overleaf's web client uses). Irreversible.
Parameters not published.
reopen_commentReopens a resolved thread.
Parameters not published.
reply_commentPosts a new message to an existing thread.
Parameters not published.
resolve_commentMarks a thread resolved.
Parameters not published.
Ask AI
Ask AI about Overleaf
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.