Skip to main content
Glama

Overleaf MCP

Overleaf プロジェクトを Claude から読み書きするための、Overleaf git ブリッジを使用したツールです。

警告: MCP にプロジェクト ID を提供すると、Claude がプロジェクトディレクトリ全体にアクセスできるようになります。

必要条件

  • Overleaf プレミアム(所属機関でのアクセスを確認してください!)

  • uvgit、TeX ディストリビューション、および pdftocairo(Mac では brew install poppler でインストールできます)

Related MCP server: overleaf-mcp

セットアップ

  1. リポジトリをクローンします。

  2. ~/.overleaf-mcp/projects.json を作成します。例は projects.json.example にあります。プロジェクト ID は Overleaf の URL の /project/ の後の文字列です。

    { "default": "paper", "projects": { "paper": "<project-id>" } }
  3. サーバーを 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" }
        }
      }
    }
  4. Claude を再起動します。

仕組み

プロジェクトは、open_project が成功するまで unverified と見なされます。open_project は、すべての \usepackage がローカルの TeX 環境で解決できることを確認し、各ルートをベースラインコンパイルします。

すべての書き込みは、open_project が成功するまで拒否されます

\documentclass を含む .tex ファイルは ルート であり、\input/\include/\subfile によってインクルードされます。子を編集すると、それをインクルードするルートが再コンパイルされます。たとえば、標準的な main.tex + sections/ プロジェクト、単一ファイルの論文、または同じルールに従う独立した 1 ページドキュメントのフォルダにも対応します。 さらに、エラーがあるとプッシュがブロックされ、警告は報告されるだけです。

ツール

tool

description

open_project

プル、環境の検証、ベースラインコンパイル

files

.tex ファイルを一覧表示し、ルートをマーク

outline

行番号付きの構造

read

行番号付きで、オプションで範囲指定(lines="150-190"

grep

正規表現検索、file:line: match

edit

正確な一意のスニペットを置換、コンパイルゲート付き

write

ファイルを作成または上書き、コンパイルゲート付き

add_asset

画像またはバイナリをコピー

compile

所有するルートをコンパイルし、ダイジェストを返す

render

1 ページを画像としてレンダリング - レイアウト/画像に非常に便利

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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