MCP server · Audited from source
Overleaf CLI MCP server
by aloth/olcliMIT licenceAudited 7 Oct 2026 · source 276c1dc02365
Is it safe? Yes — SAFE, grade B (89/100). It exposes 19 tools: 11 read, 7 write and 1 destructive. The audit recorded 7 findings (0 critical, 0 high, 1 medium, 6 low). Maintainer's description: Overleaf CLI - pull, push, sync, compile LaTeX projects from your terminal. Git remote helper, MCP server for AI agents, and TypeScript library.
Cite
Cite this page
ModelsAtlas. “Overleaf CLI MCP server (aloth/olcli)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/aloth/overleaf-cli
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
7 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
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 5 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
alothUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@aloth/olcliat version 0.13.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push25 days agoActivity of the repository when we read it.
- Source commit read276c1dc02365The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory19 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (7)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
delete_entity
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · test/latexdiff.test.ts:203
['../../escaped-twice.tex', buf('nope\n')],- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/paths.test.ts:19
assert.equal(resolveWithin(base, '../../etc/passwd'), null);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/paths.test.ts:20
assert.equal(resolveWithin(base, 'a/../../evil.sh'), null);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · test/client.test.ts:39
await run(`http://127.0.0.1:${address.port}`, () => request);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, adm-zip, chalk, cheerio, commander, conf, diff, ignore
- Why
- 19 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:53
- **`olcli auth --password` is now optional and prompts instead** ([#50](https://github.com/aloth/olcli/issues/50)) - passing it puts the password in shell history, so `olcli auth --email you@example.
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
19 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_entity | destructive | Delete a file or document from an Overleaf project by its remote path. |
add_comment | write | Add a review comment to a specific location in an Overleaf project document. |
create_project | write | Create a new Overleaf project and return its id, name and URL. Unlike plan_project_renames, this one does apply: creating is additive, nothing existing is overwritten, and an unwanted project can be deleted afterwards. |
plan_project_renames | write | Preview a bulk project rename across the account. Returns the planned renames, skipped projects and any name collisions. This tool NEVER renames anything - applying the plan requires the human to run |
push_file | write | Upload a local file to an Overleaf project. The remote path is inferred from the file_path argument. |
rename_entity | write | Rename a file or document within an Overleaf project. |
rename_project | write | Rename an Overleaf project itself (not a file inside it). Use rename_entity for files and folders. |
reply_to_comment | write | Add a reply to an existing comment thread on an Overleaf project. |
compile | read | Compile an Overleaf project using the remote LaTeX compiler. Returns the PDF URL and any log messages. |
compile_with_outputs | read | Compile an Overleaf project and return all output file metadata (PDF, BBL, logs, etc.). Useful for arXiv submission workflows. |
diff_project | read | Compare local files against the current remote state of an Overleaf project and return the content-level differences. Read-only: nothing is uploaded or written. This is the MCP counterpart of |
download_file | read | Download a single file from an Overleaf project by its path within the project. |
download_pdf | read | Compile an Overleaf project and download the resulting PDF to a local file. |
get_entities | read | Get a flat list of all files and documents in an Overleaf project with their paths and types. |
get_project_info | read | Get detailed information about an Overleaf project including its file tree (folders, docs, and files). |
list_comments | read | List review comments on an Overleaf project. Supports filtering by status (all, open, resolved). |
list_projects | read | List all Overleaf projects in the account. Returns project IDs, names, and metadata. |
pull_project | read | Download and extract an Overleaf project as a zip to a local directory. Creates the directory if it does not exist. |
resolve_comment | read | Mark a review comment thread as resolved. |
Install
Package version 0.13.0 · audited commit 276c1dc
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.13.0. The audit covers commit 276c1dc only.
claude mcp add olcli --env OVERLEAF_PASSWORD=${OVERLEAF_PASSWORD} -- npx -y @aloth/[email protected]{
"mcpServers": {
"olcli": {
"command": "npx",
"args": [
"-y",
"@aloth/[email protected]"
],
"env": {
"OVERLEAF_PASSWORD": "${OVERLEAF_PASSWORD}"
}
}
}
}The command pins the package version recorded in the source (0.13.0); the audit covers commit 276c1dc02365. Transport: stdio. Reads this environment variable: OVERLEAF_PASSWORD. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
276c1dc02365
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/aloth/overleaf-cli/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Overleaf CLI MCP server
What is the Overleaf CLI MCP server?
What tools does Overleaf CLI expose?
Is Overleaf CLI safe to connect to an agent?
What credentials does Overleaf CLI need?
How does Overleaf CLI run?
How current is this page?
Sources
- aloth/olcli on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 276c1dc02365Observed · 7 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 CLI MCP server?
- What tools does Overleaf CLI expose?
- Is Overleaf CLI safe to connect to an agent?