Overleaf MCP Server
MCP Server for Overleaf (Latex)
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.
Related Servers
MCP Server with GitHub OAuth
A remote MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
GoMCP
A Go library for building clients and servers using the Model Context Protocol (MCP).
ChuckNorris
A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.
Last9
Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster.
Frame0 MCP Server
Create and modify wireframes in the Frame0 app through natural language prompts.
OpenRPC MCP Server
Provides JSON-RPC functionality through the OpenRPC specification.
MCP Server with GitHub OAuth
An MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
Gru Sandbox
Gru-sandbox(gbox) is an open source project that provides a self-hostable sandbox for MCP integration or other AI agent usecases.
YepCode
Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages
Apifox
A TypeScript MCP server to access Apifox API data via Stdio.