patch_file
Replace targeted text without transferring the full file.
How to use it
Project documentation lists patch_file for the Overleaf Git MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
FULL OVERLEAF GIT MCP LISTINGOther tools in Overleaf Git MCP (8)
Return the body of a named section.
Extract section and subsection headings without reading the entire document body.
List synchronized text files in a project. Images and PDFs are omitted by design.
List all configured Overleaf projects.
Pull, commit, and push local changes to Overleaf.
Read a file. Smart mode can return only changes on later reads; pass mode="full" for complete content.
Show project status and local changes, including git diff --stat.
Write a complete local file. It does not automatically pull first.