overleaf-mcp
Overleaf MCP
Overleaf プロジェクトを Claude から読み書きするための、Overleaf git ブリッジを使用したツールです。
警告: MCP にプロジェクト ID を提供すると、Claude がプロジェクトディレクトリ全体にアクセスできるようになります。
必要条件
Overleaf プレミアム(所属機関でのアクセスを確認してください!)
uv、git、TeX ディストリビューション、およびpdftocairo(Mac ではbrew install popplerでインストールできます)
Related MCP server: overleaf-mcp
セットアップ
リポジトリをクローンします。
~/.overleaf-mcp/projects.jsonを作成します。例はprojects.json.exampleにあります。プロジェクト ID は Overleaf の URL の/project/の後の文字列です。{ "default": "paper", "projects": { "paper": "<project-id>" } }サーバーを Claude の設定に追加します。git トークンは Overleaf のアカウント設定で生成できます。
{ "mcpServers": { "overleaf": { "command": "/absolute/path/to/uv", "args": ["run", "--directory", "/absolute/path/to/overleaf-mcp", "overleaf-mcp"], "env": { "OVERLEAF_TOKEN": "your_git_token" } } } }Claude を再起動します。
仕組み
プロジェクトは、open_project が成功するまで unverified と見なされます。open_project は、すべての \usepackage がローカルの TeX 環境で解決できることを確認し、各ルートをベースラインコンパイルします。
すべての書き込みは、open_project が成功するまで拒否されます
\documentclass を含む .tex ファイルは ルート であり、子 は \input/\include/\subfile によってインクルードされます。子を編集すると、それをインクルードするルートが再コンパイルされます。たとえば、標準的な main.tex + sections/ プロジェクト、単一ファイルの論文、または同じルールに従う独立した 1 ページドキュメントのフォルダにも対応します。
さらに、エラーがあるとプッシュがブロックされ、警告は報告されるだけです。
ツール
tool | description |
| プル、環境の検証、ベースラインコンパイル |
|
|
| 行番号付きの構造 |
| 行番号付きで、オプションで範囲指定( |
| 正規表現検索、 |
| 正確な一意のスニペットを置換、コンパイルゲート付き |
| ファイルを作成または上書き、コンパイルゲート付き |
| 画像またはバイナリをコピー |
| 所有するルートをコンパイルし、ダイジェストを返す |
| 1 ページを画像としてレンダリング - レイアウト/画像に非常に便利 |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides access to Overleaf projects via Git integration, allowing Claude and other MCP clients to read LaTeX files, analyze document structure, and extract content.695236MIT
- AlicenseNot gradedqualityBmaintenanceEnables editing Overleaf projects from Claude, with tools to list, read, edit, and sync files via Git.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude and AI agents to read and edit Overleaf documents in real time, with support for project listing, document manipulation, LaTeX compilation, and live collaboration.1038MIT
- AlicenseNot gradedqualityBmaintenanceConnects Claude/ChatGPT to Overleaf projects via the Git integration, enabling read, edit, write, and file management through natural language commands.2AGPL 3.0
Related MCP Connectors
Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.
Read, edit, publish, and preview your pepita websites from Claude.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/meaninglessC0de/Overleaf-Claude-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server