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
SpecBridge
Automatically generates MCP tools from OpenAPI specifications by scanning a folder for spec files. No configuration is needed and it supports authentication via environment variables.
MCPCLIHost
A CLI host that allows Large Language Models (LLMs) to interact with external tools using the Model Context Protocol (MCP).
Flutter MCP
Provides real-time Flutter/Dart documentation and pub.dev package information to AI assistants, supporting all packages on demand.
Flutter Tools
Provides diagnostics and fixes for Dart and Flutter files. Requires the Flutter SDK.
Mentor MCP
Provides AI-powered mentorship to LLM agents for tasks like code review, design critique, and brainstorming, using the Deepseek API.
EDUCHAIN Agent Kit
Provides tools for interacting with the EDUCHAIN blockchain, including wallet, swap, and arbitrage operations on SailFish DEX.
Osmosis Agent Toolkit
An MCP server for the Osmosis Agent Toolkit, enabling interactions with the Osmosis blockchain.
Ebitengine MCP
A server for Ebitengine games that provides debugging and recording tools by capturing game state.
APS AEC Data Model MCP (.NET)
A .NET MCP server for interacting with the Autodesk AEC Data Model API and Viewer.
Figma to React Native MCP
Convert Figma designs into React Native components.