Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.
Each project has its own MCP server, so an AI client on your computer can read and edit the project, compile it and answer its comments. The client signs in with a Git authentication token.
If you see no MCP server card, see MCP Server for your administrator.
New in v6.3.3
From v6.3.3, the client can also work with the project history: list the changes, compare two versions, read a file as it was, save and delete versions, and restore a file or the whole project. It can list the tracked changes and accept or reject them, and make its own edits tracked changes when you ask it to. It can comment on a piece of text and edit or delete comment messages, read and send messages in the project chat, move and rename files and folders, create folders, and change the spell check language. Who may do what follows your role in the project, as in the editor, because the client works with your token: see Who may do what.The MCP server was introduced in v6.3.1. v6.3.1 and v6.3.2 have the same 17 tools; v6.3.3 has 33.
Open the project. In the left bar, click Integrations, then MCP server.
The Integrations panel
The dialog shows the address of this project’s server and a tab for each client: Claude Code, Codex, Cursor, VS Code and Gemini CLI.
The MCP server dialog
2
Create a token
Click Go to settings. Your account settings open in a new tab. Under Git integration, click Generate token, or Add another token if you already have one. Click Copy and keep the token somewhere safe, because you only see it once. Then click Close.
Your new token
A token you already use for Git integration works too, and so does one token for all your projects.
3
Add the server to your client
Back in the dialog, click the tab of your client and click Copy next to the configuration.
Tab
Where it goes
The token
Claude Code
Run the command in a terminal
Replace <token> in the command
Codex
~/.codex/config.toml
Put it in the environment variable OVERLEAF_TOKEN
Cursor
~/.cursor/mcp.json
Put it in the environment variable OVERLEAF_TOKEN
VS Code
.vscode/mcp.json
The file has a password prompt called overleaf-token instead of the token
Gemini CLI
Run the command in a terminal
Replace <token> in the command
The address belongs to one project. To connect another project, add it under another name, because overleaf is taken. For Claude Code, for example, change overleaf in the command to overleaf-lab.
The answer names the server, followed by its instructions for clients:
{"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"overleaf","version":"1.0.0"},"instructions":"This server works on one Overleaf project. ..."},"jsonrpc":"2.0","id":1}
To see the tools, send tools/list with the same command. The answer lists 33 tools, or 31 if your site has the project chat turned off. Before v6.3.3 it lists 17.
Under Git integration, Last used shows the date for a token the server has received.
The first token has been used
If it does not connect
What you see
What it means
Status 401, or in Claude Code ✘ Failed to connect with HTTP 401
The token is missing, wrong or deleted
Status 404
No project has this ID
Status 405
The request was not a POST
Status 406 with Not Acceptable
The Accept header is missing: the client must accept both application/json and text/event-stream
What you see when a client works
Edits appear in an open editor as the client makes them, like a collaborator’s, without reloading. New files and folders, moves and renames appear in the file tree.
A line added by edit_file
edit_file only changes text that appears exactly once. Otherwise the client gets an error, such as oldString not found in main.tex, read_file again or oldString appears 2 times in main.tex, add context, and nothing changes.From v6.3.3, move_file moves or renames a file or folder, creating the folders of the new path as needed, and create_folder creates a folder. If the file is not found or the new path exists already, the client gets an error and nothing changes. update_settings can also change the spell check language, for example to de, or turn spell check off.Replies to comments appear in the review panel under your name, because the token is yours. A comment resolved through the server leaves the panel, and reopening it brings it back.
A reply sent by reply_to_comment
From v6.3.3, add_comment comments on a piece of text. The text must appear exactly once in the file; when it appears more than once, the client also gives a longer piece around it that appears once, and only the text is commented. The comment appears in the review panel under your name and stays on its text as the file changes. edit_comment_message changes one of your own messages. delete_comment_message deletes a message, and deleting the first one deletes the whole comment, as in the review panel.compile compiles the project and returns the list of output files. get_output_file_link then gives a link to download the PDF or another output file. The link needs no token and stops working after 5 minutes.For the full list of tools, see Tools.
Tracked changes
From v6.3.3, you can ask the client to make its edits tracked changes, for example Rewrite the abstract as a tracked change. edit_file and write_file then make the change to an existing file a tracked change under your name, even when track changes is off in the project, and you accept or reject it in the review panel. A new file is never a tracked change. If you do not ask, edits follow the track changes setting of the project, as yours do in the editor: they are tracked when track changes is on for you or for everyone.If the project owner’s account does not have track changes, the client gets Track changes is off for this project and nothing changes.To have every edit of the client reviewed, turn track changes on for yourself. To tell its edits from yours in the review panel, give the client the token of another account that you share the project with.list_tracked_changes lists the tracked changes with their file, the inserted or deleted text, the author and the time. accept_tracked_changes and reject_tracked_changes take the ids of the changes and work like the review panel: an accepted change stays in the text, a rejected insert is removed and a rejected delete comes back. An open editor shows the result without reloading. The tools tell the client to accept or reject only the changes you ask for.
History
From v6.3.3, the client sees the project history as the history panel shows it.
Tool
What it does
list_changes
Lists the changes, newest first: who changed which files and when, with the versions before and after each change. Older changes come in further batches.
diff
Compares two versions: one file as a unified diff, like git diff, or the files that were added, removed, edited or renamed
read_file with version
Reads a file as it was at a version
list_versions
Lists the saved versions, with their comment and who saved them
create_version
Saves the latest version, or an earlier one, with a comment, like Label this version
delete_version
Deletes a saved version; its changes stay
restore_file
Restores a file as it was at a version, like Restore this version
restore_project
Restores the whole project as it was at a version, like Restore project to this version
A restore is a new change of its own, so you can undo it the same way. The tools tell the client to restore only when you ask.If the project owner does not have full project history, the client sees only the changes of the last 24 hours, or the latest change if all are older, as in the history panel. It cannot compare, read or restore older versions.
Project chat
From v6.3.3, list_chat_messages reads the project chat, newest first, 50 messages at a time. send_chat_message sends a message under your name, and it appears in an open chat at once. If your site has the project chat turned off, the client has neither tool.
Who may do what
The client may do what your role in the project allows.
What the client does
Owner
Editor
Reviewer
Viewer (named collaborator)
Viewer (link sharing)
Read files and settings, compile, read the log, download the PDF
Yes
Yes
Yes
Yes
Yes
Write, edit, move and delete files, create folders, change the settings
Yes
Yes
No
No
No
See the history, comments and tracked changes
Yes
Yes
Yes
Yes
No
Read and send chat messages
Yes
Yes
Yes
Yes
No
Add comments and reply to them
Yes
Yes
Yes
No
No
Resolve, reopen or delete a comment
Yes
Yes
The ones they started
No
No
Edit a comment message
Their own
Their own
Their own
No
No
Delete a comment message
Yes
Yes
Their own
No
No
Accept or reject tracked changes
Yes
Yes
No
No
No
Save a version
Yes
Yes
Yes
No
No
Delete a saved version
Yes
The ones they saved
The ones they saved
No
No
Restore a file or the project
Yes
Yes
No
No
No
Editors who joined by link count as editors. Reviewers cannot edit files through MCP, not even as tracked changes.
Disconnect a client
Delete the token: see Delete a token. From then on, the server answers 401 to that token. If you also use it for Git, Git stops accepting it too.
Last modified on November 14, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayakaleaf Pro","description":"Overleaf Community Edition enhanced with all Pro features: open source, free to use, self-hostable.","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/light.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=7f1abd8dcc74dd3b7cdafac9e6e82092","dark":"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/dark.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=4e369d29a8c5a6cd8b4b7697ddb1f7e2","href":"/"},"favicon":"https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/favicon.png?fit=max\u0026auto=format\u0026n=x9kfDjtWlyyhG_mR\u0026q=85\u0026s=832c6bfafce5eb69ebc83783083a4a85","background":{"color":{"light":"#FDFDF7","dark":"#09090B"}},"navbar":{"links":[{"href":"https://github.com/ayaka-notes/ayakaleaf-pro-playground","label":"Playground"},{"href":"https://github.com/orgs/ayaka-notes/packages/container/package/overleaf-pro","label":"Docker Image"},{"href":"https://github.com/ayaka-notes/texlive-full","label":"TeXLive Full"}],"primary":{"type":"button","label":"Open GitHub","href":"https://github.com/ayaka-notes/ayakaleaf-pro"}},"footer":{"socials":{"github":"https://github.com/ayaka-notes"}},"styling":{"latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","assistant","download-pdf","download-spec"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"zh-CN","href":"zh-CN"},{"language":"zh-TW","href":"zh-TW"},{"language":"ja","href":"ja"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"es","href":"es"},{"language":"it","href":"it"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"nl","href":"nl"},{"language":"pt","href":"pt"},{"language":"tr","href":"tr"},{"language":"uk","href":"uk"},{"language":"pl","href":"pl"},{"language":"cs","href":"cs"},{"language":"sv","href":"sv"},{"language":"fi","href":"fi"},{"language":"ar","href":"ar"},{"language":"vi","href":"vi"},{"language":"no","href":"no"},{"language":"da","href":"da"},{"language":"id","href":"id"},{"language":"zh-Hans","href":"zh-Hans"},{"language":"zh-Hant","href":"zh-Hant"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayakaleaf-pro","hasAudioNarration":false,"actualSubdomain":"ayakaleaf-pro","customDomains":[],"gitSource":{"type":"github","owner":"ayaka-notes","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b015084275034e27381e646","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"On-Premises","count":159},{"language":"ar","tag":"الاستضافة المحلية","count":141},{"language":"cs","tag":"On-Premises","count":141},{"language":"da","tag":"On-premises","count":141},{"language":"de","tag":"On-Premises","count":141},{"language":"es","tag":"Local","count":141},{"language":"fi","tag":"Paikallinen asennus","count":141},{"language":"fr","tag":"Sur site","count":141},{"language":"id","tag":"On-Premises","count":141},{"language":"it","tag":"On-premise","count":141},{"language":"ja","tag":"オンプレミス","count":141},{"language":"ko","tag":"온프레미스","count":141},{"language":"nl","tag":"On-premises","count":141},{"language":"no","tag":"Lokal drift","count":141},{"language":"pl","tag":"On-Premises","count":141},{"language":"pt","tag":"On-Premises","count":141},{"language":"ru","tag":"Локальное развертывание","count":141},{"language":"sv","tag":"On-Premises","count":141},{"language":"tr","tag":"Şirket İçi Kurulum","count":141},{"language":"uk","tag":"Локальне розгортання","count":141},{"language":"vi","tag":"Tự triển khai (On-Premises)","count":141},{"language":"zh-CN","tag":"本地部署","count":141},{"language":"zh-Hans","tag":"本地部署","count":141},{"language":"zh-Hant","tag":"本地部署","count":141},{"language":"zh-TW","tag":"本地部署","count":141},{"language":"ar","tag":"الإعداد","count":66},{"language":"en","tag":"Configuration","count":66},{"language":"cs","tag":"Konfigurace","count":66},{"language":"da","tag":"Konfiguration","count":66},{"language":"de","tag":"Konfiguration","count":66},{"language":"es","tag":"Configuración","count":66},{"language":"fi","tag":"Määritys","count":66},{"language":"fr","tag":"Configuration","count":66},{"language":"id","tag":"Konfigurasi","count":66},{"language":"it","tag":"Configurazione","count":66},{"language":"ja","tag":"設定","count":66},{"language":"ko","tag":"구성","count":66},{"language":"nl","tag":"Configuratie","count":66},{"language":"no","tag":"Konfigurasjon","count":66},{"language":"pl","tag":"Konfiguracja","count":66},{"language":"pt","tag":"Configuração","count":66},{"language":"ru","tag":"Настройка","count":66},{"language":"sv","tag":"Konfiguration","count":66},{"language":"tr","tag":"Yapılandırma","count":66},{"language":"uk","tag":"Конфігурація","count":66},{"language":"vi","tag":"Cấu hình","count":66},{"language":"zh-CN","tag":"配置","count":66},{"language":"zh-Hans","tag":"配置","count":66},{"language":"zh-Hant","tag":"設定","count":66},{"language":"zh-TW","tag":"設定","count":66},{"language":"en","tag":"Developer","count":57},{"language":"ar","tag":"التثبيت","count":40},{"language":"en","tag":"Installation","count":40},{"language":"cs","tag":"Instalace","count":40},{"language":"da","tag":"Installation","count":40},{"language":"de","tag":"Installation","count":40},{"language":"es","tag":"Instalación","count":40},{"language":"fi","tag":"Asennus","count":40},{"language":"fr","tag":"Installation","count":40},{"language":"id","tag":"Instalasi","count":40},{"language":"it","tag":"Installazione","count":40},{"language":"ja","tag":"インストール","count":40},{"language":"ko","tag":"설치","count":40},{"language":"nl","tag":"Installatie","count":40},{"language":"no","tag":"Installasjon","count":40},{"language":"pl","tag":"Instalacja","count":40},{"language":"pt","tag":"Instalação","count":40},{"language":"ru","tag":"Установка","count":40},{"language":"sv","tag":"Installation","count":40},{"language":"tr","tag":"Kurulum","count":40},{"language":"uk","tag":"Встановлення","count":40},{"language":"vi","tag":"Cài đặt","count":40},{"language":"zh-CN","tag":"安装","count":40},{"language":"zh-Hans","tag":"安装","count":40},{"language":"zh-Hant","tag":"安裝","count":40},{"language":"zh-TW","tag":"安裝","count":40},{"language":"en","tag":"Data Model","count":37},{"language":"ar","tag":"Docker Compose","count":34},{"language":"en","tag":"Docker Compose","count":34},{"language":"cs","tag":"Docker Compose","count":34},{"language":"da","tag":"Docker Compose","count":34},{"language":"de","tag":"Docker Compose","count":34},{"language":"es","tag":"Docker Compose","count":34},{"language":"fi","tag":"Docker Compose","count":34},{"language":"fr","tag":"Docker Compose","count":34},{"language":"id","tag":"Docker Compose","count":34},{"language":"it","tag":"Docker Compose","count":34},{"language":"ja","tag":"Docker Compose","count":34},{"language":"ko","tag":"Docker Compose","count":34},{"language":"nl","tag":"Docker Compose","count":34},{"language":"no","tag":"Docker Compose","count":34},{"language":"pl","tag":"Docker Compose","count":34},{"language":"pt","tag":"Docker Compose","count":34},{"language":"ru","tag":"Docker Compose","count":34},{"language":"sv","tag":"Docker Compose","count":34},{"language":"tr","tag":"Docker Compose","count":34},{"language":"uk","tag":"Docker Compose","count":34},{"language":"vi","tag":"Docker Compose","count":34},{"language":"zh-CN","tag":"Docker Compose","count":34},{"language":"zh-Hans","tag":"Docker Compose","count":34},{"language":"zh-Hant","tag":"Docker Compose","count":34},{"language":"zh-TW","tag":"Docker Compose","count":34},{"language":"ar","tag":"Kubernetes","count":32},{"language":"en","tag":"Kubernetes","count":32},{"language":"cs","tag":"Kubernetes","count":32},{"language":"da","tag":"Kubernetes","count":32},{"language":"de","tag":"Kubernetes","count":32},{"language":"es","tag":"Kubernetes","count":32},{"language":"fi","tag":"Kubernetes","count":32},{"language":"fr","tag":"Kubernetes","count":32},{"language":"id","tag":"Kubernetes","count":32},{"language":"it","tag":"Kubernetes","count":32},{"language":"ja","tag":"Kubernetes","count":32},{"language":"ko","tag":"Kubernetes","count":32},{"language":"nl","tag":"Kubernetes","count":32},{"language":"no","tag":"Kubernetes","count":32},{"language":"pl","tag":"Kubernetes","count":32},{"language":"pt","tag":"Kubernetes","count":32},{"language":"ru","tag":"Kubernetes","count":32},{"language":"sv","tag":"Kubernetes","count":32},{"language":"tr","tag":"Kubernetes","count":32},{"language":"uk","tag":"Kubernetes","count":32},{"language":"vi","tag":"Kubernetes","count":32},{"language":"zh-CN","tag":"Kubernetes","count":32},{"language":"zh-Hans","tag":"Kubernetes","count":32},{"language":"zh-Hant","tag":"Kubernetes","count":32},{"language":"zh-TW","tag":"Kubernetes","count":32},{"language":"ar","tag":"استخدام Docker Compose","count":27},{"language":"en","tag":"Using Docker Compose","count":27},{"language":"cs","tag":"Použití Docker Compose","count":27},{"language":"da","tag":"Brug af Docker Compose","count":27},{"language":"de","tag":"Docker Compose verwenden","count":27},{"language":"es","tag":"Uso de Docker Compose","count":27},{"language":"fi","tag":"Docker Composen käyttö","count":27},{"language":"fr","tag":"Utiliser Docker Compose","count":27},{"language":"id","tag":"Menggunakan Docker Compose","count":27},{"language":"it","tag":"Utilizzo di Docker Compose","count":27},{"language":"ja","tag":"Docker Compose の使用","count":27},{"language":"ko","tag":"Docker Compose 사용","count":27},{"language":"nl","tag":"Docker Compose gebruiken","count":27},{"language":"no","tag":"Bruke Docker Compose","count":27},{"language":"pl","tag":"Korzystanie z Docker Compose","count":27},{"language":"pt","tag":"Usando o Docker Compose","count":27},{"language":"ru","tag":"Использование Docker Compose","count":27},{"language":"sv","tag":"Använda Docker Compose","count":27},{"language":"tr","tag":"Docker Compose kullanımı","count":27},{"language":"uk","tag":"Використання Docker Compose","count":27},{"language":"vi","tag":"Sử dụng Docker Compose","count":27},{"language":"zh-CN","tag":"使用 Docker Compose","count":27},{"language":"zh-Hans","tag":"使用 Docker Compose","count":27},{"language":"zh-Hant","tag":"使用 Docker Compose","count":27},{"language":"zh-TW","tag":"使用 Docker Compose","count":27},{"language":"ar","tag":"المطوّرون","count":24},{"language":"en","tag":"User guide","count":24},{"language":"cs","tag":"Vývojáři","count":24},{"language":"da","tag":"Udvikler","count":24},{"language":"de","tag":"Entwickler","count":24},{"language":"es","tag":"Desarrollador","count":24},{"language":"fi","tag":"Kehittäjä","count":24},{"language":"fr","tag":"Développeur","count":24},{"language":"id","tag":"Pengembang","count":24},{"language":"it","tag":"Sviluppatore","count":24},{"language":"ja","tag":"開発者","count":24},{"language":"ko","tag":"개발자","count":24},{"language":"nl","tag":"Ontwikkelaar","count":24},{"language":"no","tag":"Utvikler","count":24},{"language":"pl","tag":"Dla deweloperów","count":24},{"language":"pt","tag":"Desenvolvedor","count":24},{"language":"ru","tag":"Разработчикам","count":24},{"language":"sv","tag":"Utvecklare","count":24},{"language":"tr","tag":"Geliştirici","count":24},{"language":"uk","tag":"Розробникам","count":24},{"language":"vi","tag":"Nhà phát triển","count":24},{"language":"zh-CN","tag":"开发者","count":24},{"language":"zh-Hans","tag":"开发者","count":24},{"language":"zh-Hant","tag":"開發者","count":24},{"language":"zh-TW","tag":"開發者","count":24},{"language":"ar","tag":"التكاملات","count":22},{"language":"en","tag":"Integrations","count":22},{"language":"cs","tag":"Integrace","count":22},{"language":"da","tag":"Integrationer","count":22},{"language":"de","tag":"Integrationen","count":22},{"language":"es","tag":"Integraciones","count":22},{"language":"fi","tag":"Integraatiot","count":22},{"language":"fr","tag":"Intégrations","count":22},{"language":"id","tag":"Integrasi","count":22},{"language":"it","tag":"Integrazioni","count":22},{"language":"ja","tag":"連携","count":22},{"language":"ko","tag":"통합","count":22},{"language":"nl","tag":"Integraties","count":22},{"language":"no","tag":"Integrasjoner","count":22},{"language":"pl","tag":"Integracje","count":22},{"language":"pt","tag":"Integrações","count":22},{"language":"ru","tag":"Интеграции","count":22},{"language":"sv","tag":"Integrationer","count":22},{"language":"tr","tag":"Entegrasyonlar","count":22},{"language":"uk","tag":"Інтеграції","count":22},{"language":"vi","tag":"Tích hợp","count":22},{"language":"zh-CN","tag":"集成","count":22},{"language":"zh-Hans","tag":"集成","count":22},{"language":"zh-Hant","tag":"整合","count":22},{"language":"zh-TW","tag":"整合","count":22},{"language":"ar","tag":"المصادقة","count":14},{"language":"cs","tag":"Ověřování","count":14},{"language":"da","tag":"Godkendelse","count":14},{"language":"de","tag":"Authentifizierung","count":14},{"language":"es","tag":"Autenticación","count":14},{"language":"fi","tag":"Todennus","count":14},{"language":"fr","tag":"Authentification","count":14},{"language":"id","tag":"Autentikasi","count":14},{"language":"it","tag":"Autenticazione","count":14},{"language":"ja","tag":"認証","count":14},{"language":"ko","tag":"인증","count":14},{"language":"nl","tag":"Authenticatie","count":14},{"language":"no","tag":"Autentisering","count":14},{"language":"pl","tag":"Uwierzytelnianie","count":14},{"language":"pt","tag":"Autenticação","count":14},{"language":"ru","tag":"Аутентификация","count":14},{"language":"sv","tag":"Autentisering","count":14},{"language":"tr","tag":"Kimlik Doğrulama","count":14},{"language":"uk","tag":"Автентифікація","count":14},{"language":"vi","tag":"Xác thực","count":14},{"language":"zh-CN","tag":"身份验证","count":14},{"language":"zh-Hans","tag":"身份验证","count":14},{"language":"zh-Hant","tag":"身分驗證","count":14},{"language":"zh-TW","tag":"身分驗證","count":14},{"language":"ar","tag":"واجهات برمجة الخدمات","count":13},{"language":"cs","tag":"API služeb","count":13},{"language":"da","tag":"Tjeneste-API","count":13},{"language":"de","tag":"Service-API","count":13},{"language":"es","tag":"API de servicios","count":13},{"language":"fi","tag":"Palvelujen API","count":13},{"language":"fr","tag":"API des services","count":13},{"language":"id","tag":"API layanan","count":13},{"language":"it","tag":"API dei servizi","count":13},{"language":"ja","tag":"サービス API","count":13},{"language":"ko","tag":"서비스 API","count":13},{"language":"nl","tag":"Service-API","count":13},{"language":"no","tag":"Tjeneste-API","count":13},{"language":"pl","tag":"API usług","count":13},{"language":"pt","tag":"API dos serviços","count":13},{"language":"ru","tag":"API сервисов","count":13},{"language":"sv","tag":"Tjänste-API","count":13},{"language":"tr","tag":"Hizmet API'si","count":13},{"language":"uk","tag":"API сервісів","count":13},{"language":"vi","tag":"API dịch vụ","count":13},{"language":"zh-CN","tag":"服务 API","count":13},{"language":"zh-Hans","tag":"服务 API","count":13},{"language":"zh-Hant","tag":"服務 API","count":13},{"language":"zh-TW","tag":"服務 API","count":13}],"searchSettings":{"maxResults":6}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-MediumItalic-Static.otf\") format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-SemiboldItalic-Static.otf\") format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-BoldItalic-Static.otf\") format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-MediumItalic-Static.otf\") format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-SemiboldItalic-Static.otf\") format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-BoldItalic-Static.otf\") format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}:root{--always-white: 0 0% 100%;--always-black: 0 0% 0%;--constant-book-cloth: 15 55% 80%;--constant-clay: 15 60% 85%;--constant-kraft: 25 40% 83%;--constant-manilla: 40 20% 92%;--constant-slate-000: 0 0% 100%;--constant-slate-050: 48 33.3% 97.1%;--constant-slate-100: 53 28.6% 94.5%;--constant-slate-150: 48 25% 92.2%;--constant-slate-200: 50 20.7% 88.6%;--constant-slate-250: 51 16.5% 84.5%;--constant-slate-300: 50 11.5% 79.6%;--constant-slate-350: 50 9% 73.7%;--constant-slate-400: 49 6.5% 66.9%;--constant-slate-450: 48 4.8% 59.2%;--constant-slate-500: 53 3.2% 51.4%;--constant-slate-550: 51 3.1% 43.7%;--constant-slate-600: 48 2.7% 35.9%;--constant-slate-650: 48 3.4% 29.2%;--constant-slate-700: 60 2.5% 23.3%;--constant-slate-750: 60 2.1% 18.4%;--constant-slate-800: 60 2.7% 14.5%;--constant-slate-850: 30 3.3% 11.8%;--constant-slate-900: 30 4% 9.8%;--constant-slate-950: 60 2.6% 7.6%;--constant-slate-1000: 60 3.4% 5.7%}:root:not(.dark){--accent-brand: 15 63.1% 59.6%;--accent-main-000: 15 55.6% 52.4%;--accent-main-100: 15 55.6% 52.4%;--accent-main-200: 15 63.1% 59.6%;--accent-main-900: 0 0% 0%;--accent-pro-000: 251 34.2% 33.3%;--accent-pro-100: 251 40% 45.1%;--accent-pro-200: 251 61% 72.2%;--accent-pro-900: 253 33.3% 91.8%;--accent-secondary-000: 210 73.7% 40.2%;--accent-secondary-100: 210 70.9% 51.6%;--accent-secondary-200: 210 70.9% 51.6%;--accent-secondary-900: 211 72% 90%;--bg-000: 0 0% 100%;--bg-100: 48 33.3% 97.1%;--bg-200: 53 28.6% 94.5%;--bg-300: 48 25% 92.2%;--bg-400: 50 20.7% 88.6%;--bg-500: 50 20.7% 88.6%;--border-100: 30 3.3% 11.8%;--border-200: 30 3.3% 11.8%;--border-300: 30 3.3% 11.8%;--border-400: 30 3.3% 11.8%;--danger-000: 0 61.4% 22.4%;--danger-100: 0 58.6% 34.1%;--danger-200: 0 58.6% 34.1%;--danger-900: 0 50% 95%;--oncolor-100: 0 0% 100%;--oncolor-200: 60 6.7% 97.1%;--oncolor-300: 60 6.7% 97.1%;--text-000: 60 2.6% 7.6%;--text-100: 60 2.6% 7.6%;--text-200: 60 2.5% 23.3%;--text-300: 60 2.5% 23.3%;--text-400: 51 3.1% 43.7%;--text-500: 51 3.1% 43.7%}:root.dark{--accent-brand: 15 63.1% 59.6%;--accent-main-000: 15 55.6% 52.4%;--accent-main-100: 15 63.1% 59.6%;--accent-main-200: 15 63.1% 59.6%;--accent-main-900: 0 0% 0%;--accent-pro-000: 251 84.6% 74.5%;--accent-pro-100: 251 40.2% 54.1%;--accent-pro-200: 251 40% 45.1%;--accent-pro-900: 250 25.3% 19.4%;--accent-secondary-000: 210 71.1% 62%;--accent-secondary-100: 210 70.9% 51.6%;--accent-secondary-200: 210 70.9% 51.6%;--accent-secondary-900: 210 55.9% 24.6%;--bg-000: 60 2.1% 18.4%;--bg-100: 60 2.7% 14.5%;--bg-200: 30 3.3% 11.8%;--bg-300: 60 2.6% 7.6%;--bg-400: 60 3.4% 5.7%;--bg-500: 60 3.4% 5.7%;--border-100: 51 16.5% 84.5%;--border-200: 51 16.5% 84.5%;--border-300: 51 16.5% 84.5%;--border-400: 51 16.5% 84.5%;--danger-000: 0 73.1% 66.5%;--danger-100: 0 58.6% 34.1%;--danger-200: 0 58.6% 34.1%;--danger-900: 0 23% 15.6%;--oncolor-100: 0 0% 100%;--oncolor-200: 60 6.7% 97.1%;--oncolor-300: 60 6.7% 97.1%;--text-000: 48 33.3% 97.1%;--text-100: 48 33.3% 97.1%;--text-200: 50 9% 73.7%;--text-300: 50 9% 73.7%;--text-400: 48 4.8% 59.2%;--text-500: 48 4.8% 59.2%}#home-header{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;font-weight:400!important;font-size:50px;line-height:1.2;margin-bottom:1rem;color:--text-000;display:flex;align-items:baseline;justify-content:center;flex-wrap:nowrap}#localization-select-trigger>:has(img[src*=\"flags\"]){display:none}div[id^=\"localization-select-item\"]>:has(img[src*=\"flags\"]){display:none}@media (min-width: 768px){#home-header{justify-content:center}}.build-with{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;letter-spacing:-0.02em}.claude-wordmark-wrapper{display:inline-flex;align-items:baseline;margin-left:10px}.claude-wordmark{height:40px;width:auto;position:relative}.dark #home-header{color:white}.description-text{color:black}.dark .description-text{color:white}.dark .claude-wordmark{filter:invert(1)}:root{--bg-color: #f0efea}.dark{--bg-color: #2b2b2b}body,input,#category-select,.dropdown-item,#table-of-contents{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif}.eyebrow{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;text-transform:uppercase;letter-spacing:0.02rem}#content-container{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif}#content-container h1,#content-container h2,#content-container h3,#content-container h4,#content-container h5,#content-container h6{font-family:\"Site Serif Display\", Georgia, \"Times New Roman\", Times, serif;font-weight:400;letter-spacing:0;word-spacing:0.1em}#content-container p{font-size:1rem;line-height:1.65rem}.font-extrabold{font-weight:600!important}.wide-table{width:100%;overflow-x:auto}.wide-table table{width:175%;margin-bottom:0}#prompt-library-container{margin:4rem auto;max-width:48rem;padding-left:1.25rem;padding-right:1.25rem}.prompt-library-title{font-size:24px;text-align:center;font-weight:700;color:#1f2937}.dark .prompt-library-title{color:#e5e7eb}.prompt-library-description{margin-top:1rem;text-align:center}.main-content{margin-bottom:10rem;max-width:64rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}.prompt-controllers{display:flex;gap:0.5rem}.prompt-search-container{position:relative;flex:1 1 0%}.prompt-search-icon-container{display:flex;position:absolute;top:0;bottom:0;left:0;align-items:center;padding-left:0.75rem}.prompt-search-icon{margin-left:0.25rem;margin-right:0.75rem;flex:none;width:1rem;height:1rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/magnifying-glass.svg);mask-repeat:no-repeat;mask-position:center center}input.prompt-search-bar{display:block;height:2.5rem;padding-left:2.5rem;border-radius:0.75rem;border-width:1px;background-color:#ffffff;width:100%;color:#111827;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.dark input.prompt-search-bar{color:#ffffff;background-color:rgb(var(--background-dark));border-color:#d1d5db1a}input.prompt-search-bar:focus{outline-color:rgb(var(--primary))}.dark input.prompt-search-bar:focus{outline-color:rgb(var(--primary-light))}.dark .prompt-search-icon{background-color:#ffffff80}#category-select{padding-left:1rem;padding-right:2.5rem;height:2.5rem;display:flex;align-items:center;border-radius:0.75rem;border-width:1px;color:#111827;background-color:#ffffff;cursor:pointer;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);white-space:nowrap}.dark #category-select{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#ffffff}#category-select:hover{background-color:#f9fafb}.dark #category-select:hover{background-color:#ffffff0d}#category-select:focus{outline-color:rgb(var(--primary))}.dark #category-select:focus{outline-color:rgb(var(--primary-light))}#categories-dropdown{top:calc(100% + 4px);padding:0.5rem 0.5rem;display:none;position:absolute;z-index:10;border-radius:0.75rem;border-width:1px;width:100%;color:#111827;background-color:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.dark #categories-dropdown{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#ffffff}#categories-dropdown-clickout{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0}.dropdown-icon-container{display:flex;position:absolute;top:0;bottom:0;right:0;align-items:center;padding-right:0.25rem}.dropdown-icon{margin-left:0.25rem;margin-right:0.75rem;flex:none;width:0.75rem;height:0.75rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/caret-down.svg);mask-repeat:no-repeat;mask-position:center center}.dark .dropdown-icon{background-color:#ffffff80}#prompts-container{grid-template-columns:repeat(1, minmax(0, 1fr));gap:2rem}.dropdown-item{padding:0.25rem 0.5rem;border-radius:0.375rem;display:flex;align-items:center;cursor:pointer}.dropdown-item:hover{background-color:#f9fafb}.dark .dropdown-item:hover{background-color:#ffffff0d}.check-icon{mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/check.svg);height:0.875rem;width:1rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-card{margin:-0.75rem;padding:0.75rem;display:flex;border-radius:1rem}.prompt-card:hover{background-color:#03071208}.dark .prompt-card:hover{background-color:#ffffff08}.prompt-icon-container{display:flex;flex:none;align-items:center;justify-content:center;margin-right:1.5rem;border-radius:0.75rem;height:4rem;width:4rem;background-color:#cb785c1a}.prompt-icon{height:1.5rem;width:1.5rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-title{color:rgb(31 41 55);font-weight:600}.dark .prompt-title{color:rgb(229 231 235)}.prompt-description{margin-top:0.25rem}#prompts-container{display:grid;margin-top:2.5rem}@media (min-width: 640px){#category-select{width:16rem}}@media (min-width: 1024px){#prompts-container{grid-template-columns:repeat(2, minmax(0, 1fr))}}.home-cards-custom{display:grid;grid-template-columns:repeat(3, 1fr);grid-template-rows:repeat(2, auto);gap:1.5rem}.home-cards-custom .card{background:transparent;border:0.5px solid hsl(var(--border-300));border-radius:12px;padding:0.25rem}@media (max-width: 1024px){.home-cards-custom{grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(3, auto)}}@media (max-width: 768px){.home-cards-custom{grid-template-columns:1fr;grid-template-rows:repeat(6, auto)}}.relative{position:relative}.flex-1{flex:1 1 0%}.mermaid{position:relative;background-color:#FDFDFB;background-image:linear-gradient(rgba(235, 219, 188, .25) 1px, transparent 1px), /* Secondary color #EBDBBC with low opacity */\n linear-gradient(90deg, rgba(235, 219, 188, .25) 1px, transparent 1px),\n linear-gradient(rgba(235, 219, 188, .1) 1px, transparent 1px),\n linear-gradient(90deg, rgba(235, 219, 188, .1) 1px, transparent 1px);background-size:20px 20px,\n 20px 20px,\n 4px 4px,\n 4px 4px;background-position:-1px -1px,\n -1px -1px,\n -1px -1px,\n -1px -1px;padding:20px;border-radius:8px;border:1px solid rgba(235, 219, 188, .4);box-shadow:0 2px 4px rgba(64, 64, 62, 0.08)}.dark .mermaid{background-color:#1a1918;background-image:linear-gradient(rgba(212, 162, 127, .15) 1px, transparent 1px), /* Tertiary color #D4A27F with low opacity */\n linear-gradient(90deg, rgba(212, 162, 127, .15) 1px, transparent 1px),\n linear-gradient(rgba(212, 162, 127, .08) 1px, transparent 1px),\n linear-gradient(90deg, rgba(212, 162, 127, .08) 1px, transparent 1px);border:1px solid rgba(102, 102, 99, .5);box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.digest-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.5rem 1rem;padding:0.75rem 1rem;margin:1.5rem 0 2.5rem;border:1px solid hsl(var(--border-300) / 0.15);background:hsl(var(--bg-200));font-variant-numeric:tabular-nums;font-size:0.875rem;color:hsl(var(--text-400))}#content-container .digest-meta a{color:hsl(var(--accent-main-100));font-weight:500;text-decoration:none;border-bottom:none}#content-container .digest-meta a:hover{text-decoration:underline}.digest-feature{position:relative;margin:2.5rem 0;padding:1.875rem 1.875rem 1.625rem;background:radial-gradient(circle, hsl(var(--text-000) / 0.025) 1px, transparent 1px) 0 0 / 18px 18px,\n linear-gradient(180deg, hsl(var(--constant-manilla) / 0.55), hsl(var(--constant-manilla) / 0.38));border:1px solid hsl(var(--border-300) / 0.12);box-shadow:inset 0 1px 0 hsl(var(--text-000) / 0.04),\n 0 1px 2px hsl(var(--always-black) / 0.04)}.digest-feature::before{content:\"\";position:absolute;inset:0 auto 0 0;width:4px;background:hsl(var(--accent-brand))}.dark .digest-feature{background:radial-gradient(circle, hsl(var(--text-000) / 0.02) 1px, transparent 1px) 0 0 / 18px 18px,\n linear-gradient(180deg, hsl(var(--bg-000) / 0.75), hsl(var(--bg-000) / 0.5));border-color:hsl(var(--border-300) / 0.1);box-shadow:inset 0 1px 0 hsl(var(--text-000) / 0.03),\n 0 1px 2px hsl(var(--always-black) / 0.25)}.digest-feature>:first-child{margin-top:0}.digest-feature>:last-child{margin-bottom:0}.digest-feature-header{display:flex;align-items:center;flex-wrap:wrap;gap:0.625rem;margin:0 0 0.75rem}#content-container .digest-feature-title{font-family:\"Site Serif Display\", Georgia, serif;font-size:1.75rem;line-height:1.15;font-weight:500;letter-spacing:-0.015em;color:hsl(var(--text-000));margin:0}#content-container .digest-feature-pill{font-family:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;font-size:0.75rem;line-height:1;letter-spacing:0.01em;padding:0.3rem 0.6rem;border-radius:999px;background:hsl(var(--accent-brand) / 0.12);color:hsl(var(--accent-main-000));border:1px solid hsl(var(--accent-brand) / 0.25);white-space:nowrap;transform:translateY(1px)}#content-container .digest-feature-lede{font-size:1.0625rem;line-height:1.65;color:hsl(var(--text-100));margin:0 0 1.25rem;max-width:none}#content-container .digest-feature-lede code{font-size:0.875em;padding:0.1em 0.35em}#content-container .digest-feature-try{font-size:0.875rem;color:hsl(var(--text-400));margin:1.25rem 0 0.5rem}#content-container .digest-feature .frame{margin:1rem 0;border-radius:0;padding:0}#content-container .digest-feature .frame>*{border-radius:0}#content-container .digest-feature pre,#content-container .digest-feature [class*=\"CodeBlock\"]{border-radius:0}#content-container .digest-feature-link{display:inline-flex;align-items:center;gap:0.35rem;font-size:0.875rem;font-weight:500;color:hsl(var(--accent-main-100));text-decoration:none;border-bottom:none;margin-top:0.75rem}#content-container .digest-feature-link::after{content:\"→\";transition:transform 120ms ease-out}#content-container .digest-feature-link:hover::after{transform:translateX(3px)}.digest-wins{margin:2.5rem 0;padding:1.5rem 1.75rem 1.25rem;background:hsl(var(--bg-200));border:1px solid hsl(var(--border-300) / 0.1)}.dark .digest-wins{background:hsl(var(--bg-200) / 0.6)}#content-container .digest-wins-title{font-family:\"Site Serif Display\", Georgia, serif;font-size:1.25rem;font-weight:500;color:hsl(var(--text-000));margin:0 0 0.75rem}.digest-wins-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr));column-gap:2rem}#content-container .digest-wins-grid>div{position:relative;font-size:0.875rem;line-height:1.5;color:hsl(var(--text-300));padding:0.5rem 0 0.5rem 1.125rem;border-top:1px solid hsl(var(--border-300) / 0.06);margin:0}#content-container .digest-wins-grid>div::before{content:\"+\";position:absolute;left:0;top:0.5rem;font-family:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;font-size:0.8125rem;font-weight:600;color:hsl(var(--accent-brand))}#content-container .digest-wins-grid>div:first-child,#content-container .digest-wins-grid>div:nth-child(2){border-top:none;padding-top:0}#content-container .digest-wins-grid>div:first-child::before,#content-container .digest-wins-grid>div:nth-child(2)::before{top:0}#content-container .digest-wins-grid code{font-size:0.8125rem;padding:0.1em 0.3em}:root{--toc-wrapper-max: 92rem;--toc-wrapper-pad: 2rem;--toc-col: 19rem;--toc-side: 28rem;--toc-btn-size: 1.75rem}#toc-collapse-toggle{display:none;align-items:center;justify-content:center;position:fixed;top:10rem;right:calc(\n max((100% - var(--toc-wrapper-max)) / 2, 0px) + var(--toc-wrapper-pad) +\n var(--toc-col) - var(--toc-btn-size) - 0.35rem\n );transition:right 200ms ease-out;z-index:30;width:var(--toc-btn-size);height:var(--toc-btn-size);border-radius:9999px;border:1px solid hsl(var(--border-300) / 0.15);background:hsl(var(--bg-100));color:hsl(var(--text-400));cursor:pointer}#toc-collapse-toggle:hover{background:hsl(var(--bg-300));color:hsl(var(--text-100))}#toc-collapse-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}#toc-collapse-toggle .toc-glyph{display:none;stroke-width:2}@media print{#toc-collapse-toggle{display:none!important}}@media (prefers-reduced-motion: reduce){#toc-collapse-toggle{transition:none}}@media (min-width: 1280px){html:has(#table-of-contents-layout) #toc-collapse-toggle{display:flex}html.toc-collapsed #toc-collapse-toggle .toc-chevron{transform:rotate(180deg)}html.toc-collapsed #toc-collapse-toggle{right:0.5rem;width:auto;padding:0 0.5rem;gap:0.25rem}html.toc-collapsed #toc-collapse-toggle .toc-glyph{display:block}html.toc-collapsed #table-of-contents-layout{display:none!important}html.toc-collapsed #content-side-layout:has(#table-of-contents-layout){display:none!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area{width:100%!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area>*{max-width:calc(var(--toc-wrapper-max) - var(--toc-side))}}@media (max-width: 640px){.digest-feature{padding:1.25rem 1rem 1rem;margin:1.5rem 0}#content-container .digest-feature-title{font-size:1.375rem}.digest-wins{padding:1.25rem 1rem 1rem}.digest-wins-grid{grid-template-columns:1fr}#content-container .digest-wins-grid>div:nth-child(2){border-top:1px solid hsl(var(--border-300) / 0.06);padding-top:0.5rem}#content-container .digest-wins-grid>div:nth-child(2)::before{top:0.5rem}}img[data-component-part=\"card-image\"]{aspect-ratio:16 / 9;height:auto;object-fit:cover;object-position:top center}"},{"filePath":"button.css","content":".btn{position:relative;display:inline-flex;gap:0.5rem;align-items:center;justify-content:center;flex-shrink:0;min-width:5rem;height:2.25rem;padding:0.5rem 1rem;white-space:nowrap;font-family:Styrene;font-weight:600;border-radius:0.5rem;\u0026:active{transform:scale(0.985)}\u0026.size-xs{height:1.75rem;min-width:3.5rem;padding:0 0.5rem;border-radius:0.25rem;font-size:0.75rem;gap:0.25rem}\u0026.size-sm{height:2rem;min-width:4rem;padding:0 0.75rem;border-radius:0.375rem;font-size:0.75rem}\u0026.size-lg{height:2.75rem;min-width:6rem;padding:0 1.25rem;border-radius:0.6rem}\u0026:disabled{pointer-events:none;opacity:0.5;box-shadow:none}\u0026:focus-visible{outline:none;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow)}\u0026.primary{font-weight:600;color:hsl(var(--oncolor-100));background-color:hsl(var(--accent-main-100));background-image:linear-gradient(\n to right,\n hsl(var(--accent-main-100)) 0%,\n hsl(var(--accent-main-200) / 0.5) 50%,\n hsl(var(--accent-main-200)) 100%\n );background-size:200% 100%;background-position:0% 0%;border:0.5px solid hsl(var(--border-300) / 0.25);box-shadow:inset 0 0.5px 0px rgba(255, 255, 0, 0.15),\n 0 1px 1px rgba(0, 0, 0, 0.05);text-shadow:0 1px 2px rgb(0 0 0 / 10%);transition:all 150ms cubic-bezier(0.4, 0, 0.2, 1);\u0026:hover{background-position:100% 0%;background-image:linear-gradient(\n to right,\n hsl(var(--accent-main-200)) 0%,\n hsl(var(--accent-main-200)) 100%\n )}\u0026:active{background-color:hsl(var(--accent-main-000));box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.2);transform:scale(0.985)}}\u0026.flat{font-weight:500;color:hsl(var(--oncolor-100));background-color:hsl(var(--accent-main-100));transition:background-color 150ms;\u0026:hover{background-color:hsl(var(--accent-main-200))}}\u0026.secondary{font-weight:600;color:hsl(var(--text-100) / 0.9);background-image:radial-gradient(\n ellipse at center,\n hsl(var(--bg-500) / 0.1) 50%,\n hsl(var(--bg-500) / 0.3) 100%\n );border:0.5px solid hsl(var(--border-400));transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-000));background-color:hsl(var(--bg-500) / 0.6)}\u0026:active{background-color:hsl(var(--bg-500) / 0.5)}}\u0026.outline{font-weight:600;color:hsl(var(--text-200));background-color:transparent;border:1.5px solid currentColor;transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-100));background-color:hsl(var(--bg-400));border-color:hsl(var(--bg-400))}}\u0026.ghost{color:hsl(var(--text-200));border-color:transparent;transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-100));background-color:hsl(var(--bg-500) / 0.4)}\u0026:active{background-color:hsl(var(--bg-400))}}\u0026.underline{opacity:0.8;text-decoration-line:none;text-underline-offset:3px;transition:all 150ms;\u0026:hover{opacity:1;text-decoration-line:underline}\u0026:active{transform:scale(0.985)}}\u0026.danger{font-weight:600;color:hsl(var(--oncolor-100));background-color:hsl(var(--danger-100));transition:background-color 150ms;\u0026:hover{background-color:hsl(var(--danger-200))}}}"}]}
{"page":{"pagePath":"on-premises/user-guide/users/mcp-server","slug":"/on-premises/user-guide/users/mcp-server","pageMetadata":{"title":"MCP Server","description":"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.","icon":"plug","href":"/on-premises/user-guide/users/mcp-server"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Info,OptimizedImage,Step,Steps,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Each project has its own MCP server, so an AI client on your computer can read and edit the project, compile it and answer its comments. The client signs in with a Git authentication token.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`If you see no `,_jsx(_components.strong,{children:`MCP server`}),` card, see `,_jsx(_components.a,{href:`/on-premises/configuration/overleaf-toolkit/integrations/mcp-server`,children:`MCP Server`}),` for your administrator.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`new-in-v6-3-3`,children:`New in v6.3.3`}),`\n`,_jsxs(_components.p,{children:[`From v6.3.3, the client can also work with the project history: list the changes, compare two versions, read a file as it was, save and delete versions, and restore a file or the whole project. It can list the tracked changes and accept or reject them, and make its own edits tracked changes when you ask it to. It can comment on a piece of text and edit or delete comment messages, read and send messages in the project chat, move and rename files and folders, create folders, and change the spell check language. Who may do what follows your role in the project, as in the editor, because the client works with your token: see `,_jsx(_components.a,{href:`#who-may-do-what`,children:`Who may do what`}),`.`]}),`\n`,_jsx(_components.p,{children:`The MCP server was introduced in v6.3.1. v6.3.1 and v6.3.2 have the same 17 tools; v6.3.3 has 33.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tools`}),_jsx(_components.th,{children:`v6.3.1 and v6.3.2`}),_jsx(_components.th,{children:`v6.3.3`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`get_clone_info`}),`, `,_jsx(_components.code,{children:`get_settings`}),`, `,_jsx(_components.code,{children:`list_files`}),`, `,_jsx(_components.code,{children:`delete_file`}),`, `,_jsx(_components.code,{children:`compile`}),`, `,_jsx(_components.code,{children:`get_compile_log`}),`, `,_jsx(_components.code,{children:`get_output_file_link`}),`, `,_jsx(_components.code,{children:`word_count`}),`, `,_jsx(_components.code,{children:`reply_to_comment`}),`, `,_jsx(_components.code,{children:`resolve_comment`}),`, `,_jsx(_components.code,{children:`reopen_comment`})]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes, unchanged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`read_file`})}),_jsx(_components.td,{children:`The latest content`}),_jsxs(_components.td,{children:[`Also a file as it was at a `,_jsx(_components.code,{children:`version`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`edit_file`}),`, `,_jsx(_components.code,{children:`write_file`})]}),_jsx(_components.td,{children:`Follow the track changes setting of the project`}),_jsxs(_components.td,{children:[`Also `,_jsx(_components.code,{children:`trackChanges`}),`, to make the edit a tracked change`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`update_settings`})}),_jsx(_components.td,{children:`Compiler, TeX Live image and main document`}),_jsx(_components.td,{children:`Also the spell check language`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_versions`})}),_jsx(_components.td,{children:`Version, comment and date`}),_jsxs(_components.td,{children:[`Also the `,_jsx(_components.code,{children:`id`}),` that `,_jsx(_components.code,{children:`delete_version`}),` takes, and who saved it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_comments`})}),_jsx(_components.td,{children:`Messages without an id`}),_jsxs(_components.td,{children:[`Also the `,_jsx(_components.code,{children:`id`}),` of each message, which `,_jsx(_components.code,{children:`edit_comment_message`}),` and `,_jsx(_components.code,{children:`delete_comment_message`}),` take`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`list_changes`}),`, `,_jsx(_components.code,{children:`diff`}),`, `,_jsx(_components.code,{children:`create_version`}),`, `,_jsx(_components.code,{children:`delete_version`}),`, `,_jsx(_components.code,{children:`restore_file`}),`, `,_jsx(_components.code,{children:`restore_project`}),`, `,_jsx(_components.code,{children:`list_tracked_changes`}),`, `,_jsx(_components.code,{children:`accept_tracked_changes`}),`, `,_jsx(_components.code,{children:`reject_tracked_changes`}),`, `,_jsx(_components.code,{children:`add_comment`}),`, `,_jsx(_components.code,{children:`edit_comment_message`}),`, `,_jsx(_components.code,{children:`delete_comment_message`}),`, `,_jsx(_components.code,{children:`list_chat_messages`}),`, `,_jsx(_components.code,{children:`send_chat_message`}),`, `,_jsx(_components.code,{children:`move_file`}),`, `,_jsx(_components.code,{children:`create_folder`})]}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Yes`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-a-client`,children:`Connect a client`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the dialog`,children:[_jsxs(_components.p,{children:[`Open the project. In the left bar, click `,_jsx(_components.strong,{children:`Integrations`}),`, then `,_jsx(_components.strong,{children:`MCP server`}),`.`]}),_jsx(Frame,{caption:`The Integrations panel`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=c38ad3def0079dc27b1774c7e0487482`,alt:`The Integrations panel with the MCP server card`,\"data-og-width\":`250`,width:`250`,\"data-og-height\":`165`,height:`165`,\"data-path\":`images/on-premises/mcp-server-integrations.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=57609aad48f23c63003b332e8ac728a2 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=73ef5ca407ad4d2a1a1d8a0a92ae134e 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=c0a90469b3fcb242db0e602ab5832cfe 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=ef4ec6772bcf9e00f03589195fea4c82 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=bf8b3c5aa95e64f27984fcb498d57abc 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-integrations.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=4e7a6dd7709cb6cc8d0aac3281426209 2500w`})}),_jsxs(_components.p,{children:[`The dialog shows the address of this project’s server and a tab for each client: `,_jsx(_components.strong,{children:`Claude Code`}),`, `,_jsx(_components.strong,{children:`Codex`}),`, `,_jsx(_components.strong,{children:`Cursor`}),`, `,_jsx(_components.strong,{children:`VS Code`}),` and `,_jsx(_components.strong,{children:`Gemini CLI`}),`.`]}),_jsx(Frame,{caption:`The MCP server dialog`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=e8554732779d9c6c7fb0cf0240364ce5`,alt:`The MCP server dialog with the address, a tab for each client and the command for Claude Code`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`492`,height:`492`,\"data-path\":`images/on-premises/mcp-server-dialog.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=064dee0abf784f0e03c0999fa8802203 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=82ccaf4cb869b7a3c45d482617738c9b 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=c146d1d29164484abbbbdd606df02649 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=a3a1e94ffe1569ceaa044b3c38225f85 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=8ee5b274087e32ff85c87636249136da 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-dialog.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=7449f24d3675d37ec32755339d30ba6d 2500w`})})]}),_jsxs(Step,{title:`Create a token`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Go to settings`}),`. Your account settings open in a new tab. Under `,_jsx(_components.strong,{children:`Git integration`}),`, click `,_jsx(_components.strong,{children:`Generate token`}),`, or `,_jsx(_components.strong,{children:`Add another token`}),` if you already have one. Click `,_jsx(_components.strong,{children:`Copy`}),` and keep the token somewhere safe, because you only see it once. Then click `,_jsx(_components.strong,{children:`Close`}),`.`]}),_jsx(Frame,{caption:`Your new token`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=f4661b468dd1d409ef19967216955ae4`,alt:`The Git authentication token dialog with a Copy button`,\"data-og-width\":`640`,width:`640`,\"data-og-height\":`390`,height:`390`,\"data-path\":`images/on-premises/mcp-server-token.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=baa60c93a2fa3ee051bb670705c26423 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=782484d78c48cc16d3e933bca137a651 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=35c83c7e9c92ba8a6cc441b32ffb8f63 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=022a6eb66aacba58eebbb9a3249f0022 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=c4d4d3707e93ccccf875a17ae7fb59a8 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-token.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=428526676e8fcfd37b641948a95b7a6b 2500w`})}),_jsxs(_components.p,{children:[`A token you already use for `,_jsx(_components.a,{href:`/on-premises/user-guide/users/git-integration`,children:`Git integration`}),` works too, and so does one token for all your projects.`]})]}),_jsxs(Step,{title:`Add the server to your client`,children:[_jsxs(_components.p,{children:[`Back in the dialog, click the tab of your client and click `,_jsx(_components.strong,{children:`Copy`}),` next to the configuration.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tab`}),_jsx(_components.th,{children:`Where it goes`}),_jsx(_components.th,{children:`The token`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Claude Code`})}),_jsx(_components.td,{children:`Run the command in a terminal`}),_jsxs(_components.td,{children:[`Replace `,_jsx(_components.code,{children:`\u003ctoken>`}),` in the command`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Codex`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.codex/config.toml`})}),_jsxs(_components.td,{children:[`Put it in the environment variable `,_jsx(_components.code,{children:`OVERLEAF_TOKEN`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Cursor`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.cursor/mcp.json`})}),_jsxs(_components.td,{children:[`Put it in the environment variable `,_jsx(_components.code,{children:`OVERLEAF_TOKEN`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`VS Code`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.vscode/mcp.json`})}),_jsxs(_components.td,{children:[`The file has a password prompt called `,_jsx(_components.code,{children:`overleaf-token`}),` instead of the token`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Gemini CLI`})}),_jsx(_components.td,{children:`Run the command in a terminal`}),_jsxs(_components.td,{children:[`Replace `,_jsx(_components.code,{children:`\u003ctoken>`}),` in the command`]})]})]})]}),_jsxs(_components.p,{children:[`The address belongs to one project. To connect another project, add it under another name, because `,_jsx(_components.code,{children:`overleaf`}),` is taken. For Claude Code, for example, change `,_jsx(_components.code,{children:`overleaf`}),` in the command to `,_jsx(_components.code,{children:`overleaf-lab`}),`.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`check-the-connection`,children:`Check the connection`}),`\n`,_jsx(Heading,{level:`3`,id:`with-claude-code`,children:`With Claude Code`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The server is listed as connected:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`overleaf: https://\u003cyour-site>/project/\u003cproject-id>/mcp (HTTP) - ✔ Connected`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`with-curl`,children:`With curl`}),`\n`,_jsxs(_components.p,{children:[`This works whatever your client is. Replace the address and the token, and send the `,_jsx(_components.code,{children:`initialize`}),` request of the MCP protocol:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your-sit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/project/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`project-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/mcp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json, text/event-stream\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The answer names the server, followed by its instructions for clients:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"protocolVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-06-18\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"capabilities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"listChanged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}},`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"serverInfo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"overleaf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This server works on one Overleaf project. ...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To see the tools, send `,_jsx(_components.code,{children:`tools/list`}),` with the same command. The answer lists 33 tools, or 31 if your site has the project chat turned off. Before v6.3.3 it lists 17.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\",\"params\":{}}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To call one, send `,_jsx(_components.code,{children:`tools/call`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"tools/call\",\"params\":{\"name\":\"list_files\",\"arguments\":{}}}'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`main.tex`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`doc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`]\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]},`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`in-your-account-settings`,children:`In your account settings`}),`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Git integration`}),`, `,_jsx(_components.strong,{children:`Last used`}),` shows the date for a token the server has received.`]}),`\n`,_jsx(Frame,{caption:`The first token has been used`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=2abe32cb469d17b8b8c5eb18f1c0c2d3`,alt:`The token list, with a date under Last used for the first token and N/A for the second`,\"data-og-width\":`920`,width:`920`,\"data-og-height\":`115`,height:`115`,\"data-path\":`images/on-premises/mcp-server-last-used.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=9eacdbf30ba6aa146a76861636314f20 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=24d9a254315ca6a12c08ba3375ee4406 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=93575e71d623afdd5d83bed39a9d06ec 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=4a788aec5fe34d574b66d3dcf909e407 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=490c8701e79a5b4fa269a155661fd058 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-last-used.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=2ccb17be70e4b4c258d205864cb6d335 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`if-it-does-not-connect`,children:`If it does not connect`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`What you see`}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Status `,_jsx(_components.code,{children:`401`}),`, or in Claude Code `,_jsx(_components.code,{children:`✘ Failed to connect`}),` with `,_jsx(_components.code,{children:`HTTP 401`})]}),_jsx(_components.td,{children:`The token is missing, wrong or deleted`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Status `,_jsx(_components.code,{children:`404`})]}),_jsx(_components.td,{children:`No project has this ID`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Status `,_jsx(_components.code,{children:`405`})]}),_jsxs(_components.td,{children:[`The request was not a `,_jsx(_components.code,{children:`POST`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Status `,_jsx(_components.code,{children:`406`}),` with `,_jsx(_components.code,{children:`Not Acceptable`})]}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Accept`}),` header is missing: the client must accept both `,_jsx(_components.code,{children:`application/json`}),` and `,_jsx(_components.code,{children:`text/event-stream`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-see-when-a-client-works`,children:`What you see when a client works`}),`\n`,_jsx(_components.p,{children:`Edits appear in an open editor as the client makes them, like a collaborator’s, without reloading. New files and folders, moves and renames appear in the file tree.`}),`\n`,_jsx(Frame,{caption:`A line added by edit_file`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=51163f1de5bec88d50bd96089bd1a9a2`,alt:`The editor showing a line that edit_file added, with no dialog and no reload`,\"data-og-width\":`1184`,width:`1184`,\"data-og-height\":`380`,height:`380`,\"data-path\":`images/on-premises/mcp-server-live-edit.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=b725905f1013d7c566b078f098e8206e 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=d25f343d829e1f93874d02acf758a97a 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=969783f75cf219bbd3a5bcb45d2487db 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=2171e63ec816a97d180a396fea9ec405 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=74dc1ea3445464e710db68011d5a79ef 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-live-edit.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=23c19632f326bbe9c48ac2122babecb7 2500w`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`edit_file`}),` only changes text that appears exactly once. Otherwise the client gets an error, such as `,_jsx(_components.code,{children:`oldString not found in main.tex, read_file again`}),` or `,_jsx(_components.code,{children:`oldString appears 2 times in main.tex, add context`}),`, and nothing changes.`]}),`\n`,_jsxs(_components.p,{children:[`From v6.3.3, `,_jsx(_components.code,{children:`move_file`}),` moves or renames a file or folder, creating the folders of the new path as needed, and `,_jsx(_components.code,{children:`create_folder`}),` creates a folder. If the file is not found or the new path exists already, the client gets an error and nothing changes. `,_jsx(_components.code,{children:`update_settings`}),` can also change the spell check language, for example to `,_jsx(_components.code,{children:`de`}),`, or turn spell check off.`]}),`\n`,_jsx(_components.p,{children:`Replies to comments appear in the review panel under your name, because the token is yours. A comment resolved through the server leaves the panel, and reopening it brings it back.`}),`\n`,_jsx(Frame,{caption:`A reply sent by reply_to_comment`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=7b5cd74110b014b389bae7209b1330f0`,alt:`A comment in the review panel with a reply sent by reply_to_comment`,\"data-og-width\":`740`,width:`740`,\"data-og-height\":`520`,height:`520`,\"data-path\":`images/on-premises/mcp-server-comment.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=280\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=fd53a00e226c1699d5d6f5a12d88320a 280w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=560\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=ebf4aee9fb28bb209b408efca66a3cde 560w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=840\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=c3db96185d6fddc2e9ebc3834224ca0e 840w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=ea1740200798bdd516af698fe36f1a56 1100w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=0da62795e817c07907fe47c33318c0d9 1650w, https://mintcdn.com/ayakaleaf-pro/IsGnx0wnzqtV4hI8/images/on-premises/mcp-server-comment.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IsGnx0wnzqtV4hI8\u0026q=85\u0026s=1337d3c65a693ebb00e4639f3f53e4a4 2500w`})}),`\n`,_jsxs(_components.p,{children:[`From v6.3.3, `,_jsx(_components.code,{children:`add_comment`}),` comments on a piece of text. The text must appear exactly once in the file; when it appears more than once, the client also gives a longer piece around it that appears once, and only the text is commented. The comment appears in the review panel under your name and stays on its text as the file changes. `,_jsx(_components.code,{children:`edit_comment_message`}),` changes one of your own messages. `,_jsx(_components.code,{children:`delete_comment_message`}),` deletes a message, and deleting the first one deletes the whole comment, as in the review panel.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`compile`}),` compiles the project and returns the list of output files. `,_jsx(_components.code,{children:`get_output_file_link`}),` then gives a link to download the PDF or another output file. The link needs no token and stops working after 5 minutes.`]}),`\n`,_jsxs(_components.p,{children:[`For the full list of tools, see `,_jsx(_components.a,{href:`/on-premises/configuration/overleaf-toolkit/integrations/mcp-server#tools`,children:`Tools`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`tracked-changes`,children:`Tracked changes`}),`\n`,_jsxs(_components.p,{children:[`From v6.3.3, you can ask the client to make its edits tracked changes, for example `,_jsx(_components.em,{children:`Rewrite the abstract as a tracked change`}),`. `,_jsx(_components.code,{children:`edit_file`}),` and `,_jsx(_components.code,{children:`write_file`}),` then make the change to an existing file a tracked change under your name, even when track changes is off in the project, and you accept or reject it in the review panel. A new file is never a tracked change. If you do not ask, edits follow the track changes setting of the project, as yours do in the editor: they are tracked when track changes is on for you or for everyone.`]}),`\n`,_jsxs(_components.p,{children:[`If the project owner’s account does not have track changes, the client gets `,_jsx(_components.code,{children:`Track changes is off for this project`}),` and nothing changes.`]}),`\n`,_jsx(_components.p,{children:`To have every edit of the client reviewed, turn track changes on for yourself. To tell its edits from yours in the review panel, give the client the token of another account that you share the project with.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`list_tracked_changes`}),` lists the tracked changes with their file, the inserted or deleted text, the author and the time. `,_jsx(_components.code,{children:`accept_tracked_changes`}),` and `,_jsx(_components.code,{children:`reject_tracked_changes`}),` take the ids of the changes and work like the review panel: an accepted change stays in the text, a rejected insert is removed and a rejected delete comes back. An open editor shows the result without reloading. The tools tell the client to accept or reject only the changes you ask for.`]}),`\n`,_jsx(Heading,{level:`2`,id:`history`,children:`History`}),`\n`,_jsx(_components.p,{children:`From v6.3.3, the client sees the project history as the history panel shows it.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_changes`})}),_jsx(_components.td,{children:`Lists the changes, newest first: who changed which files and when, with the versions before and after each change. Older changes come in further batches.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`diff`})}),_jsxs(_components.td,{children:[`Compares two versions: one file as a unified diff, like `,_jsx(_components.code,{children:`git diff`}),`, or the files that were added, removed, edited or renamed`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`read_file`}),` with `,_jsx(_components.code,{children:`version`})]}),_jsx(_components.td,{children:`Reads a file as it was at a version`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_versions`})}),_jsx(_components.td,{children:`Lists the saved versions, with their comment and who saved them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`create_version`})}),_jsxs(_components.td,{children:[`Saves the latest version, or an earlier one, with a comment, like `,_jsx(_components.strong,{children:`Label this version`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delete_version`})}),_jsx(_components.td,{children:`Deletes a saved version; its changes stay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`restore_file`})}),_jsxs(_components.td,{children:[`Restores a file as it was at a version, like `,_jsx(_components.strong,{children:`Restore this version`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`restore_project`})}),_jsxs(_components.td,{children:[`Restores the whole project as it was at a version, like `,_jsx(_components.strong,{children:`Restore project to this version`})]})]})]})]}),`\n`,_jsx(_components.p,{children:`A restore is a new change of its own, so you can undo it the same way. The tools tell the client to restore only when you ask.`}),`\n`,_jsx(_components.p,{children:`If the project owner does not have full project history, the client sees only the changes of the last 24 hours, or the latest change if all are older, as in the history panel. It cannot compare, read or restore older versions.`}),`\n`,_jsx(Heading,{level:`2`,id:`project-chat`,children:`Project chat`}),`\n`,_jsxs(_components.p,{children:[`From v6.3.3, `,_jsx(_components.code,{children:`list_chat_messages`}),` reads the project chat, newest first, 50 messages at a time. `,_jsx(_components.code,{children:`send_chat_message`}),` sends a message under your name, and it appears in an open chat at once. If your site has the project chat turned off, the client has neither tool.`]}),`\n`,_jsx(Heading,{level:`2`,id:`who-may-do-what`,children:`Who may do what`}),`\n`,_jsx(_components.p,{children:`The client may do what your role in the project allows.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`What the client does`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Owner`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Editor`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Reviewer`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Viewer (named collaborator)`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Viewer (link sharing)`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read files and settings, compile, read the log, download the PDF`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Write, edit, move and delete files, create folders, change the settings`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`See the history, comments and tracked changes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read and send chat messages`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Add comments and reply to them`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resolve, reopen or delete a comment`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`The ones they started`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Edit a comment message`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Their own`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Their own`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Their own`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Delete a comment message`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Their own`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Accept or reject tracked changes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Save a version`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Delete a saved version`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`The ones they saved`}),_jsx(_components.td,{style:{textAlign:`right`},children:`The ones they saved`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Restore a file or the project`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`}),_jsx(_components.td,{style:{textAlign:`right`},children:`No`})]})]})]}),`\n`,_jsx(_components.p,{children:`Editors who joined by link count as editors. Reviewers cannot edit files through MCP, not even as tracked changes.`}),`\n`,_jsx(Heading,{level:`2`,id:`disconnect-a-client`,children:`Disconnect a client`}),`\n`,_jsxs(_components.p,{children:[`Delete the token: see `,_jsx(_components.a,{href:`/on-premises/user-guide/users/git-integration#delete-a-token`,children:`Delete a token`}),`. From then on, the server answers `,_jsx(_components.code,{children:`401`}),` to that token. If you also use it for Git, Git stops accepting it too.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"MCP Server","description":"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.","icon":"plug","href":"/on-premises/user-guide/users/mcp-server"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"New in v6.3.3","slug":"new-in-v6-3-3","depth":2,"children":[]},{"title":"Connect a client","slug":"connect-a-client","depth":2,"children":[]},{"title":"Check the connection","slug":"check-the-connection","depth":2,"children":[{"title":"With Claude Code","slug":"with-claude-code","depth":3,"children":[]},{"title":"With curl","slug":"with-curl","depth":3,"children":[]},{"title":"In your account settings","slug":"in-your-account-settings","depth":3,"children":[]},{"title":"If it does not connect","slug":"if-it-does-not-connect","depth":3,"children":[]}]},{"title":"What you see when a client works","slug":"what-you-see-when-a-client-works","depth":2,"children":[]},{"title":"Tracked changes","slug":"tracked-changes","depth":2,"children":[]},{"title":"History","slug":"history","depth":2,"children":[]},{"title":"Project chat","slug":"project-chat","depth":2,"children":[]},{"title":"Who may do what","slug":"who-may-do-what","depth":2,"children":[]},{"title":"Disconnect a client","slug":"disconnect-a-client","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ayakaleaf-pro","siteName":"Ayakaleaf Pro","title":"MCP Server - Ayakaleaf Pro","contextualStarterQuestions":[{"_id":"6af80d25b228cd6fe2d8249b","deploymentId":"6ab947b94ecd4e13d0332f05","questionText":"What can the MCP client do?","status":"active","generatedBy":"contextual","path":"on-premises/user-guide/users/mcp-server","createdAt":"2026-11-14T07:26:29.999Z","updatedAt":"2026-11-14T07:26:29.999Z","__v":0},{"_id":"6af80d25b228cd6fe2d8249c","deploymentId":"6ab947b94ecd4e13d0332f05","questionText":"How do permissions work with MCP?","status":"active","generatedBy":"contextual","path":"on-premises/user-guide/users/mcp-server","createdAt":"2026-11-14T07:26:29.999Z","updatedAt":"2026-11-14T07:26:29.999Z","__v":0},{"_id":"6af80d25b228cd6fe2d8249a","deploymentId":"6ab947b94ecd4e13d0332f05","questionText":"How do I connect Claude to my project?","status":"active","generatedBy":"contextual","path":"on-premises/user-guide/users/mcp-server","createdAt":"2026-11-14T07:26:29.999Z","updatedAt":"2026-11-14T07:26:29.999Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/on-premises/user-guide/users/mcp-server","matchLevel":0},"zh-CN":{"href":"/zh-CN","matchLevel":4},"zh-TW":{"href":"/zh-TW","matchLevel":4},"ja":{"href":"/ja","matchLevel":4},"de":{"href":"/de","matchLevel":4},"fr":{"href":"/fr","matchLevel":4},"es":{"href":"/es","matchLevel":4},"it":{"href":"/it","matchLevel":4},"ko":{"href":"/ko","matchLevel":4},"ru":{"href":"/ru","matchLevel":4},"nl":{"href":"/nl","matchLevel":4},"pt":{"href":"/pt","matchLevel":4},"tr":{"href":"/tr","matchLevel":4},"uk":{"href":"/uk","matchLevel":4},"pl":{"href":"/pl","matchLevel":4},"cs":{"href":"/cs","matchLevel":4},"sv":{"href":"/sv","matchLevel":4},"fi":{"href":"/fi","matchLevel":4},"ar":{"href":"/ar","matchLevel":4},"vi":{"href":"/vi","matchLevel":4},"no":{"href":"/no","matchLevel":4},"da":{"href":"/da","matchLevel":4},"id":{"href":"/id","matchLevel":4},"zh-Hans":{"href":"/zh-Hans","matchLevel":4},"zh-Hant":{"href":"/zh-Hant","matchLevel":4}}},"lastModified":"2026-11-14T07:26:20.302Z","gitLastModified":"2026-11-14T07:25:50.000Z","originalFileLocation":"on-premises/user-guide/users/mcp-server.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP Server - Ayakaleaf Pro\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayakaleaf-pro.mintlify.site/_mintlify/api/og/v2?division=For+users\u0026amp;title=MCP+Server\u0026amp;description=Connect+an+AI+client+such+as+Claude+Code+to+a+project+through+MCP%2C+check+that+the+connection+works%2C+and+see+what+the+client+can+do.\u0026amp;theme=a85f2ba202ff92d99974cf6c\u0026amp;signature=1eae6559097df98e7c4cf55a4915d1443a54e327025ee59e3ee7400b51c7389d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"MCP Server - Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayakaleaf-pro.mintlify.site/_mintlify/api/og/v2?division=For+users\u0026amp;title=MCP+Server\u0026amp;description=Connect+an+AI+client+such+as+Claude+Code+to+a+project+through+MCP%2C+check+that+the+connection+works%2C+and+see+what+the+client+can+do.\u0026amp;theme=a85f2ba202ff92d99974cf6c\u0026amp;signature=1eae6559097df98e7c4cf55a4915d1443a54e327025ee59e3ee7400b51c7389d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/on-premises/user-guide/users/mcp-server.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\",\"name\":\"Ayakaleaf Pro\",\"url\":\"https://ayakaleaf-pro.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/light.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=7f1abd8dcc74dd3b7cdafac9e6e82092\"}},{\"@type\":\"WebSite\",\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\",\"name\":\"Ayakaleaf Pro\",\"url\":\"https://ayakaleaf-pro.mintlify.app\",\"publisher\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server#webpage\",\"url\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server\",\"name\":\"MCP Server\",\"description\":\"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\",\"dateModified\":\"2026-11-14T07:25:50.000Z\",\"isPartOf\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User guide\",\"item\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/administrators/onboarding\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"For users\",\"item\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MCP Server\",\"item\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server#article\",\"headline\":\"MCP Server\",\"name\":\"MCP Server\",\"description\":\"Connect an AI client such as Claude Code to a project through MCP, check that the connection works, and see what the client can do.\",\"url\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server\",\"mainEntityOfPage\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/on-premises/user-guide/users/mcp-server#webpage\"},\"dateModified\":\"2026-11-14T07:25:50.000Z\",\"publisher\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayakaleaf Pro\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ayakaleaf Pro\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/on-premises/user-guide/users/mcp-server.md","siteName":"Ayakaleaf Pro","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Home","icon":"house-chimney","pages":[{"title":"Home","href":""}]},{"tab":"On-Premises","icon":"server","groups":[{"group":"Overview","pages":[{"group":"Welcome","icon":"hand-wave","root":{"title":"Welcome","icon":"hand-wave","href":"/on-premises"},"pages":[{"title":"Features and Copyright","icon":"layer-plus","href":"/on-premises/readme/features-and-copyright"},{"title":"Trust and Security","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/expeditedssl.svg","href":"/on-premises/readme/trust-and-security"},{"title":"Overleaf Server Pro vs. Ayakaleaf Pro","icon":"scale-balanced","href":"/on-premises/readme/ayakaleaf-pro-vs-server-pro"},{"title":"Question and Answer","icon":"comment-question","href":"/on-premises/readme/question-and-answer"}]},{"group":"Release notes","icon":"code-branch","root":{"title":"Release notes","icon":"code-branch","href":"/on-premises/release-notes/index"},"pages":[{"title":"Release notes 6.x.x","href":"/on-premises/release-notes/release-notes-6.x.x"}]}]},{"group":"Installation","pages":[{"title":"Introduction","icon":"map-location","href":"/on-premises/installation/introduction"},{"group":"Using Docker Compose","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","root":{"title":"Using Docker Compose","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/on-premises/installation/using-docker-compose/index"},"pages":[{"group":"Linux","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linux.svg","root":{"title":"Linux","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linux.svg","href":"/on-premises/installation/using-docker-compose/linux/index"},"pages":[{"title":"0. Setup Docker","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/on-premises/installation/using-docker-compose/linux/0.-setup-docker"},{"title":"1. Download the Toolkit","icon":"arrow-down-to-bracket","href":"/on-premises/installation/using-docker-compose/linux/1.-download-the-toolkit"},{"title":"2. Familiarize yourself with the Toolkit","icon":"magnifying-glass","href":"/on-premises/installation/using-docker-compose/linux/2.-familiarize-yourself-with-the-toolkit"},{"title":"3. Initialize the configuration","icon":"circle-play","href":"/on-premises/installation/using-docker-compose/linux/3.-initialize-the-configuration"},{"title":"4. Get Ayakaleaf Pro Images","icon":"split","href":"/on-premises/installation/using-docker-compose/linux/4.-get-overleaf-pro-images"},{"title":"5. Personalizing your instance","icon":"square-sliders","href":"/on-premises/installation/using-docker-compose/linux/5.-personalizing-your-instance"},{"title":"6. Post-installation tasks","icon":"ballot-check","href":"/on-premises/installation/using-docker-compose/linux/6.-post-installation-tasks"}]},{"group":"macOS","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/apple.svg","root":{"title":"macOS","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/apple.svg","href":"/on-premises/installation/using-docker-compose/macos/index"},"pages":[{"title":"0. Setup Docker Desktop","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/on-premises/installation/using-docker-compose/macos/0.-setup-docker-desktop"},{"title":"1. Download the Toolkit","icon":"arrow-down-to-bracket","href":"/on-premises/installation/using-docker-compose/macos/1.-download-the-toolkit"},{"title":"2. Familiarize yourself with the Toolkit","icon":"magnifying-glass","href":"/on-premises/installation/using-docker-compose/macos/2.-familiarize-yourself-with-the-toolkit"},{"title":"3. Initialize the configuration","icon":"circle-play","href":"/on-premises/installation/using-docker-compose/macos/3.-initialize-the-configuration"},{"title":"4. Get Ayakaleaf Pro Images","icon":"split","href":"/on-premises/installation/using-docker-compose/macos/4.-get-ayakaleaf-pro-images"},{"title":"5. Personalizing your instance","icon":"square-sliders","href":"/on-premises/installation/using-docker-compose/macos/5.-personalizing-your-instance"},{"title":"6. Post-installation tasks","icon":"ballot-check","href":"/on-premises/installation/using-docker-compose/macos/6.-post-installation-tasks"},{"title":"Troubleshooting","icon":"screwdriver-wrench","href":"/on-premises/installation/using-docker-compose/macos/troubleshooting"}]},{"group":"Windows","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/windows.svg","root":{"title":"Windows","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/windows.svg","href":"/on-premises/installation/using-docker-compose/windows/index"},"pages":[{"title":"0. Setup WSL 2 and Docker Desktop","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/on-premises/installation/using-docker-compose/windows/0.-setup-wsl-and-docker-desktop"},{"title":"1. Download the Toolkit","icon":"arrow-down-to-bracket","href":"/on-premises/installation/using-docker-compose/windows/1.-download-the-toolkit"},{"title":"2. Familiarize yourself with the Toolkit","icon":"magnifying-glass","href":"/on-premises/installation/using-docker-compose/windows/2.-familiarize-yourself-with-the-toolkit"},{"title":"3. Initialize the configuration","icon":"circle-play","href":"/on-premises/installation/using-docker-compose/windows/3.-initialize-the-configuration"},{"title":"4. Get Ayakaleaf Pro Images","icon":"split","href":"/on-premises/installation/using-docker-compose/windows/4.-get-ayakaleaf-pro-images"},{"title":"5. Personalizing your instance","icon":"square-sliders","href":"/on-premises/installation/using-docker-compose/windows/5.-personalizing-your-instance"},{"title":"6. Post-installation tasks","icon":"ballot-check","href":"/on-premises/installation/using-docker-compose/windows/6.-post-installation-tasks"},{"title":"Troubleshooting","icon":"wrench","href":"/on-premises/installation/using-docker-compose/windows/troubleshooting"}]}]},{"group":"Using Kubernetes","icon":"dharmachakra","root":{"title":"Using Kubernetes","icon":"dharmachakra","href":"/on-premises/installation/using-kubernetes/index"},"pages":[{"title":"0. Prepare the nodes","icon":"server","href":"/on-premises/installation/using-kubernetes/0.-prepare-the-nodes"},{"title":"1. Get Ayakaleaf Pro Images","icon":"split","href":"/on-premises/installation/using-kubernetes/1.-get-ayakaleaf-pro-images"},{"title":"2. Create the namespace and secrets","icon":"key","href":"/on-premises/installation/using-kubernetes/2.-create-the-namespace-and-secrets"},{"title":"3. Deploy MongoDB and Redis","icon":"database","href":"/on-premises/installation/using-kubernetes/3.-deploy-mongodb-and-redis"},{"title":"4. Personalizing your instance","icon":"square-sliders","href":"/on-premises/installation/using-kubernetes/4.-personalizing-your-instance"},{"title":"5. Deploy Ayakaleaf Pro","icon":"rocket-launch","href":"/on-premises/installation/using-kubernetes/5.-deploy-ayakaleaf-pro"},{"title":"6. Post-installation tasks","icon":"ballot-check","href":"/on-premises/installation/using-kubernetes/6.-post-installation-tasks"}]},{"title":"Using Claude or Codex","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/claude.svg","href":"/on-premises/installation/using-claude-or-codex"},{"title":"Using GitHub Codespace","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg","href":"/on-premises/installation/using-the-github-codespace"},{"title":"Air-gapped/offline deployments","icon":"block-brick","href":"/on-premises/installation/air-gapped-offline-deployments"},{"title":"Migrate from Existing","icon":"u-turn-up-right","href":"/on-premises/installation/migrate-from-existing"}]},{"group":"Configuration","pages":[{"group":"Docker Compose","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","root":{"title":"Docker Compose","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/on-premises/configuration/overleaf-toolkit/index"},"pages":[{"title":"Files and locations","icon":"folder-open","href":"/on-premises/configuration/overleaf-toolkit/files-and-locations"},{"title":"Toolkit settings","icon":"gear-complex","href":"/on-premises/configuration/overleaf-toolkit/toolkit-settings"},{"title":"Environment variables","icon":"seedling","href":"/on-premises/configuration/overleaf-toolkit/environment-variables"},{"group":"Authentication","icon":"address-card","root":{"title":"Authentication","icon":"address-card","href":"/on-premises/configuration/overleaf-toolkit/authentication/index"},"pages":[{"title":"OIDC Authentication","icon":"id-card-clip","href":"/on-premises/configuration/overleaf-toolkit/authentication/oidc-authentication"},{"title":"SAML Authentication","icon":"key","href":"/on-premises/configuration/overleaf-toolkit/authentication/saml-authentication"},{"title":"LDAP Authentication","icon":"lock","href":"/on-premises/configuration/overleaf-toolkit/authentication/ldap-authentication"},{"title":"Public Access","icon":"lock-open","href":"/on-premises/configuration/overleaf-toolkit/authentication/public-access"},{"title":"reCAPTCHA","icon":"robot","href":"/on-premises/configuration/overleaf-toolkit/authentication/recaptcha"},{"title":"Password restrictions","icon":"key","href":"/on-premises/configuration/overleaf-toolkit/authentication/password-restrictions"}]},{"title":"Sandboxed Compiles","icon":"gear-code","href":"/on-premises/configuration/overleaf-toolkit/sandboxed-compiles"},{"title":"Pandoc Import and Export","icon":"file-lines","href":"/on-premises/configuration/overleaf-toolkit/pandoc-import-and-export"},{"group":"Integrations","icon":"puzzle-piece","root":{"title":"Integrations","icon":"puzzle-piece","href":"/on-premises/configuration/overleaf-toolkit/integrations/index"},"pages":[{"title":"Git integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/git-alt.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/git-integration"},{"title":"GitHub Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/github-synchronisation"},{"title":"GitLab Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/gitlab.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/gitlab-synchronisation"},{"title":"Gitea Synchronisation","icon":"mug-hot","href":"/on-premises/configuration/overleaf-toolkit/integrations/gitea-synchronisation"},{"title":"Dropbox Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/dropbox.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/dropbox-synchronisation"},{"title":"Zotero Integration","icon":"z","href":"/on-premises/configuration/overleaf-toolkit/integrations/zotero-integration"},{"title":"Mendeley Integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/mendeley.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/mendeley-integration"},{"title":"MCP Server","icon":"plug","href":"/on-premises/configuration/overleaf-toolkit/integrations/mcp-server"},{"title":"AI Integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/openai.svg","href":"/on-premises/configuration/overleaf-toolkit/integrations/ai-integration"},{"title":"Overleaf Import API","icon":"rectangle-api","href":"/on-premises/configuration/overleaf-toolkit/integrations/overleaf-import-api"}]},{"title":"Templates","icon":"paste","href":"/on-premises/configuration/overleaf-toolkit/templates"},{"title":"External URL","icon":"link","href":"/on-premises/configuration/overleaf-toolkit/external-url"},{"title":"Logging","icon":"memo-circle-info","href":"/on-premises/configuration/overleaf-toolkit/logging"},{"title":"TLS proxy","icon":"lock","href":"/on-premises/configuration/overleaf-toolkit/tls-proxy"},{"title":"Branding","icon":"copyright","href":"/on-premises/configuration/overleaf-toolkit/branding"},{"title":"Localization","icon":"globe-pointer","href":"/on-premises/configuration/overleaf-toolkit/localization"},{"title":"Email delivery","icon":"paper-plane-top","href":"/on-premises/configuration/overleaf-toolkit/email-delivery"},{"title":"Redis","icon":"memory","href":"/on-premises/configuration/overleaf-toolkit/redis"},{"title":"S3","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/aws.svg","href":"/on-premises/configuration/overleaf-toolkit/s3"},{"title":"Adding LaTeX user help","icon":"graduation-cap","href":"/on-premises/configuration/overleaf-toolkit/adding-latex-user-help"}]},{"group":"Kubernetes","icon":"dharmachakra","root":{"title":"Kubernetes","icon":"dharmachakra","href":"/on-premises/configuration/kubernetes/index"},"pages":[{"group":"Authentication","icon":"address-card","root":{"title":"Authentication","icon":"address-card","href":"/on-premises/configuration/kubernetes/authentication/index"},"pages":[{"title":"OIDC Authentication","icon":"id-card-clip","href":"/on-premises/configuration/kubernetes/authentication/oidc-authentication"},{"title":"SAML Authentication","icon":"building-columns","href":"/on-premises/configuration/kubernetes/authentication/saml-authentication"},{"title":"LDAP Authentication","icon":"address-book","href":"/on-premises/configuration/kubernetes/authentication/ldap-authentication"},{"title":"Public Access","icon":"lock-open","href":"/on-premises/configuration/kubernetes/authentication/public-access"},{"title":"reCAPTCHA","icon":"robot","href":"/on-premises/configuration/kubernetes/authentication/recaptcha"},{"title":"Password restrictions","icon":"key","href":"/on-premises/configuration/kubernetes/authentication/password-restrictions"}]},{"title":"Sandboxed Compiles","icon":"gear-code","href":"/on-premises/configuration/kubernetes/sandboxed-compiles"},{"title":"Pandoc Import and Export","icon":"file-lines","href":"/on-premises/configuration/kubernetes/pandoc-import-and-export"},{"group":"Integrations","icon":"puzzle-piece","root":{"title":"Integrations","icon":"puzzle-piece","href":"/on-premises/configuration/kubernetes/integrations/index"},"pages":[{"title":"Git integration","icon":"code-branch","href":"/on-premises/configuration/kubernetes/integrations/git-integration"},{"title":"GitHub Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg","href":"/on-premises/configuration/kubernetes/integrations/github-synchronisation"},{"title":"GitLab Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/gitlab.svg","href":"/on-premises/configuration/kubernetes/integrations/gitlab-synchronisation"},{"title":"Gitea Synchronisation","icon":"mug-hot","href":"/on-premises/configuration/kubernetes/integrations/gitea-synchronisation"},{"title":"Dropbox Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/dropbox.svg","href":"/on-premises/configuration/kubernetes/integrations/dropbox-synchronisation"},{"title":"Zotero Integration","icon":"z","href":"/on-premises/configuration/kubernetes/integrations/zotero-integration"},{"title":"Mendeley Integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/mendeley.svg","href":"/on-premises/configuration/kubernetes/integrations/mendeley-integration"},{"title":"MCP Server","icon":"plug","href":"/on-premises/configuration/kubernetes/integrations/mcp-server"},{"title":"AI Integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/openai.svg","href":"/on-premises/configuration/kubernetes/integrations/ai-integration"},{"title":"Overleaf Import API","icon":"rectangle-api","href":"/on-premises/configuration/kubernetes/integrations/overleaf-import-api"}]},{"title":"Templates","icon":"paste","href":"/on-premises/configuration/kubernetes/templates"},{"title":"External URL","icon":"link","href":"/on-premises/configuration/kubernetes/external-url"},{"title":"Logging","icon":"memo-circle-info","href":"/on-premises/configuration/kubernetes/logging"},{"title":"TLS proxy","icon":"lock","href":"/on-premises/configuration/kubernetes/tls-proxy"},{"title":"Branding","icon":"copyright","href":"/on-premises/configuration/kubernetes/branding"},{"title":"Localization","icon":"globe-pointer","href":"/on-premises/configuration/kubernetes/localization"},{"title":"Email delivery","icon":"paper-plane-top","href":"/on-premises/configuration/kubernetes/email-delivery"},{"title":"Redis","icon":"memory","href":"/on-premises/configuration/kubernetes/redis"},{"title":"S3","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/aws.svg","href":"/on-premises/configuration/kubernetes/s3"},{"title":"Adding LaTeX user help","icon":"graduation-cap","href":"/on-premises/configuration/kubernetes/adding-latex-user-help"},{"title":"Horizontal scaling","icon":"layer-group","href":"/on-premises/configuration/kubernetes/horizontal-scaling"}]}]},{"group":"User guide","pages":[{"group":"For administrators","icon":"user-gear","root":{"title":"For administrators","icon":"user-gear","href":"/on-premises/user-guide/administrators/index"},"pages":[{"title":"Onboarding","icon":"user-plus","href":"/on-premises/user-guide/administrators/onboarding"},{"title":"Basic management","icon":"sliders","href":"/on-premises/user-guide/administrators/basic-management"},{"title":"User management","icon":"users-gear","href":"/on-premises/user-guide/administrators/user-management"},{"title":"Project management","icon":"folder-gear","href":"/on-premises/user-guide/administrators/project-management"},{"title":"Template management","icon":"paste","href":"/on-premises/user-guide/administrators/template-management"}]},{"group":"For users","icon":"users","root":{"title":"For users","icon":"users","href":"/on-premises/user-guide/users/index"},"pages":[{"title":"Git integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/git-alt.svg","href":"/on-premises/user-guide/users/git-integration"},{"title":"GitHub Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg","href":"/on-premises/user-guide/users/github-synchronisation"},{"title":"GitLab Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/gitlab.svg","href":"/on-premises/user-guide/users/gitlab-synchronisation"},{"title":"Gitea Synchronisation","icon":"mug-hot","href":"/on-premises/user-guide/users/gitea-synchronisation"},{"title":"Dropbox Synchronisation","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/dropbox.svg","href":"/on-premises/user-guide/users/dropbox-synchronisation"},{"title":"Zotero Integration","icon":"z","href":"/on-premises/user-guide/users/zotero-integration"},{"title":"Mendeley Integration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/mendeley.svg","href":"/on-premises/user-guide/users/mendeley-integration"},{"title":"Templates","icon":"paste","href":"/on-premises/user-guide/users/templates"},{"title":"Symbol Palette","icon":"omega","href":"/on-premises/user-guide/users/symbol-palette"},{"title":"Advanced Reference Search","icon":"magnifying-glass","href":"/on-premises/user-guide/users/advanced-reference-search"},{"title":"AI Assistant","icon":"sparkles","href":"/on-premises/user-guide/users/ai-assistant"},{"title":"Error Assistant","description":"Get a suggested fix for a compile error from the logs, then apply it or leave it.","icon":"wand-magic-sparkles","href":"/on-premises/user-guide/users/error-assistant"},{"title":"MCP Server","icon":"plug","href":"/on-premises/user-guide/users/mcp-server"},{"title":"Python Runner","description":"Run a Python script in your project and save what it writes, such as figures for your document.","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/python.svg","href":"/on-premises/user-guide/users/python-runner"},{"title":"Word import and export","icon":"file-word","href":"/on-premises/user-guide/users/word-import-export"},{"title":"Open in Overleaf","icon":"arrow-up-right-from-square","href":"/on-premises/user-guide/users/open-in-overleaf"},{"title":"Multiple emails","icon":"envelope","href":"/on-premises/user-guide/users/multiple-emails"}]}]},{"group":"Maintenance","pages":[{"title":"docker-compose.yml to Toolkit migration","icon":"right-left","href":"/on-premises/maintenance/docker-compose.yml-to-toolkit-migration"},{"title":"Upgrading your deployment","icon":"arrow-up-from-square","href":"/on-premises/maintenance/upgrading-your-deployment"},{"title":"Upgrading on Kubernetes","icon":"arrow-up-from-square","href":"/on-premises/maintenance/upgrading-on-kubernetes"},{"group":"Data and backups","icon":"database","root":{"title":"Data and backups","icon":"database","href":"/on-premises/maintenance/data-and-backups/index"},"pages":[{"title":"Exporting projects","icon":"file-export","href":"/on-premises/maintenance/data-and-backups/exporting-projects"}]},{"title":"Extending TeX Live","icon":"rectangle-pro","href":"/on-premises/maintenance/extending-tex-live"},{"title":"Updating TeX Live Full Images Automatically","icon":"arrows-rotate","href":"/on-premises/maintenance/updating-tex-live-full-images-automatically"},{"title":"Horizontal scaling","icon":"distribute-spacing-horizontal","href":"/on-premises/maintenance/horizontal-scaling"},{"title":"Small server","icon":"memory","href":"/on-premises/maintenance/small-server"},{"title":"S3 migration","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/aws.svg","href":"/on-premises/maintenance/s3-migration"},{"title":"Updating MongoDB","icon":"database","href":"/on-premises/maintenance/updating-mongodb"}]},{"group":"User and project management","pages":[{"title":"Roles and permissions","icon":"list-check","href":"/on-premises/user-and-project-management/roles-and-permissions"},{"group":"User management","icon":"users-between-lines","root":{"title":"User management","icon":"users-between-lines","href":"/on-premises/user-and-project-management/user-management/index"},"pages":[{"title":"Username migration","icon":"lock","href":"/on-premises/user-and-project-management/user-management/username-migration"},{"title":"Migrating to LDAP or SAML","icon":"rectangle-pro","href":"/on-premises/user-and-project-management/user-management/migrating-to-ldap-or-saml"}]},{"group":"Project management","icon":"rectangle-history","root":{"title":"Project management","icon":"rectangle-history","href":"/on-premises/user-and-project-management/project-management/index"},"pages":[{"title":"Bulk transfer of project ownership","icon":"lock","href":"/on-premises/user-and-project-management/project-management/bulk-transfer-of-project-ownership"}]}]},{"group":"Support","pages":[{"title":"Project limits","icon":"list-check","href":"/on-premises/support/project-limits"},{"title":"Troubleshooting","icon":"comments-question-check","href":"/on-premises/support/troubleshooting"},{"title":"Getting help","icon":"truck-medical","href":"/on-premises/support/getting-help"},{"group":"Support guides","icon":"message-question","root":{"title":"Support guides","icon":"message-question","href":"/on-premises/support/support-guides/index"},"pages":[{"title":"Using templates as an individual","icon":"rectangle-vertical-history","href":"/on-premises/support/support-guides/using-templates-as-an-individual"}]}]}]},{"tab":"Blog","icon":"rss","pages":[{"title":"Blog","href":"/blog"}]},{"tab":"TeXLive","icon":"compact-disc","pages":[{"title":"TeXLive","href":"/texlive"}]},{"tab":"Developer","icon":"rectangle-terminal","pages":[{"title":"Developer","href":"/dev"}]}]},{"language":"zh-CN","pages":[{"title":"zh-CN","href":"/zh-CN"}]},{"language":"zh-TW","pages":[{"title":"zh-TW","href":"/zh-TW"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja"}]},{"language":"de","pages":[{"title":"de","href":"/de"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr"}]},{"language":"es","pages":[{"title":"es","href":"/es"}]},{"language":"it","pages":[{"title":"it","href":"/it"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru"}]},{"language":"nl","pages":[{"title":"nl","href":"/nl"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt"}]},{"language":"tr","pages":[{"title":"tr","href":"/tr"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk"}]},{"language":"pl","pages":[{"title":"pl","href":"/pl"}]},{"language":"cs","pages":[{"title":"cs","href":"/cs"}]},{"language":"sv","pages":[{"title":"sv","href":"/sv"}]},{"language":"fi","pages":[{"title":"fi","href":"/fi"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi"}]},{"language":"no","pages":[{"title":"no","href":"/no"}]},{"language":"da","pages":[{"title":"da","href":"/da"}]},{"language":"id","pages":[{"title":"id","href":"/id"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant"}]}]},"basePath":"","title":"MCP Server - Ayakaleaf Pro","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}