Milatexai

io.github.yasaminfayyaz由 GitHub 帳號 yasaminfayyaz 發布v0.2.0更新於 Oct 24, 2026

Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.

已驗證Streamable HTTP可網頁執行檔案與儲存開發者工具

概覽

AI 產生的概覽

託管式 MCP 連接器,讓 Claude 或 ChatGPT 讀取、編輯並編譯你在 Overleaf 或 Git 上的 LaTeX 專案,每次變更都會成為一次提交。

可以做什麼
  • 列出已連接的專案與其檔案,並查看預設分支上的近期提交
  • 讀取檔案並依章節瀏覽 LaTeX 結構
  • 以內建 LaTeX 引擎檢查編譯並回報具體錯誤
  • 編輯、寫入、刪除或上傳檔案,每項操作都立即提交並推送到預設分支
適用情境
適合在 Overleaf 或 Git 儲存庫撰寫 LaTeX 論文、希望助理直接改寫文字、補充章節、修正編譯錯誤或整理檔案,而不必複製貼上或下載檔案的情境。
執行需求
需在 Claude 或 ChatGPT 中以自訂連接器加入 milatexai.com/mcp 遠端端點,並透過 OAuth 登入。需要一個可推送的儲存庫:Overleaf 的 Git 整合(Overleaf 付費功能),或 GitHub、GitLab、Bitbucket 及列入允許清單的自架 Git 儲存庫。Git 存取權杖需在一次性網頁表單中填寫。免費版限 1 個專案、每月 10 次寫入提交;Pro 為付費訂閱。
安裝前請注意
需提供具寫入權限的 Git 存取權杖,並在第三方網頁表單中填寫,由該服務加密儲存。每次寫入都直接提交並推送到預設分支,沒有拉取請求或分支選擇,錯誤會立即生效,只能在 Git 歷史中還原。Overleaf 的 Git 整合需付費 Overleaf 方案,另行計費;Pro 為訂閱制。服務稱不儲存文件內容,但讀寫操作都會經過該託管服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Milatexai,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.yasaminfayyaz%2Fmilatexai/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "milatexai": {
      "type": "http",
      "url": "https://milatexai.com/mcp"
    }
  }
}

README

MiLatexAI

Edit your real Overleaf projects, plus GitHub, GitLab, Bitbucket, and self-hosted Git repositories, by talking to Claude or ChatGPT. No copy-paste, no downloading files, and every change lands on your default branch as a real Git commit.

milatexai.com · Works with Claude and ChatGPT · Open source (AGPL-3.0)

MiLatexAI is a hosted, remote MCP server that connects your AI assistant to your Overleaf projects and any GitHub, GitLab, Bitbucket, or allowlisted self-hosted Git repository. Ask "tighten my introduction" or "add a related-work paragraph citing Smith 2021" and the edit is committed and pushed to the repository's default branch instantly, visible in your Git history where you can review the diff or revert it. (There's no pull-request flow or branch picker yet.)

The internal Python package is still named leafbridge.


Use it (hosted, recommended)

Nothing to install. In Claude or ChatGPT, add MiLatexAI as a custom connector:

  1. Add the connector using the URL https://milatexai.com/mcp.
    • Claude: Settings, Connectors, Add custom connector, paste the URL, sign in.
    • ChatGPT: Settings, Connectors, enable Developer mode, Add custom connector, paste the URL, authorize. Works on ChatGPT including its free plan.
  2. Connect a project. Ask the assistant to connect a project (or run start_connect). You get a one-time link to a secure web form where you paste your repository URL and Git access token. It never appears in the chat and is encrypted at rest.
  3. Talk to your paper. "List my files," "read the methods section," "why won't it compile," "rewrite this paragraph."

Full setup guide: milatexai.com/#get-started


Requirement: a repository you can push to

You connect a repository by pasting its URL and an access token. What that takes depends on the host:

Overleaf Git integration (a paid Overleaf feature). MiLatexAI works through Overleaf's Git integration, which is a premium (paid) feature on Overleaf. To use it on your own Overleaf projects you need one of:

  • An Overleaf paid plan (Standard or Professional), or
  • A project shared with you from a premium or group/institutional account that includes Git integration.

Quick test: if you can create a Git token under Overleaf, Account Settings, Git Integration, you are good to go. Free-only Overleaf accounts cannot create Git tokens.

GitHub, GitLab, Bitbucket, or self-hosted Git: no paid plan needed. Any repository you can push to works with a free access token: a GitHub fine-grained PAT with Contents read/write, a GitLab project or personal access token, or a Bitbucket app password. Self-hosted HTTPS Git repos are supported when allowlisted.

You will also need Claude or ChatGPT. Their free tiers work fine.


Pricing

  • Free: 1 connected project, 10 write-commits per month, unlimited reads. Runs on spare capacity (best-effort).
  • Pro, $8.99/mo: unlimited projects, unlimited write-commits, guaranteed access. New subscribers get 50% off their first month.

Reads are always free and unlimited. If you connect Overleaf, its own subscription is separate and billed by Overleaf; GitHub, GitLab, and Bitbucket need only a free access token. Manage billing inside your assistant or at milatexai.com/account.


What it does

ToolWhat it doesWrite
list_projects, list_filesList your projects, or a project's filesNo
read_file, get_sections, read_sectionRead files and navigate LaTeX structureNo
check_compileBuild with a bundled LaTeX engine (Tectonic) and report the exact errorsNo
get_historyRecent commits on the default branchNo
edit_file, write_file, delete_file, upload_fileChange files, each an immediate Git commit and pushYes

Only writes count toward the monthly limit; reads are always free. Every write commits and pushes immediately to the default branch and returns the commit hash, auditable in your repository's history. Paths are validated (no traversal), edits require an exact unique match, and the engine always pulls before pushing and never force-pushes.


Security and privacy

  • Your Git access token is entered on a secure web form, encrypted at rest, and never written to the chat.
  • MiLatexAI touches only the projects you explicitly connect, nothing else in your account.
  • We do not store your document contents. We keep only your account email, your encrypted token, and usage counts (commits per month, tool uses per day; never what you asked).
  • The full connector is open source (AGPL-3.0), so you can audit exactly what it does.

MiLatexAI is not affiliated with, endorsed by, or sponsored by Overleaf or Digital Science, GitHub, GitLab, Bitbucket, Anthropic, or OpenAI. Overleaf, GitHub, GitLab, Bitbucket, Claude, and ChatGPT are trademarks of their respective owners, used only to describe compatibility.


Self-host

MiLatexAI is AGPL-3.0, so you can run the server yourself.

bash
python -m venv .venv. .venv/Scripts/activate          # or: source .venv/bin/activatepip install -r requirements.txtpython -m pytest -q                # test suite

The hosted service runs leafbridge.asgi:app (Streamable HTTP MCP at /mcp) on Azure Container Apps, with WorkOS AuthKit for authentication and Stripe for billing. Self-hosted Overleaf Server Pro is supported via a git_url override on a project. Running a modified version as a network service requires publishing your changes (AGPL).


Status

  • Live at milatexai.com: hosted multi-user server, WorkOS sign-in, per-user encrypted tokens, server-side compile checks (Tectonic), Stripe billing, and website sign-in for managing your subscription.
  • Roadmap: connector-directory listings, multi-file smart edits, team plans.

License

AGPL-3.0-or-later. You may self-host freely; running a modified version as a network service requires publishing your changes.

來源:README.md,提交 c47b8f5

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分