Overleaf MCP
by @mjyoo2
Read, inspect, and edit Overleaf LaTeX projects through MCP using Git-backed file and section tools.
Install Overleaf MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"mjyoo2-overleaf-mcp": {
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_PROJECT_ID": "YOUR_VALUE_HERE",
"OVERLEAF_GIT_TOKEN": "YOUR_VALUE_HERE",
"OVERLEAF_GIT_TOKEN_FILE": "YOUR_VALUE_HERE",
"OVERLEAF_PROJECT_NAME": "YOUR_VALUE_HERE",
"OVERLEAF_PROJECTS_CONFIG": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env OVERLEAF_PROJECT_ID=YOUR_VALUE_HERE --env OVERLEAF_GIT_TOKEN=YOUR_VALUE_HERE --env OVERLEAF_GIT_TOKEN_FILE=YOUR_VALUE_HERE --env OVERLEAF_PROJECT_NAME=YOUR_VALUE_HERE --env OVERLEAF_PROJECTS_CONFIG=YOUR_VALUE_HERE --transport stdio mjyoo2-overleaf-mcp -- npx -y @mjyoo2/overleaf-mcpRun in your terminal. Add --scope project to share it with your team through .mcp.json.
Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.
Overview
Use cases
- Browse files across configured Overleaf projects
- Inspect the section structure of a LaTeX document
- Extract a named section for review or analysis
- Replace one LaTeX section and push a focused commit
- Summarize the structure and status of an Overleaf project
Key features
- Overleaf Git integration
- Multi-project configuration
- LaTeX section and subsection parsing
- Project file listing and reading
- Whole-file and section-level writes
- Project status summaries
Tools8
What Overleaf MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 8 tools this server returned when we ran it.
Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 12d ago via OSV.dev · @mjyoo2/overleaf-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Overleaf MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Overleaf MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mjyoo2-overleaf-mcp)<a href="https://allmcps.com/mcp/mjyoo2-overleaf-mcp"><img src="https://allmcps.com/api/badge/mjyoo2-overleaf-mcp?style=directory" alt="Overleaf MCP on AllMCPs" /></a>