Allow an artificial intelligence to read, write, compile and correct your LaTeX files directly in your Sarmate drive. This guide details every step to connect your AI to your Sarmate workspace.
A so-called "agentic" artificial intelligence is a program installed on your computer, able to carry out tasks autonomously rather than merely responding. It is most often operated from a terminal — the command-input window — though some can be used from a browser or a dedicated application. MCP (Model Context Protocol) is a standard that tells artificial intelligences how to connect to an external service and interact with it. Your AI thus connects to Sarmate's MCP server, which authorises it to read, edit and compile the files in your drive, based on your natural-language instructions. Four notions summarise how it operates.
Installed on your machine, the AI opens, edits and compiles your files autonomously, from requests you formulate in natural language.
The terminal is a window on your computer in which you type your requests: this is where you converse with the AI. (Some AIs also accept the browser.)
When you ask the AI to perform an action from your computer, it carries it out on your sarmate.net drive. And if the file concerned is open in the sarmate.net editor, you see the changes live.
Every change keeps a restorable backup for 30 days, file deletion is disabled, and you can revoke your AI's access to sarmate.net at any time, from the website.
The principle is always the same, whatever your AI:
From sarmate.net, generate a personal key that lets your AI access your drive.
Install the AI of your choice on your computer: Antigravity (free), Claude Code… (Le Chat, however, works in the browser, with no installation.)
On your computer, paste the configuration (with your token) into a terminal prompt, then ask the AI, in natural language, to act on your sarmate.net files. (Le Chat, however, is configured in the browser.)
smt_). ⚠️ It is shown only once — keep it for step 3.The shortest path: your AI configures itself. Paste your token below — it stays in your browser, it is not sent to Sarmate —, copy the prompt, and hand it to your AI. This works with any AI that has access to your computer: Antigravity, Claude Code, Claude Desktop, Cursor, Cline.
To begin, you can for example try Antigravity, which offers a free agentic-AI tier. If you prefer to avoid the terminal, Le Chat is set up in the browser.
Antigravity is Google's agentic tool: an editor and a command line that drive an AI over your files. A free individual tier exists, with weekly limits. It replaces Gemini CLI, whose access was cut off on 18 June 2026 for consumer tiers.
~/.gemini/config/mcp_config.json (or .agents/mcp_config.json inside a project).smt_VOTRE_TOKEN with the token you copied in step 1. Careful: the legacy keys url and httpUrl are no longer accepted — it really is serverUrl.sarmate should appear there with its tools.Procedure verified on 21/10/2026 against Antigravity's official documentation and a real test.
If you wish to avoid the terminal: Le Chat is configured entirely in the browser, in a few clicks. Available on all Le Chat plans.
chat.mistral.ai → left sidebar → Intelligence → Connectors → + Add Connector.Sarmatehttps://mcp.sarmate.net/mcpAuthorization, type Bearer, value smt_VOTRE_TOKENsmt_VOTRE_TOKEN with the token you copied in step 1.Procedure verified on 29/09/2026 against a real test in its connectors page — it is the only browser client that accepts a header.
The most accomplished agentic AI for code and LaTeX. It requires a Claude subscription (no free version) and is the reference in the field.
These tools need Node.js (free software). Choose your system:
nodejs.org and download the LTS version. Run the .msi file and click "Next" all the way.PowerShell, Enter.node --versionnodejs.org, download the LTS version (.pkg file) and install it.Terminal, Enter.node --versionnode --versionsmt_VOTRE_TOKEN with the token you copied in step 1.claude mcp list → sarmate ✓ Connectedclaude and ask it to act on your Sarmate files.Procedure verified on 21/10/2026 against a real test — the prompt in step 2 is enough, Claude Code writes its own configuration itself.
The Claude desktop app. No daily terminal, but a small technical setup at first (and Node.js installed).
These tools need Node.js (free software). Choose your system:
nodejs.org and download the LTS version. Run the .msi file and click "Next" all the way.PowerShell, Enter.node --versionnodejs.org, download the LTS version (.pkg file) and install it.Terminal, Enter.node --versionnode --version~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonsmt_VOTRE_TOKEN with the token you copied in step 1.The Claude website and app accept a "custom connector": nothing to install, everything happens in the settings.
Authorization: Claude.ai reserves that name for its own token and will never send yours. That is precisely why our server also accepts X-Api-Key.Procedure verified on 21/10/2026 against our own MCP server, which accepts the X-Api-Key header as of that day.
In the browser, no terminal, but file writing is often limited depending on your OpenAI plan.
https://mcp.sarmate.net/mcp, transport Streamable HTTP, header Authorization: Bearer smt_VOTRE_TOKEN. smt_VOTRE_TOKEN with the token you copied in step 1.AI code editor. No terminal: one config file.
~/.cursor/mcp.json and paste:smt_VOTRE_TOKEN with the token you copied in step 1.Cline : Cline sidebar → MCP Servers → Configure MCP Servers, then paste:
Continue : ~/.continue/config.yaml
smt_VOTRE_TOKEN with the token you copied in step 1.Any MCP-compatible client works with these 3 details:
https://mcp.sarmate.net/mcpAuthorization: Bearer smt_VOTRE_TOKENFor a stdio-only client (no HTTP), use the bridge:
smt_VOTRE_TOKEN with the token you copied in step 1.Bearer ? (3) for Gemini/Claude, does node --version respond (Node.js installed)?https://mcp.sarmate.net/mcp and your token in the X-Api-Key header (not Authorization, which Claude.ai reserves for its own token). See the Claude.ai card in step 3.Create your token, then follow Antigravity (free) in step 2.