Overleaf MCP server
JSON →allow Tools like copilot, claude desktop, claude code etc. perform CRUD operations on overleaf projects via git int
Install
pip install -e Tools · 14
- create_project Create new Overleaf projects from LaTeX content or ZIP files
- create_file Add new files to existing projects
- list_projects View all configured projects
- list_files List files with optional extension filter
- read_file Read file contents
- get_sections Parse LaTeX structure (chapters, sections, subsections)
- get_section_content Get full content of a specific section
- list_history View git commit history
- get_diff Compare changes between versions
- edit_file Surgical edit - replace specific text (old_string → new_string)
- rewrite_file Replace entire file contents
- update_section Update a specific LaTeX section by title
- sync_project Pull latest changes from Overleaf
- delete_file Remove files from projects
Environment variables
YOUR_PROJECT_IDYOUR_TOKENOVERLEAF_PROJECT_IDOVERLEAF_GIT_TOKEN
Links
★ 13 GitHub stars