Sarmate.net Sarmate.net
Home Funzioni Prezzi Documentazione Contatto
Accedi Si registri

Colleghi la sua IA a Sarmate — guida passo passo

Consenti a un'intelligenza artificiale di leggere, scrivere, compilare e correggere i suoi file LaTeX direttamente nel suo drive di Sarmate. Questa guida illustra nel dettaglio ogni passaggio per collegare la sua IA al suo spazio Sarmate.

Disponibile su tutti i piani (incluso quello gratuito), entro il limite della quota di compilazione del suo piano.

Principio di funzionamento

Un'intelligenza artificiale detta «agentica» è un programma installato sul suo computer, in grado di svolgere compiti in modo autonomo invece di limitarsi a rispondere. Di solito si controlla da un terminale —la finestra in cui si inseriscono i comandi—; alcune, tuttavia, si usano da un browser o da un'applicazione dedicata. Il MCP (Model Context Protocol) è uno standard che indica alle intelligenze artificiali come collegarsi a un servizio esterno e interagire con esso. La sua IA si collega così al server MCP di Sarmate, che la autorizza a leggere, modificare e compilare i file del suo drive a partire dalle sue istruzioni in linguaggio naturale. Quattro concetti ne riassumono il funzionamento.

L'IA viene eseguita sul suo computer

Installata sulla sua macchina, l'IA apre, modifica e compila i suoi file in modo autonomo, a partire dalle richieste che formula in linguaggio naturale.

Le sue richieste: nel terminale del suo computer

Il terminale è una finestra del suo computer in cui digita le sue richieste: è lì che dialoga con l'IA. (Alcune IA accettano anche il browser.)

Il risultato sul suo drive sarmate.net

Quando chiede un'azione all'IA dal suo computer, questa la esegue sul suo drive sarmate.net. E se il file interessato è aperto nell'editor di sarmate.net, ne vede le modifiche in diretta.

Sotto il suo controllo

Ogni modifichi conserva un backup ripristinabile per 30 giorni, l'eliminazione dei file è disattivata e può revocare l'accesso della sua IA a sarmate.net in qualsiasi momento, dal sito web.

Sul suo computer, in un terminale
> Correggi gli errori LaTeX del capitolo 2 e ricompila.
Sul sito di Sarmate (browser)
chapitre2.tex modificato · PDF ricompilato · visibile in tempo reale

In 3 grandi passaggi

Il principio è sempre lo stesso, qualunque sia la sua IA:

1

Crei un token

su sarmate.net

Da sarmate.net, genera una chiave personale che autorizzi la sua IA ad accedere al suo drive.

2

Installi la sua IA

sul suo computer

Installi l'IA che preferisce sul suo computer: Antigravity (gratuita), Claude Code… (Le Chat, invece, funziona nel browser, senza installazione.)

3

Colleghi e usi

sul suo computer, in un terminale

Sul suo computer, incolli la configurazione (con il suo token) in un prompt del terminale, poi chieda all'IA, in linguaggio naturale, di intervenire sui suoi file di sarmate.net. (Le Chat, invece, si configura nel browser.)

1

Crei il suo token MCP

  1. Apra il gestore file di Sarmate e faccia clic sull'icona MCP (in alto a destra).
  2. Faccia clic su «Nuovo token», gli dia un nome (es. «Il mio Gemini»).
  3. Copi il token (inizi con smt_). ⚠️ Viene mostrato una sola volta — conservalo per il passaggio 3.
2

Paste this prompt into your AI

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.

Connect to my Sarmate LaTeX drive over MCP, then check that it works. Remote MCP server, over HTTP: https://mcp.sarmate.net/mcp Name to give it: sarmate Authentication: header "Authorization: Bearer smt_VOTRE_TOKEN" Write this configuration wherever it belongs for the client you are. For example: "claude mcp add --transport http --header "Authorization: Bearer …" sarmate https://mcp.sarmate.net/mcp" for Claude Code; the file ~/.gemini/config/mcp_config.json with the serverUrl and headers keys for Antigravity. Restart if needed. Then call the list_files tool and tell me which files you see.
This prompt contains your token: only paste it into an AI you trust. In an AI installed on your computer, it goes into a local settings file. In a web interface, it travels to the AI vendor — for those, prefer the form in step 3. A token can be revoked at any time from the MCP window of the file manager.
3

Or pick your AI, step by step

Each card carries, at the bottom, the date on which we verified its procedure. With no date, it has not been re-checked recently — these tools change fast: Gemini CLI, which this page used to recommend first, was shut off on 18 June 2026.

Per iniziare, può ad esempio provare Antigravity, che offre un piano di IA agentica gratuito. Se preferisce evitare il terminale, Le Chat si configura nel browser.

