MCP server · Audited from source
Overleaf MCP server
by mjyoo2/overleafmcpMIT licenceAudited 6 Oct 2026 · source 9137df6b60e0
Is it safe? No — BLOCK, grade D (69/100). It exposes 8 tools: 6 read, 2 write and 0 destructive. The audit recorded 4 findings (0 critical, 2 high, 0 medium, 1 low). Maintainer's description: Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits back via Git. Compatible with Claude Desktop, Cursor, Windsurf, and any MCP client.
Cite
Cite this page
ModelsAtlas. “Overleaf MCP server (mjyoo2/overleafmcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/mjyoo2/overleaf
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at overleaf-mcp-server.js:248. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
4 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (4)
Sorted by severity
HIGHCode injectioncode.eval_exec · overleaf-mcp-server.js:248
const { stdout } = await exec(- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · overleaf-mcp-server.js:255
const { stdout } = await exec(- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk
- Why
- 1 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · README.md:308
- The Overleaf Git token grants full read/write access to your project — treat it like a password.
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
8 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
write_file | Write content to a file in an Overleaf project and push to Overleaf | write |
write_section | Replace a single section in a LaTeX file and push to Overleaf. Safer than write_file for targeted edits — only the named section is replaced, leaving the rest of the file untouched. | write |
get_section_content | Get content of a specific section | read |
get_sections | Get all sections from a LaTeX file | read |
list_files | List files in an Overleaf project | read |
list_projects | List all configured Overleaf projects | read |
read_file | Read a file from an Overleaf project | read |
status_summary | Get a comprehensive project status summary | read |
Safer alternatives
takashiishida/arxiv-latex-mcp
MCP server that uses arxiv-to-prompt to fetch and process arXiv LaTeX sources for precise interpretation of mathematical expressions in scientific papers.
Still-chowline394/MagicTeX-mcp
Edit LaTeX documents with AI agents using this Model Context Protocol server.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
9137df6b60e0
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Overleaf MCP server
What is the Overleaf MCP server?
What tools does Overleaf expose?
Is Overleaf safe to connect to an agent?
What credentials does Overleaf need?
How does Overleaf run?
How current is this page?
I already installed Overleaf. What should I do?
Can the verdict change?
Sources
- mjyoo2/overleafmcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 9137df6b60e0Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Overleaf MCP server?
- What tools does Overleaf expose?
- Is Overleaf safe to connect to an agent?