An MCP server focused only on Overleaf projects (via Overleaf Git sync). .env example: - OVERLEAFTOKEN is required. - projectid can be passed per tool call, or use default PROJECTID. - Overleaf Git access requires a plan that supports Git integration. Add to ~/.config/Claude/claudedesktopconfig.json: - Python 3.13+ - uv package manager MIT - See LICENSE
Add this skill
npx mdskills install YounesBensafia/overleaf-mcp-serverProvides Git-based Overleaf integration with clear setup and essential file operations
An MCP server focused only on Overleaf projects (via Overleaf Git sync).
git clone https://github.com/younesbensafia/overleaf-mcp-server.git
cd overleaf-mcp-server
uv sync
# Configure environment
cp .env.example .env
# then edit .env with your token/project id
PYTHONPATH=. uv run src/main.py
.env example:
OVERLEAF_TOKEN=your_git_token
PROJECT_ID=your_project_id
# Optional local clone dir:
OVERLEAF_REPO_DIR=/tmp/overleaf_repos
Notes:
OVERLEAF_TOKEN is required.project_id can be passed per tool call, or use default PROJECT_ID.Add to ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"overleaf": {
"command": "uv",
"args": ["--directory", "/path/to/overleaf-mcp-server", "run", "src/main.py"],
"env": {
"PYTHONPATH": ".",
"OVERLEAF_TOKEN": "your_git_token",
"PROJECT_ID": "your_project_id"
}
}
}
}
| Tool | Description |
|---|---|
list_files | Pull and list files from Overleaf project |
read_file | Read file content |
write_file | Update file, commit, and push to Overleaf |
sync_project | Force a pull/sync from Overleaf |
uv package managerMIT - See LICENSE
Install via CLI
npx mdskills install YounesBensafia/overleaf-mcp-serverOverleaf MCP Server is a free, open-source AI agent skill. An MCP server focused only on Overleaf projects (via Overleaf Git sync). .env example: - OVERLEAFTOKEN is required. - projectid can be passed per tool call, or use default PROJECTID. - Overleaf Git access requires a plan that supports Git integration. Add to ~/.config/Claude/claudedesktopconfig.json: - Python 3.13+ - uv package manager MIT - See LICENSE
Install Overleaf MCP Server with a single command:
npx mdskills install YounesBensafia/overleaf-mcp-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
Overleaf MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.