newContent
Replacement content for the section, including the section heading (required)
How to use it
newContent is exposed by the OverleafMCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the newContent 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.
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 full content of a file to the project.
Write the content of a specific section to the project.