Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Overleaf MCP server

by mjyoo2/overleafmcpMIT licenceAudited 6 Oct 2026 · source 9137df6b60e0

npm @mjyoo2/overleaf-mcp 1.0.0stdio★ 292
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 9137df6

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score69/100✕BLOCK D
0 critical2 high0 medium1 low1 info

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const { stdout } = await exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk
Why
1 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · README.md:308
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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

6 read2 write0 destructive
ToolWhat it doesRisk
write_fileWrite content to a file in an Overleaf project and push to Overleafwrite
write_sectionReplace 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_contentGet content of a specific sectionread
get_sectionsGet all sections from a LaTeX fileread
list_filesList files in an Overleaf projectread
list_projectsList all configured Overleaf projectsread
read_fileRead a file from an Overleaf projectread
status_summaryGet a comprehensive project status summaryread

Safer alternatives

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 9137df6b60e0

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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?
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.
What tools does Overleaf expose?
8 in total: 6 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Overleaf safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Overleaf need?
It reads OVERLEAF_GIT_TOKEN and OVERLEAF_GIT_TOKEN_FILE from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Overleaf run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @mjyoo2/overleaf-mcp at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (9137df6b60e0), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Overleaf. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.