Fattureincloud Mcp

io.github.aringad由 GitHub 账号 aringad 发布v1.2.0更新于 Oct 24, 2026

Italian e-invoicing with Fatture in Cloud. Create, send to SDI, manage clients.

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

非官方 MCP 服务器,将助手连接到 Fatture in Cloud,可创建、管理并发送意大利电子发票、客户和费用。

可以做什么
列出、读取并查看发票、贷项通知单、形式发票和收到的供应商单据,包括 PDF 链接和电子发票状态。创建和更新客户,创建草稿发票、贷项通知单、形式发票和被动费用单据。将形式发票转换为发票,部分更新或复制草稿,删除草稿单据。将发票和贷项通知单发送至意大利 SDI 电子发票系统,并通过电子邮件发送副本。读取成本/收入中心、年度收入与利润看板,并检查发票编号连续性。
适用场景
适合已使用 Fatture in Cloud 的意大利企业或会计人员,希望通过自然语言起草、审阅和提交电子发票,管理客户与费用,或按成本中心和收入中心分析开票情况。
运行要求
以本地 Python 包(pip install fattureincloud-mcp)或 Claude Desktop 捆绑包运行。需要在 FIC_ACCESS_TOKEN 中提供 Fatture in Cloud 手动 API 令牌,在 FIC_COMPANY_ID 中提供数字公司 ID;发送礼貌副本邮件还需 FIC_SENDER_EMAIL。需要访问 Fatture in Cloud API 的网络连接。
安装前请注意
该令牌可访问真实开票数据,并可创建、更新、删除单据及发送至 SDI,应谨慎限定令牌权限。发送至 SDI 和向客户发邮件属于对外操作。凭据通过环境变量传入,客户与成本中心的明文 JSON 缓存保存在用户主目录。属非官方、无关联的集成;部分客户的发票复制可能失败。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Fattureincloud Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

fattureincloud-mcp

[PyPI] [License] [MCPB] [Listed in italia-mcp-servers]

by Mediaform s.c.r.l. — Genova, Italy

MCP server that connects Claude (Desktop, Code, or any MCP client) to FattureInCloud, the leading Italian SaaS for electronic invoicing. Manage invoices, credit notes, proformas, clients, suppliers, cost/revenue centers, and supplier expenses through natural language. Italy mandates B2B/B2C e-invoicing through the Sistema di Interscambio (SDI) — this server brings AI-assisted billing to that compliance-driven workflow.

⚠️ Unofficial integration. Not affiliated with, endorsed by, or sponsored by TeamSystem S.p.A., owner of the FattureInCloud trademark. The trademark is used here for descriptive purposes only.

Features (23 tools)

ToolDescription
list_invoicesList issued invoices / credit notes / proformas by year / month
get_invoiceFull document detail by ID
get_pdf_urlPDF URL and web link for a document
list_clientsList clients with optional filter
get_company_infoConnected company info
create_clientCreate a new client
update_clientUpdate an existing client
create_invoiceCreate a draft invoice (optional revenue_center)
create_credit_noteCreate a draft credit note (optional revenue_center)
create_proformaCreate a draft proforma (optional revenue_center)
convert_proforma_to_invoiceConvert a proforma into a draft electronic invoice (optional revenue_center)
update_documentPartial update of a draft document (optional revenue_center)
duplicate_invoiceDuplicate an invoice with a new date (optional revenue_center)
delete_invoiceDelete a draft document
send_to_sdiSend invoice / credit note to the Italian e-invoice system (SDI)
get_invoice_statusE-invoice status for a document
send_emailSend a courtesy copy by email
list_received_documentsList supplier documents (exposes cost_center when present)
get_received_documentFull detail of a received document by ID
create_received_documentCreate a passive document / expense (optional cost_center)
list_cost_centersList configured cost / revenue centers
get_situationYearly dashboard: net revenue, collected, outstanding, costs, margin
check_numerationVerify invoice numbering continuity

Marking payments as "paid" is intentionally not exposed: the FattureInCloud API requires a payment account that cannot be reliably retrieved through the SDK. Use the FattureInCloud web panel for that operation.

Installation

Option 1 — Claude Desktop (MCPB bundle, recommended)

  1. Download the latest fattureincloud.mcpb from the GitHub Releases page.
  2. Drag the .mcpb file onto Claude Desktop, or use Settings → Extensions → Install from file.
  3. When prompted, fill in your FattureInCloud API token, company ID, and (optional) sender email.

That's it — no Python setup, no virtualenv.

Option 2 — Manual install via PyPI

For Claude Code users or any MCP client that reads claude_desktop_config.json-style configuration:

bash
pip install fattureincloud-mcp

