read_file
Read a file. Smart mode can return only changes on later reads; pass mode="full" for complete content.
How to use it
read_file is exposed by the Overleaf Git MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the read_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
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.
Replace targeted text without transferring the full file.
Pull, commit, and push local changes to Overleaf.
Show project status and local changes, including git diff --stat.
Write a complete local file. It does not automatically pull first.