write_file
Write the full content of a file to the project.
How to use it
write_file is exposed by the OverleafMCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the write_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL OVERLEAFMCP LISTINGOther tools in OverleafMCP (14)
Commit message (required)
Content to write to the file (required)
File extension filter (optional)
Path to the file (required)
Get content of a specific section.
Get all sections from a LaTeX file.
List files in a project (default: .tex files).
List all configured projects.
Replacement content for the section, including the section heading (required)
Project identifier (optional, defaults to "default")
Read a specific file from the project.
Title of the section (required)
Get a comprehensive project status summary.
Write the content of a specific section to the project.