
Milatexai
io.github.yasaminfayyazPublished by GitHub account yasaminfayyazv0.2.0Updated Oct 24, 2026
Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.
Overview
Hosted MCP connector that lets Claude or ChatGPT read, edit and compile your Overleaf or Git-hosted LaTeX projects, committing each change.
- What you can do
- List connected projects and their files, and read recent commits on the default branch
- Read files and navigate LaTeX structure by section
- Check compilation with a bundled LaTeX engine and report exact errors
- Edit, write, delete or upload files, each landing as an immediate Git commit and push to the default branch
- When to use it
- Useful when you write LaTeX papers in Overleaf or a Git repository and want an assistant to revise text, add sections, fix compile errors or reorganize files without copy-pasting or downloading anything.
- Requirements
- Remote endpoint at milatexai.com/mcp added as a custom connector in Claude or ChatGPT, with OAuth sign-in. A repository you can push to: Overleaf Git integration (a paid Overleaf feature) or a GitHub, GitLab, Bitbucket or allowlisted self-hosted Git repo. A Git access token is pasted into a one-time web form. Free tier: one project and ten write-commits per month; Pro is paid.
Installation
In SourceWeft
- Open Milatexai in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.yasaminfayyaz%2Fmilatexai/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"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:
- 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.
- 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. - 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
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.
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.
Source: README.md at commit c47b8f5
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts