OverleafMCP MCP server
Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits back via Git. Compatible with Claude Desktop, Cursor, Windsurf, and any MCP client.
What OverleafMCP does
Summarised from the project README; check the repository for the latest details.
Features
- 📄 File Management: List, read, and write files from and to Overleaf projects
- 📋 Document Structure: Parse LaTeX sections and subsections
- 🔍 Content Extraction: Extract specific sections by title
- 📊 Project Summary: Get overview of project status and structure
- 🏗️ Multi-Project Support: Manage multiple Overleaf projects
Tools exposed (9)
list_projectslist_filesprojectName– Project identifier (optional, defaults to "default")read_fileget_sectionsget_section_contentstatus_summarywrite_filewrite_section
Requirements
- Node.js (runs with npx)
- Environment variables: OVERLEAF_PROJECT_ID, OVERLEAF_GIT_TOKEN
Repository: mjyoo2/OverleafMCP
Stars: ★312
Language: JavaScript
Last updated: 2026-05-03
ai-toolschatgptclaudelatexmcpmcp-serveroverleaf
Stars: ★312
Language: JavaScript
Last updated: 2026-05-03
ai-toolschatgptclaudelatexmcpmcp-serveroverleaf
How to install OverleafMCP MCP in Claude Desktop, Cursor and VS Code
Install
Taken from the project README (README mcpServers JSON). Check the README for required API keys before use.
Claude Code
Terminal (claude CLI)
claude mcp add --env OVERLEAF_PROJECT_ID=YOUR_OVERLEAF_PROJECT_ID --env OVERLEAF_GIT_TOKEN=YOUR_OVERLEAF_GIT_TOKEN --transport stdio overleaf -- npx -y @mjyoo2/overleaf-mcpClaude Desktop
claude_desktop_config.json
{
"mcpServers": {
"overleaf": {
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_PROJECT_ID": "YOUR_OVERLEAF_PROJECT_ID",
"OVERLEAF_GIT_TOKEN": "YOUR_OVERLEAF_GIT_TOKEN"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"overleaf": {
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_PROJECT_ID": "YOUR_OVERLEAF_PROJECT_ID",
"OVERLEAF_GIT_TOKEN": "YOUR_OVERLEAF_GIT_TOKEN"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"overleaf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_PROJECT_ID": "YOUR_OVERLEAF_PROJECT_ID",
"OVERLEAF_GIT_TOKEN": "YOUR_OVERLEAF_GIT_TOKEN"
}
}
}
}Add to config generator – combine it with other servers, or get the Windsurf format.
Maintain this project? Get it featured for free during launch →
Compare with github-mcp-server →
Related Git & GitHub MCP servers
pipeshub-ai by pipeshub-ai · ★3833
The open-source context layer for AI agents. PipesHub turns your company's knowledge (Slack, Drive, Jira, GitHub, Microsoft 365 and 40+ conn
Git & GitHub
The open-source context layer for AI agents. PipesHub turns your company's knowledge (Slack, Drive, Jira, GitHub, Microsoft 365 and 40+ conn
Git & GitHub
jcodemunch-mcp by jgravelle · ★2771
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Wor
Git & GitHub
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Wor
Git & GitHub
Lightswind-UI-Library by codewithMUHILAN · ★1138
The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor,
Git & GitHub
The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor,
Git & GitHub
atlassian-mcp-server by atlassian · ★1098
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, Chat
Git & GitHub
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, Chat
Git & GitHub
new-term-radar by zhuyansen · ★977
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools l
Git & GitHub
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools l
Git & GitHub
Weekly MCP digest – new and trending MCP servers in your inbox.