aruba-fatturazione-elettronica-mcp
Exposes read-only Aruba Fatturazione Elettronica API operations for managing electronic invoices, notifications, and providing fiscal document helpers.
README
Aruba Fatturazione Elettronica MCP Read-only
Documentation: https://mnbro.github.io/aruba-fatturazione-elettronica-mcp/
- Tool list: https://mnbro.github.io/aruba-fatturazione-elettronica-mcp/tools/
- Docker: https://mnbro.github.io/aruba-fatturazione-elettronica-mcp/docker/
- LLM-friendly tools: https://mnbro.github.io/aruba-fatturazione-elettronica-mcp/llm-tools/
- API parity: https://mnbro.github.io/aruba-fatturazione-elettronica-mcp/api-parity/
This MCP server exposes read-only Aruba Fatturazione Elettronica API operations. It does not send invoices, upload files, accept or reject invoices, update resources, delete resources, or expose business POST/PUT/PATCH/DELETE operations.
Authentication uses POST /auth/signin because Aruba requires it for signin and refresh token lifecycle. Those POST requests are internal auth operations only.
The server also includes LLM-friendly read-only tools for fiscal document normalization, document context, lifecycle status, risk checks, FatturaPA XML parsing, SDI notification explanations, VAT summaries, duplicate/anomaly checks, safe redaction and generic Markdown/event exports. The optional local SQLite index writes only to the configured local database path and never modifies Aruba.
This is an Aruba Fatturazione Elettronica domain MCP, not a business workflow orchestrator. It does not call other MCP servers or integrate with external CRM, email, wiki, chat, billing or reporting systems.
Badges for PyPI, release, downloads and Codecov become active after the first publication/release and Codecov setup.
License
This project is licensed under the PolyForm Internal Use License 1.0.0.
You may use and modify it for your own internal business operations, including commercial internal use. You may not redistribute it, resell it, sublicense it, or offer it as a productized service to third parties.
Install
uv sync
cp .env.example .env
Set ARUBA_ENV=demo first unless you have a specific reason to start in production.
Run
uv run aruba-fatturazione-elettronica-mcp
python -m aruba_fatturazione_elettronica_mcp is also supported.
Docker
The Debian slim based container image is published to GitHub Container Registry:
docker run --rm -i \
--env ARUBA_ENV=demo \
--env ARUBA_USERNAME \
--env ARUBA_PASSWORD \
ghcr.io/mnbro/aruba-fatturazione-elettronica-mcp:latest
See the Docker documentation for MCP client configuration and local index volume setup.
LLM-friendly helpers
Recommended helper tools for agents:
normalize_fiscal_documentget_document_contextfiscal_document_summarydocument_lifecycle_statusdocument_risk_checkvalidate_fiscal_document_consistencycounterparty_document_historylist_pending_or_problem_documentsfiscal_period_summarytax_summaryexport_fiscal_eventsexport_document_markdownexport_period_markdownexport_counterparty_markdownprepare_document_match_hints
These helpers are built over the existing read-only Aruba wrappers. They normalize, summarize, validate and export fiscal document context without modifying Aruba state.
MCP client config
{
"mcpServers": {
"aruba-fatturazione-elettronica-readonly": {
"command": "uvx",
"args": ["aruba-fatturazione-elettronica-mcp"],
"env": {
"ARUBA_ENV": "demo",
"ARUBA_USERNAME": "...",
"ARUBA_PASSWORD": "..."
}
}
}
}
API parity table
| Aruba section | Aruba endpoint | MCP tool | Implemented | Sensitive read | Binary |
|---|---|---|---|---|---|
| Auth | GET /auth/userInfo |
aruba_get_user_info |
yes | no | no |
| Auth | GET /auth/multicedenti |
aruba_list_multicedenti |
yes | no | no |
| Auth | GET /auth/multicedenti/{id} |
aruba_get_multicedente_by_id |
yes | no | no |
| Sent invoices | GET /services/invoice/out/findByUsername |
aruba_find_sent_invoices |
yes | no | no |
| Sent invoices | GET /services/invoice/out/getByFilename |
aruba_get_sent_invoice_by_filename |
yes | conditional | no |
| Sent invoices | GET /services/invoice/out/getZipByFilename |
aruba_get_sent_invoice_zip_by_filename |
yes | yes | yes |
| Sent invoices | GET /services/invoice/out/{invoiceId} |
aruba_get_sent_invoice_by_id |
yes | conditional | no |
| Sent invoices | GET /services/invoice/out/getByIdSdi |
aruba_get_sent_invoice_by_sdi_id |
yes | conditional | no |
| Sent invoices | GET /services/invoice/out/pdd |
aruba_get_sent_invoice_pdd |
yes | yes | yes |
| Received invoices | GET /services/invoice/in/findByUsername |
aruba_find_received_invoices |
yes | no | no |
| Received invoices | GET /services/invoice/in/getByFilename |
aruba_get_received_invoice_by_filename |
yes | conditional | no |
| Received invoices | GET /services/invoice/in/getZipByFilename |
aruba_get_received_invoice_zip_by_filename |
yes | yes | yes |
| Received invoices | GET /services/invoice/in/{invoiceId} |
aruba_get_received_invoice_by_id |
yes | conditional | no |
| Received invoices | GET /services/invoice/in/getByIdSdi |
aruba_get_received_invoice_by_sdi_id |
yes | conditional | no |
| Received invoices | GET /services/invoice/in/getInvoiceWithUnsignedFile |
aruba_get_received_invoice_unsigned_file |
yes | yes | no |
| Received invoices | GET /services/invoice/in/pdd |
aruba_get_received_invoice_pdd |
yes | yes | yes |
| Sent notifications | GET /services/notification/out/getByFilename |
aruba_get_sent_notification_by_filename |
yes | yes | no |
| Sent notifications | GET /services/notification/out/getByInvoiceFilename |
aruba_get_sent_notifications_by_invoice_filename |
yes | yes | no |
| Sent notifications | GET /services/notification/out/{invoiceId} |
aruba_get_sent_notifications_by_invoice_id |
yes | yes | no |
| Received notifications | GET /services/notification/in/getByFilename |
aruba_get_received_notification_by_filename |
yes | yes | no |
| Received notifications | GET /services/notification/in/getByInvoiceFilename |
aruba_get_received_notifications_by_invoice_filename |
yes | yes | no |
| Received notifications | GET /services/notification/in/{invoiceId} |
aruba_get_received_notifications_by_invoice_id |
yes | yes | no |
| Customer result | GET /services/invoice/in/sendEsitoCommittente/{filename} |
aruba_get_customer_result_status |
yes | no | no |
Security notes
Some responses can contain fiscal XML, PDF, ZIP or Base64 payloads with sensitive tax data. Credentials are read only from environment variables. Tokens, passwords, Base64, XML, PDF, ZIP and likely VAT/fiscal codes are redacted from logs.
Use dedicated credentials where possible, not shared admin accounts. Verify contractually that Aruba Web Services/API access is enabled for your account. Start with ARUBA_ENV=demo.
Attribution
Inspired by these projects:
zangetsu02/fatturazione-elettronica-arubaandreafalzetti/node-fatturazione-elettronica-aruba
No code was copied verbatim in this implementation. Preserve original notices if future changes adapt source code from third-party projects.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。