Antigravity libero

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.

  1. Install Antigravity from antigravity.google — the editor or the command line, as you prefer.
  2. Open its MCP configuration: in the agent side panel, … → MCP Servers → Manage MCP Servers → View raw config. The file is ~/.gemini/config/mcp_config.json (or .agents/mcp_config.json inside a project).
  3. Add this entry, then save:
    { "mcpServers": { "sarmate": { "serverUrl": "https://mcp.sarmate.net/mcp", "headers": { "Authorization": "Bearer smt_VOTRE_TOKEN" } } } }
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1. Careful: the legacy keys url and httpUrl are no longer accepted — it really is serverUrl.
  4. Reopen the MCP Servers panel: sarmate should appear there with its tools.
  5. Formula la sua richiesta in linguaggio naturale, ad esempio:
    Elenca i miei file Sarmate, apra il mio documento principale e correggi gli errori di compilazione.
  6. Apra il suo editor Sarmate nel browser: vede i file cambiare in diretta. ✅

Procedure verified on 21/10/2026 against Antigravity's official documentation and a real test.

Le Chat (Mistral) senza terminale · browser

Se desideri evitare il terminale: Le Chat si configura interamente nel browser, in pochi clic. Disponibile su tutti i piani Le Chat.

  1. Su chat.mistral.ai → barra laterale sinistra → Intelligence → Connectors → + Add Connector.
  2. Scelga la scheda Custom MCP Connector.
  3. Compila:
    • Nome : Sarmate
    • Server : https://mcp.sarmate.net/mcp
    • Autenticazione : API token — Header Authorization, type Bearer, valore smt_VOTRE_TOKEN
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
  4. Create — attivo immediatamente, nessun riavvio.

Procedure verified on 29/09/2026 against a real test in its connectors page — it is the only browser client that accepts a header.

Claude Code il più potente · a pagamento

L'IA agentica più completa per il codice e LaTeX. Richiede un abbonamento Claude (nessuna versione gratuita) ed è il riferimento del settore.

Come Gemini, tutto si pilota dal terminale del suo computer; gli effetti appaiono in tempo reale sul sito Sarmate (browser).
The shortest path: the prompt in step 2. Claude Code writes the command below itself, then checks the connection. The manual procedure stays here if you prefer doing it yourself.
Passaggio preliminare (una sola volta): aprire un terminale e installare Node.js

Questi strumenti hanno bisogno di Node.js (un software gratuito). Scelga il suo sistema:

  1. Vada su nodejs.org e scarichi la versione LTS. Avvii il file .msi e faccia clic su «Avanti» fino alla fine.
  2. Apra il terminale: tasto Windows, digita PowerShell, Invio.
  3. Verifichi con: node --version
  1. Vai su nodejs.org, scarichi la versione LTS (file .pkg) e installala.
  2. Apra il terminale: Cmd + Spazio, digita Terminal, Invio.
  3. Verifichi con: node --version
  1. Apra il suo terminale (spesso Ctrl + Alt + T).
  2. Installi Node.js. Su Debian/Ubuntu:
    sudo apt update && sudo apt install -y nodejs npm
  3. Verifichi con: node --version
  1. Colleghi Sarmate (un comando):
    claude mcp add --transport http sarmate https://mcp.sarmate.net/mcp --header "Authorization: Bearer smt_VOTRE_TOKEN"
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
  2. Verifichi: claude mcp list → sarmate ✓ Connected
  3. Avvia claude e chiedigli di agire sui suoi file Sarmate.

Procedure verified on 21/10/2026 against a real test — the prompt in step 2 is enough, Claude Code writes its own configuration itself.

Claude Desktop

L'applicazione desktop Claude. Nessun terminale nell'uso quotidiano, ma una piccola configurazione tecnica all'inizio (e Node.js installato).

Passaggio preliminare (una sola volta): aprire un terminale e installare Node.js

