overleaf-setup
/overleaf-setup
Instaluje, loguje i rozwiązuje problemy z serwerem MCP overleaf-mcp-rt, w tym błędy uwierzytelniania, konfiguracji, proxy i wygasłego ciasteczka sesji.
- Autor
- danielhou315 ↗
- Repozytorium
- overleaf-mcp-rt ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 20.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 20.09.2026, bez odwołań do wycofanych modeli i API.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Instaluje, loguje i rozwiązuje problemy z serwerem MCP overleaf-mcp-rt, w tym błędy uwierzytelniania, konfiguracji, proxy i wygasłego ciasteczka sesji.
Wyzwalacze z opisu
Oryginalny opis (EN)
Install, log in to, and troubleshoot the overleaf-mcp-rt MCP server. Use when Overleaf tools are missing or failing (OVERLEAF_AUTH_FAILED, INVALID_CONFIG, PROXY_AUTH_FAILED, "connection closed"), when the user wants to connect a new Overleaf instance or overleaf.com, or when a session cookie has expired.
Jak działa
- Log in (or refresh an expired session)
- Check it works
- Register the server with an MCP client
- Reading errors
Podgląd SKILL.md
---
name: overleaf-setup
description: Install, log in to, and troubleshoot the overleaf-mcp-rt MCP server. Use when Overleaf tools are missing or failing (OVERLEAF_AUTH_FAILED, INVALID_CONFIG, PROXY_AUTH_FAILED, "connection closed"), when the user wants to connect a new Overleaf instance or overleaf.com, or when a session cookie has expired.
---
# Setting up overleaf-mcp-rt
The server needs one thing per Overleaf instance ("host"): a logged-in session cookie. Only the user can log in — you prepare the command, they run it.
## Log in (or refresh an expired session)
Ask the user to run this. It opens a browser window with a throwaway profile; they sign in as usual (CAPTCHA, SSO and 2FA all work) and the session is captured automatically:
```bash
npx -y overleaf-mcp-rt login --url https://overleaf.example.com --browser
npx -y overleaf-mcp-rt login --url https://www.overleaf.com --name overleaf.com --browser # hosted Overleaf
```
- No prompts are asked when `--url` and `--browser` are both given, so it also runs from a non-interactive shell (for instance a harness's "run this command for me" prefix).
- The first host becomes the default; add `--default` to change it.
- Headless machine? `login --url … --cookie '<value>'` with the `overleaf_session2` (overleaf.com), `overleaf.sid` or `sharelatex.sid` cookie copied from browser devtools. Self-hosted instances without CAPTCHA also accept `--email`.
- **Never ask the user to paste a password or cookie into the chat**, and never read `~/.config/overleaf-mcp-rt/credentials.json` yourself.
A running MCP server picks up a new or refreshed login on the next tool call — no restart needed.
## Check it works
```bash
npx -y overleaf-mcp-rt hosts # configured hosts (names and URLs only)
npx -y overleaf-mcp-rt diagnose [--host NAME] # config → REST → projects → load balancer → OT handshake
```
`diagnose` names the failing layer. Then call `overleaf_list_hosts` and `overleaf_list_projects`.
## Register the server with an MCP client
If this skill came from the `overleaf-mcp-rt` plugin, the server is already registered. Otherwise add a stdio server to the client's MCP config:
```json
{ "mcpServers": { "overleaf": { "command": "npx", "args": ["-y", "overleaf-mcp-rt"] } } }
```
Most harnesses also have a one-liner, e.g. `claude mcp add overleaf -- npx -y overleaf-mcp-rt` or `codex mcp add overleaf -- npx -y overleaf-mcp-rt`. Behind an auth proxy (Cloudflare Access, basic auth), set `OVERLEAF_EXTRA_HEADERS` to a JSON object of headers, or pass `--header KEY=VALUE` to `login`.
## Reading errors
| Code | Meaning | Fix |
|---|---|---|
| `OVERLEAF_AUTH_FAILED` | Session expired or invalid | User re-runs `login … --browser` |
| `INVALID_CONFIG` | No such host / nothing configured | `hosts`, then `login` |
| `PROXY_AUTH_FAILED` | A reverse proxy blocked the request | `OVERLEAF_EXTRA_HEADERS` |
| `PROJECT_ACCESS_DENIED` | This account isn't a collaborator | User shares the project with it |
| `COMMENTS_UNSUPPORTED` | Stock Community Edition has no review panel | Not fixable on that host |
| joinDoc refused: "history-ot" | Version of this tool older than 2.2.0, on a project using Overleaf's newer document format | Update `overleaf-mcp-rt` |
| `HISTORY_OT_WRITES_DISABLED` | Project on Overleaf's newer document format: readable, but editing is opt-in | Tell the user; they enable it by starting the server with `OVERLEAF_HISTORY_OT_WRITES=1` (scratch file first). Until then give them the change as text |
| `HISTORY_OT_MISMATCH` | Overleaf stored something other than predicted after a write | Stop editing that project, re-read, tell the user to report it |
Wersje
W bazie nie ma innych skilli o nazwie overleaf-setup.
Migawka bazy z 28.10.2026 · wersja paczki 75bc3749f153 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100setup
Konfiguruje ciasteczko sesji Overleaf dla pluginu overleaf-skills i naprawia błędy uwierzytelniania, takie jak 401, wygasła sesja czy brak autoryzacji. - 100review-overleaf
Pobiera komentarze recenzentów z Overleaf i nanosi je w lokalnym repozytorium LaTeX w git, synchronizując uwagi z lokalną wersją. - 100overleaf-editing
Opisuje czytanie i edycję dokumentów Overleaf przez narzędzia MCP overleaf_* bez zakłócania osób pracujących w projekcie, w tym obsługę zmian zewnętrznych i błędów dopasowania edycji. - 100overleaf-sync
Synchronizuje dwukierunkowo lokalny katalog artykułu z projektem Overleaf, aby przepływy audytu i edycji ARIS działały na lokalnej kopii, a współautorzy edytowali w interfejsie webowym. - 90overleaf-latex-workflow
Prowadzi pracę nad artykułami LaTeX w Overleaf: znajduje plik główny, kompiluje, czyta logi i naprawia błędy. - 90work-with-overleaf
Łączy projekt Overleaf z lokalnymi skillami, aby sprawdzić, dopracować i zrecenzować artykuł, a potem zsynchronizować zmiany z powrotem przez Git lub GitHub.