G1

ghostiee-11/overleaf-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

20 stars 1 forks Качество 76 Тренд 14MIT

MCP server giving AI agents (Claude Code, Copilot, Antigravity) bi-directional sync with Overleaf - free tier included. 24 tools: LaTeX check, format, fix, compile, push.

Обзор

Give any MCP-capable AI agent the power to read, understand, draft, lint, format, fix, compile, and sync your LaTeX work on Overleaf. Free tier included. An MCP server you plug into Claude Code, GitHub Copilot, Google Antigravity, or any client that speaks the MCP stdio protocol. Once connected, the agent can: - with path-boundary safety. - on every .tex: math brackets, align-column drift, figure completeness, table column match, package conflicts, heading-case consistency, dangling refs / unused labels / uncited bib entries. - , lint with chktex, compile with latexmk. Everything gracefully degrades if the binary is not installed. - using the same read + write tools a human contributor would. - in three ways: native free-tier pull and push (no Premium), the official git integration (Premium), or a manual ZIP round-trip. - into structured errors with one-line suggestions.

README

Показан фрагмент оригинального README. Открыть оригинал.

Give any MCP-capable AI agent the power to read, understand, draft, lint, format, fix, compile, and sync your LaTeX work on Overleaf. Free tier included.


What it does

An MCP server you plug into Claude Code, GitHub Copilot, Google Antigravity, or any client that speaks the MCP stdio protocol. Once connected, the agent can:

  • Read and write your LaTeX project files with path-boundary safety.
  • Run 7 static checks on every .tex: math brackets, align-column drift, figure completeness, table column match, package conflicts, heading-case consistency, dangling refs / unused labels / uncited bib entries.
  • Format with latexindent, lint with chktex, compile with latexmk. Everything gracefully degrades if the binary is not installed.
  • Draft, rewrite, refactor, and apply templates using the same read + write tools a human contributor would.
  • Sync with Overleaf in three ways: native free-tier pull and push (no Premium), the official git integration (Premium), or a manual ZIP round-trip.
  • Translate cryptic LaTeX log output into structured errors with one-line suggestions.

It is the first MCP server that lets a free-tier Overleaf user do pull -> edit -> push from an AI agent in a single turn.


Demo

See docs/demo.md for a full 7-step transcript: list projects, plant 7 deliberate bugs, agent finds 10 findings across 5 checker tools, agent autonomously fixes every one, push back to Overleaf, independently verify on the server. Every query is a real claude -p invocation; every output is unedited.


Table of contents

  1. Quick start
  2. Install
  3. Configure your MCP client
  4. Operating modes
  5. Tool reference
  6. What the agent can actually do
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "overleaf": { "command": "overleaf-latex-mcp", "env": { "OVERLEAF_PROJECT_ROOT": "/absolute/path/to/project", "OVERLEAF_PROJECT_NAME": "My Thesis" } } } }