Server MCP (Model Context Protocol) per integrare Fatture in Cloud con Claude AI e altri assistenti compatibili.
Permette di gestire fatture elettroniche italiane tramite conversazione naturale.
| Tool | Descrizione |
|---|---|
list_invoices |
Lista fatture emesse per anno/mese |
get_invoice |
Dettaglio completo fattura |
list_clients |
Lista clienti con filtro |
get_company_info |
Info azienda collegata |
create_invoice |
Crea nuova fattura (bozza) |
duplicate_invoice |
Duplica fattura esistente |
send_to_sdi |
Invia fattura allo SDI |
get_invoice_status |
Stato fattura elettronica |
send_email |
Invia copia cortesia via email |
list_received_documents |
Fatture passive (fornitori) |
get_situation |
Dashboard: fatturato, incassato, costi |
- Python 3.10+
- Account Fatture in Cloud con API attive
- Claude Desktop o altro client MCP
git clone https://github.com/aringad/fattureincloud-mcp.git
cd fattureincloud-mcppython -m venv venv
source venv/bin/activate # Linux/Mac
# oppure: venv\Scripts\activate # Windows
pip install -r requirements.txtCopia il file di esempio e inserisci i tuoi dati:
cp .env.example .envModifica .env:
FIC_ACCESS_TOKEN=a/xxxxx.yyyyy.zzzzz
FIC_COMPANY_ID=123456
FIC_SENDER_EMAIL=fatturazione@tuaazienda.itCome ottenere le credenziali:
- Accedi a Fatture in Cloud
- Vai su Impostazioni > API e Integrazioni
- Crea un Token Manuale con i permessi necessari
- Il
COMPANY_IDè visibile nell'URL quando sei loggato
Modifica ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) o %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"fattureincloud": {
"command": "/percorso/completo/fattureincloud-mcp/venv/bin/python",
"args": ["/percorso/completo/fattureincloud-mcp/server.py"],
"env": {
"FIC_ACCESS_TOKEN": "a/xxxxx.yyyyy.zzzzz",
"FIC_COMPANY_ID": "123456",
"FIC_SENDER_EMAIL": "fatturazione@tuaazienda.it"
}
}
}
}Chiudi completamente Claude Desktop (Cmd+Q su Mac) e riaprilo.
"Mostrami le fatture di dicembre 2024"
"Qual è la situazione finanziaria del 2025?"
"Duplica la fattura 310 cambiando 2025 in 2026"
"Invia la fattura 326 allo SDI"
"Manda la copia cortesia via email"
"Quali fatture devo ancora incassare?"
- Le operazioni di scrittura (create, send_to_sdi) richiedono sempre conferma
- L'invio allo SDI è irreversibile
- Le fatture vengono create come bozze (draft)
- Il metodo di pagamento di default è MP05 (bonifico)
MIT - Vedi LICENSE
Sviluppato da Mediaform s.c.r.l. - Genova, Italia
MCP (Model Context Protocol) Server to integrate Fatture in Cloud with Claude AI and other compatible assistants.
Manage Italian electronic invoices through natural conversation.
| Tool | Description |
|---|---|
list_invoices |
List issued invoices by year/month |
get_invoice |
Full invoice details |
list_clients |
List clients with filter |
get_company_info |
Connected company info |
create_invoice |
Create new invoice (draft) |
duplicate_invoice |
Duplicate existing invoice |
send_to_sdi |
Send invoice to SDI (Italian e-invoice system) |
get_invoice_status |
E-invoice status |
send_email |
Send courtesy copy via email |
list_received_documents |
Received invoices (suppliers) |
get_situation |
Dashboard: revenue, collected, costs |
- Python 3.10+
- Fatture in Cloud account with API enabled
- Claude Desktop or other MCP client
git clone https://github.com/aringad/fattureincloud-mcp.git
cd fattureincloud-mcppython -m venv venv
source venv/bin/activate # Linux/Mac
# or: venv\Scripts\activate # Windows
pip install -r requirements.txtCopy the example file and fill in your data:
cp .env.example .envEdit .env:
FIC_ACCESS_TOKEN=a/xxxxx.yyyyy.zzzzz
FIC_COMPANY_ID=123456
FIC_SENDER_EMAIL=billing@yourcompany.comHow to get credentials:
- Log into Fatture in Cloud
- Go to Settings > API and Integrations
- Create a Manual Token with required permissions
- The
COMPANY_IDis visible in the URL when logged in
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"fattureincloud": {
"command": "/full/path/to/fattureincloud-mcp/venv/bin/python",
"args": ["/full/path/to/fattureincloud-mcp/server.py"],
"env": {
"FIC_ACCESS_TOKEN": "a/xxxxx.yyyyy.zzzzz",
"FIC_COMPANY_ID": "123456",
"FIC_SENDER_EMAIL": "billing@yourcompany.com"
}
}
}
}Fully quit Claude Desktop (Cmd+Q on Mac) and reopen it.
"Show me invoices from December 2024"
"What's the financial situation for 2025?"
"Duplicate invoice 310 changing 2025 to 2026"
"Send invoice 326 to SDI"
"Send the courtesy copy via email"
"Which invoices are still pending payment?"
- Write operations (create, send_to_sdi) always require confirmation
- Sending to SDI is irreversible
- Invoices are created as drafts
- Default payment method is MP05 (bank transfer)
MIT - See LICENSE
Developed by Mediaform s.c.r.l. - Genova, Italy