write_file
Write the full content of a file to the project.
How to use it
Project documentation lists write_file for the OverleafMCP 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.
Install OverleafMCP
npx -y @mjyoo2/overleaf-mcpOther tools in OverleafMCP (7)
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.
Read a specific file from the project.
Get a comprehensive project status summary.
Write the content of a specific section to the project.