MCP server for Overleaf projects. Syncs LaTeX files via Git, parses sections, equations, and citations, and exposes them to AI clients for assisted paper review, LaTeX fixes, and content generation.
{
"mcpServers": {
"overleaf-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Overleaf projects. Syncs LaTeX files via Git, parses sections, equations, and citations, and exposes them to AI clients for assisted paper review, LaTeX fixes, and content generation.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 16 days ago. 20 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Temporal memory for AI with decay and reinforcement. Two-layer storage (JSONL + Markdown).
Hierarchical markdown memory palace for AI agents — structured palace navigation via MCP tools.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
MCP Security Weekly
Get CVE alerts and security updates for Overleaf Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP server focused only on Overleaf projects (via Overleaf Git sync).
flowchart LR
C[MCP Client\nClaude Desktop / other MCP host] -->|Tool Call| S[Overleaf MCP Server]
S -->|Git Sync| O[Overleaf Git Remote]
S -->|Read / Write| L[Local Repo Mirror]
L -->|Commit + Push| O
O -->|Pull / Fetch| L
S -->|Tool Result| C
sequenceDiagram
participant Client as MCP Client
participant Server as Overleaf MCP Server
participant Local as Local Mirror
participant Overleaf as Overleaf Git
Client->>Server: list_files / read_file
Server->>Local: Ensure local clone
Server->>Overleaf: git pull
Overleaf-->>Server: latest content
Server-->>Client: file list / file content
Client->>Server: write_file(path, content)
Server->>Local: update file
Server->>Local: git commit
Server->>Overleaf: git push
Server-->>Client: success + metadata
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
If you are running from an activated virtual environment, you can also use:
PYTHONPATH=. python src/main.py
.env example:
OVERLEAF_TOKEN=your_git_token
PROJECT_ID=your_project_id
Notes:
OVERLEAF_TOKEN is required.project_id can be passed per tool call, or use default 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 |
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"
}
}
}
}
OVERLEAF_TOKEN is valid and has Git access.PROJECT_ID in .env.project_id explicitly in tool calls.sync_project before write_file if the remote changed.uv sync.uv package managerMIT - See LICENSE