Read-only MCP server for Aruba Fatturazione Elettronica API
Project description
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/
- 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 invoice context, FatturaPA XML parsing, SDI notification explanations, VAT summaries, duplicate/anomaly checks, safe redaction and an optional local SQLite invoice index. The index writes only to the configured local database path and never modifies Aruba.
Badges for PyPI, release, downloads and Codecov become active after the first publication/release and Codecov setup.
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.
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 MIT-licensed repositories:
zangetsu02/fatturazione-elettronica-arubaandreafalzetti/node-fatturazione-elettronica-aruba
No code was copied verbatim in this initial implementation. Preserve MIT notices if future changes adapt source code.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aruba_fatturazione_elettronica_mcp-0.2.0.tar.gz.
File metadata
- Download URL: aruba_fatturazione_elettronica_mcp-0.2.0.tar.gz
- Upload date:
- Size: 136.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e05dbf0c6c6a63f0acf3861a40c91d390f80cadd83b0acd8b9539277ed2259
|
|
| MD5 |
17283a9da4b346fb8a97316e4d51d7e8
|
|
| BLAKE2b-256 |
f743f1d1a74f5b7e6ac124f2d5881076c8f2a990fd8bd995922a543d2722ceff
|
File details
Details for the file aruba_fatturazione_elettronica_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aruba_fatturazione_elettronica_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67aa27a77051ac19a94c6a8518583fe193aefb185b6808f36c0e65e801552988
|
|
| MD5 |
91be8e6d71b63e7897dc05cee9f066dc
|
|
| BLAKE2b-256 |
eb43d0d39031b06153cb8dc61b08d112532f5d57147f297d6e1b072199b924ac
|