Questi strumenti hanno bisogno di Node.js (un software gratuito). Scelga il suo sistema:

  1. Vada su nodejs.org e scarichi la versione LTS. Avvii il file .msi e faccia clic su «Avanti» fino alla fine.
  2. Apra il terminale: tasto Windows, digita PowerShell, Invio.
  3. Verifichi con: node --version
  1. Vai su nodejs.org, scarichi la versione LTS (file .pkg) e installala.
  2. Apra il terminale: Cmd + Spazio, digita Terminal, Invio.
  3. Verifichi con: node --version
  1. Apra il suo terminale (spesso Ctrl + Alt + T).
  2. Installi Node.js. Su Debian/Ubuntu:
    sudo apt update && sudo apt install -y nodejs npm
  3. Verifichi con: node --version
  1. Apra (o crei) il file di configurazione:
    • macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows : %APPDATA%\Claude\claude_desktop_config.json
  2. Incolla:
    { "mcpServers": { "sarmate": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.sarmate.net/mcp", "--header", "Authorization: Bearer smt_VOTRE_TOKEN"] } } }
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
  3. Chiuda completamente Claude (Cmd+Q su Mac) e poi lo riavvii.

Claude.ai senza terminale · browser

The Claude website and app accept a "custom connector": nothing to install, everything happens in the settings.

  1. In Claude, open Settings → Connectors, then Add custom connector.
  2. Server address:
    https://mcp.sarmate.net/mcp
  3. Under Request headers, pick X-Api-Key from the dropdown and paste your token as the value:
    smt_VOTRE_TOKEN
    Do not pick 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.
  4. Save, then enable sarmate from the tools menu in a conversation. Ask it to list your files. ✅

Procedure verified on 21/10/2026 against our own MCP server, which accepts the X-Api-Key header as of that day.

ChatGPT (modalità sviluppatore)

Nel browser, senza terminale, ma la scrittura dei file è spesso limitata a seconda del suo piano OpenAI.

  1. ChatGPT → Settings → Apps & Connectors → Advanced settings → attiva la Developer mode.
  2. Crei un connettore: URL https://mcp.sarmate.net/mcp, transport Streamable HTTP, header Authorization: Bearer smt_TUO_TOKEN.
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
ChatGPT Plus/Pro è spesso limitato alla sola lettura; la scrittura è riservata ai piani Business/Enterprise/Edu.

Cursor

Editor di codice con IA. Nessun terminale: una configurazione in un file.

  1. Apra (o crei) ~/.cursor/mcp.json e incolli:
    { "mcpServers": { "sarmate": { "url": "https://mcp.sarmate.net/mcp", "headers": { "Authorization": "Bearer smt_VOTRE_TOKEN" } } } }
    Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
  2. Verifichi in Cursor → Settings → MCP (punto verde).

Cline / Continue (VS Code)

Cline : barra laterale di Cline → MCP Servers → Configure MCP Servers, poi incolli:

{ "mcpServers": { "sarmate": { "url": "https://mcp.sarmate.net/mcp", "headers": { "Authorization": "Bearer smt_VOTRE_TOKEN" }, "disabled": false } } }

Continue : ~/.continue/config.yaml

mcpServers: - name: sarmate url: https://mcp.sarmate.net/mcp headers: Authorization: Bearer smt_VOTRE_TOKEN
Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.

Altro client

Qualsiasi client compatibile con MCP funziona con queste 3 informazioni:

  • URL : https://mcp.sarmate.net/mcp
  • Transport : Streamable HTTP / SSE
  • Header : Authorization: Bearer smt_VOTRE_TOKEN

Per un client che parla solo stdio (senza HTTP), usa il ponte:

npx -y mcp-remote https://mcp.sarmate.net/mcp --header "Authorization: Bearer smt_VOTRE_TOKEN"
Sostituisci smt_VOTRE_TOKEN con il token copiato al passaggio 1.
Ti servono dettagli tecnici (elenco degli strumenti, FAQ avanzate)? Documentazione tecnica →

Domande frequenti

È necessario padroneggiare il terminale?
Non è necessario. Basta copiare due o tre comandi forniti, una sola volta; in seguito le interazioni con l'IA avvengono in linguaggio naturale. Se preferisce non usare il terminale, Le Chat si configura interamente nel browser.
Che cos'è Node.js e perché installarlo?
È un software gratuito che Antigravity, Claude Code e Claude Desktop usano per funzionare. Lo si installa una sola volta, con pochi clic (si veda «Prerequisito» in ogni sezione interessata). Le Chat e ChatGPT non ne hanno bisogno.
Quale piano serve? Basta quello gratuito?
L'MCP è aperto a tutti i piani, incluso quello gratuito, limitato dalla quota di compilazione del suo piano. Lato IA: Antigravity ha un piano gratuito; Claude Code richiede un abbonamento a Claude.
Non si connette, lo strumento non compare.
Verifichi: (1) ha riavviato lo strumento dopo la configurazione? (2) il token è copiato per intero, preceduto da Bearer ? (3) per Gemini/Claude, node --version risponde correttamente (Node.js installato)?
Posso collegare Claude.ai (il sito / l'app)?
Sì, dal 21/10/2026. Claude.ai accetta un connettore personalizzato: l'indirizzo https://mcp.sarmate.net/mcp e il suo token nell'intestazione X-Api-Key (non Authorization, che Claude.ai riserva al proprio token). Veda la scheda Claude.ai al passo 3.

Pronto a collegare la sua IA?

Crei il suo token, poi segua Antigravity (gratuito) al passaggio 2.