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 分