Then add to your MCP client configuration (for Claude Desktop, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

json
{  "mcpServers": {    "fattureincloud": {      "command": "python",      "args": ["-m", "fattureincloud_mcp"],      "env": {        "FIC_ACCESS_TOKEN": "a/xxxxx.yyyyy.zzzzz",        "FIC_COMPANY_ID": "123456",        "FIC_SENDER_EMAIL": "[email protected]"      }    }  }}

Restart your MCP client after editing the config.

Configuration

Env varRequiredDescription
FIC_ACCESS_TOKENyesPersonal API access token (starts with a/)
FIC_COMPANY_IDyesNumeric company ID, visible in the URL when logged into FattureInCloud
FIC_SENDER_EMAILrequired for send_emailSender mailbox for courtesy copies
FIC_CACHE_DIRnoOverride cache directory (default ~/.fattureincloud-mcp/cache)
FIC_CACHE_DISABLEDnoSet to 1 to disable the local cache

How to get the FattureInCloud credentials: log into FattureInCloud, go to Settings → API and Integrations, create a Manual Token with the permissions you need. The COMPANY_ID is in the URL after /c/ once you select a company.

Usage examples

Example 1 — Create an invoice for a known client

"Find client 'Acme Srl' and create a draft invoice for €1,500 + VAT for consulting services in November 2026, payable in 30 days, on revenue center 'Project Alpha'."

Claude will:

  1. Call list_clients (cached) and pick the matching client
  2. Call list_cost_centers (cached) to validate Project Alpha exists
  3. Call create_invoice with client_id, items, dates, payment terms, and revenue_center="Project Alpha"
  4. Return the draft number and ask whether to send it to SDI

Example 2 — Cost-center analysis

"How much did I bill on the 'Project Alpha' revenue center in 2025? Break down by month."

Claude will:

  1. Call list_cost_centers to confirm the label
  2. Call list_invoices for year 2025 (the result includes revenue_center per invoice when set)
  3. Filter by revenue_center == "Project Alpha" and aggregate by month

Example 3 — Recurring invoices replay

"Duplicate every invoice issued to 'Recurring Customer Co' in October 2025, set the new dates in November, keep 30-day payment terms."

Claude will:

  1. Call list_invoices with query="Recurring Customer Co" and month=10, year=2025
  2. For each result, call duplicate_invoice with new_date set in November
  3. Return the list of new draft invoices and ask before sending

Caching

To minimize redundant calls to the FattureInCloud API, this server caches client lookups and the cost-centers list locally as JSON files (default location ~/.fattureincloud-mcp/cache/, scoped per company_id, 24-hour TTL). The cache is transparent: tool signatures don't change.

bash
# Force refresh:rm -rf ~/.fattureincloud-mcp/cache
# Disable temporarily:export FIC_CACHE_DISABLED=1

Cost / Revenue Centers

FattureInCloud uses one shared registry for cost centers (on supplier documents) and revenue centers (on issued documents). With this server you can:

  • list_cost_centers — read the registry
  • revenue_center="<label>" — assign on create_invoice, create_credit_note, create_proforma, convert_proforma_to_invoice, update_document, duplicate_invoice
  • cost_center="<label>" — assign on create_received_document

The label must already exist; centers are managed from FattureInCloud's web UI (Settings → Cost Centers). Passing an unknown label returns the list of valid labels in the error message.

Privacy & Data Handling

  • API calls go directly from your machine to FattureInCloud's servers (api-v2.fattureincloud.it). No data is routed through Mediaform or any third-party server.
  • The local cache is plaintext JSON in your home directory. You control it.
  • Credentials live only in your .env (gitignored), shell, or MCP client user_config. They are never logged or transmitted to anyone other than FattureInCloud.
  • Full Privacy Policy: https://media-form.it/privacy-policy.html
  • See also docs/PRIVACY.md for a mirrored copy of the policy.

Known issues

  • Invoice duplication may fail for some clients. A specific client configuration triggers a failure path that hasn't been reproduced yet. Workaround: duplicate manually from the FattureInCloud web panel. Tracked in docs/KNOWN_ISSUES.md — please report a reproducible case via GitHub issues.

Contributing

Issues and pull requests welcome at https://github.com/aringad/fattureincloud-mcp.

For any code change:

  1. Fork and branch from main (feat/..., fix/..., docs/...).
  2. Run pytest tests/ — all 39 tests must stay green.
  3. New code targeting cost-center / cache / new tools should ship with tests (target ≥80% coverage on new modules).
  4. Conventional commits style (feat:, fix:, docs:, chore:, test:).
  5. Open a PR. The maintainer reviews changes against the FattureInCloud API contract.

Security

For vulnerability disclosure see SECURITY.md. Preferred channel: GitHub Security Advisories.

License

MIT — see LICENSE.

Trademark

"FattureInCloud" is a trademark of TeamSystem S.p.A. This is an independent, community-built integration. It is not affiliated with, endorsed by, or sponsored by TeamSystem S.p.A. The trademark is used solely for descriptive purposes (to indicate the third-party service this software interoperates with).

Author / Support

来源:README.md,提交 847d6fe

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分