Overleaf MCP Server
Provides read-only access to Overleaf projects, allowing users to list projects and files, and read file contents from their Overleaf LaTeX projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Overleaf MCP Serverlist all files in my current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Overleaf MCP Server
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/M-H-Amini/Overleaf-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server