io.github.aringad/fattureincloud-mcp

平台与服务

by aringad

基于 Fatture in Cloud 的意大利电子开票 MCP server,可创建发票、发送到 SDI 并管理客户。

什么是 io.github.aringad/fattureincloud-mcp

基于 Fatture in Cloud 的意大利电子开票 MCP server,可创建发票、发送到 SDI 并管理客户。

README

Fatture in Cloud MCP Server

🇮🇹 Italiano | 🇬🇧 English

<!-- mcp-name: io.github.aringad/fattureincloud-mcp -->

Italiano

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.

✨ Funzionalità (20 tool)

ToolDescrizione
list_invoicesLista fatture/NDC/proforma emesse per anno/mese
get_invoiceDettaglio completo documento
get_pdf_urlURL PDF e link web documento
list_clientsLista clienti con filtro
get_company_infoInfo azienda collegata
create_client🆕 Crea nuovo cliente in anagrafica
update_client🆕 Aggiorna dati cliente esistente
create_invoiceCrea nuova fattura (bozza) con codice SDI automatico
create_credit_noteCrea nota di credito (bozza)
create_proformaCrea proforma (bozza, non inviabile SDI)
convert_proforma_to_invoice🆕 Converte proforma in fattura elettronica
update_documentModifica parziale documento bozza
duplicate_invoiceDuplica fattura con codice SDI aggiornato
delete_invoiceElimina documento bozza (non inviato)
send_to_sdiInvia fattura allo SDI
get_invoice_statusStato fattura elettronica SDI
send_emailInvia copia cortesia via email
list_received_documentsFatture passive (fornitori)
get_situationDashboard: fatturato netto, incassato, costi, margine
check_numerationVerifica continuità numerica fatture

Nota: La marcatura dei pagamenti come "pagato" non è supportata. Usa il pannello web di Fatture in Cloud per questa operazione.

🚀 Installazione

Prerequisiti

1. Clona il repository

bash
git clone https://github.com/aringad/fattureincloud-mcp.git
cd fattureincloud-mcp

2. Crea ambiente virtuale e installa dipendenze

bash
python -m venv venv
source venv/bin/activate  # Linux/Mac
# oppure: venv\Scripts\activate  # Windows

pip install -r requirements.txt

3. Configura le credenziali

Copia il file di esempio e inserisci i tuoi dati:

bash
cp .env.example .env

Modifica .env:

env
FIC_ACCESS_TOKEN=a/xxxxx.yyyyy.zzzzz
FIC_COMPANY_ID=123456
FIC_SENDER_EMAIL=fatturazione@tuaazienda.it

Come ottenere le credenziali:

  1. Accedi a Fatture in Cloud
  2. Vai su Impostazioni > API e Integrazioni
  3. Crea un Token Manuale con i permessi necessari
  4. Il COMPANY_ID è visibile nell'URL quando sei loggato

4. Configura Claude Desktop

Modifica ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) o %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "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"
      }
    }
  }
}

5. Riavvia Claude Desktop

Chiudi completamente Claude Desktop (Cmd+Q su Mac) e riaprilo.

💬 Esempi d'uso

code
"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?"
"Verifica la numerazione delle fatture 2025"
"Converti la proforma 12 in fattura"
"Crea un nuovo cliente: Rossi SRL, P.IVA 01234567890"

⚠️ Note di sicurezza

  • Le operazioni di scrittura (create, send_to_sdi) richiedono sempre conferma
  • L'invio allo SDI è irreversibile
  • Le fatture vengono create come bozze (draft)
  • Il codice univoco SDI viene recuperato automaticamente dall'anagrafica cliente
  • Il metodo di pagamento di default è MP05 (bonifico)

📋 Changelog

Vedi CHANGELOG.md

📄 Licenza

MIT - Vedi LICENSE

👨‍💻 Autore

Sviluppato da Mediaform s.c.r.l. - Genova, Italia


English

MCP (Model Context Protocol) Server to integrate Fatture in Cloud with Claude AI and other compatible assistants.

Manage Italian electronic invoices through natural conversation.

✨ Features (20 tools)

ToolDescription
list_invoicesList invoices/credit notes/proforma by year/month
get_invoiceFull document details
get_pdf_urlPDF URL and web link for document
list_clientsList clients with filter
get_company_infoConnected company info
create_client🆕 Create new client in registry
update_client🆕 Update existing client data
create_invoiceCreate new invoice (draft) with automatic SDI code
create_credit_noteCreate credit note (draft)
create_proformaCreate proforma (draft, not sendable to SDI)
convert_proforma_to_invoice🆕 Convert proforma to electronic invoice
update_documentPartial update of draft document
duplicate_invoiceDuplicate invoice with updated SDI code
delete_invoiceDelete draft document (not yet sent)
send_to_sdiSend invoice to SDI (Italian e-invoice system)
get_invoice_statusE-invoice SDI status
send_emailSend courtesy copy via email
list_received_documentsReceived invoices (suppliers)
get_situationDashboard: net revenue, collected, costs, margin
check_numerationVerify invoice numbering continuity

Note: Marking payments as "paid" is not supported. Use the Fatture in Cloud web panel for this operation.

🚀 Installation

Prerequisites

1. Clone the repository

bash
git clone https://github.com/aringad/fattureincloud-mcp.git
cd fattureincloud-mcp

2. Create virtual environment and install dependencies

bash
python -m venv venv
source venv/bin/activate  # Linux/Mac
# or: venv\Scripts\activate  # Windows

pip install -r requirements.txt

3. Configure credentials

Copy the example file and fill in your data:

bash
cp .env.example .env

Edit .env:

env
FIC_ACCESS_TOKEN=a/xxxxx.yyyyy.zzzzz
FIC_COMPANY_ID=123456
FIC_SENDER_EMAIL=billing@yourcompany.com

How to get credentials:

  1. Log into Fatture in Cloud
  2. Go to Settings > API and Integrations
  3. Create a Manual Token with required permissions
  4. The COMPANY_ID is visible in the URL when logged in

4. Configure Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "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"
      }
    }
  }
}

5. Restart Claude Desktop

Fully quit Claude Desktop (Cmd+Q on Mac) and reopen it.

💬 Usage examples

code
"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?"
"Check invoice numbering for 2025"
"Convert proforma 12 to invoice"
"Create a new client: Rossi SRL, VAT 01234567890"

⚠️ Security notes

  • Write operations (create, send_to_sdi) always require confirmation
  • Sending to SDI is irreversible
  • Invoices are created as drafts
  • SDI unique code is automatically retrieved from client registry
  • Default payment method is MP05 (bank transfer)

📋 Changelog

See CHANGELOG.md

📄 License

MIT - See LICENSE

👨‍💻 Author

Developed by Mediaform s.c.r.l. - Genova, Italy

常见问题

io.github.aringad/fattureincloud-mcp 是什么?

基于 Fatture in Cloud 的意大利电子开票 MCP server,可创建发票、发送到 SDI 并管理客户。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描111.8k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描111.8k

MCP服务构建器

by alirezarezvani

Universal
热门

从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。

帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。

平台与服务
未扫描9.8k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
83.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.9k

评论