About Overleaf MCP Server
Overleaf MCP Server is an MCP server published by M-H-Amini in the Developer Tools category: mCP Server for Overleaf.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
uvx overleaf-mcp-serverpip install overleaf-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (2)
list_of_filesList all files in the project.
Parameters not published.
read_fileRead a specified file from the project.
Parameters not published.
Ask AI
Ask AI about Overleaf MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Overleaf MCP Server
MCP server that lets compatible clients (e.g., Claude Desktop, Cursor, VS Code) interact with Overleaf projects via tools and resources.
Features
- List projects and files.
- Read files.
- Safe, read-only mode.
Adjust to match your implementation.
Requirements
- Python 3.10+
- An Overleaf account (or session cookie)
Configure a client
Claude Desktop
Edit claude_desktop_config.json:
{
"mcpServers": {
"overleaf": {
"command": "uvx",
"args": ["overleaf-mcp"],
"env": {
"PROJECT_ID": "<YOUR_PROJECT_ID>",
"OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
},
"timeout": 120000
}
}
}
If you have a console script, set "command": "overleaf-mcp" and remove "args".
Cursor (settings.json)
{
"mcpServers": {
"overleaf": {
"command": "uvx",
"args": ["overleaf-mcp"],
"env": {
"PROJECT_ID": "<YOUR_PROJECT_ID>",
"OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
}
}
}
}
VS Code MCP (.vscode/mcp.json)
{
"servers": {
"my-mcp-server-overleaf": {
"type": "stdio",
"command": "uvx",
"args": ["overleaf-mcp"],
"env": {
"PROJECT_ID": "<YOUR_PROJECT_ID>",
"OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
}
}
},
"inputs": []
}
Tools
- list_of_files: List all files in the project.
- read_file: Read a specified file from the project.
README fetched from the repository 7 days ago. The original is authoritative.