mcp-server-acube
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ACUBE_EMAIL | Yes | Your A-Cube account email. Required. | |
| ACUBE_PASSWORD | Yes | Your A-Cube account password. Required. | |
| ACUBE_ENVIRONMENT | No | API environment: 'sandbox' or 'production'. | sandbox |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
A-Cube electronic invoicing (Italian SDI/FatturaPA).
ACTIVE ENVIRONMENT: SANDBOX.
Environments:
Both "sandbox" and "production" use the SAME A-Cube credentials. The ONLY switch is the ACUBE_ENVIRONMENT variable, which routes to the matching base URLs (sandbox -> *-sandbox.acubeapi.com).
To work in both at once, configure TWO MCP servers (one per environment).
Every tool description is prefixed with [SANDBOX] or [PRODUCTION] so you can see the active environment at a glance. Write operations also echo an "environment" field in their response.
Safety:
"send_invoice" / "send_simplified_invoice" in PRODUCTION submit a REAL, irreversible invoice to SDI (correcting it requires a credit note).
ALWAYS test a new invoice in sandbox first, then resend in production.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| send_invoiceB | [SANDBOX] Send a FatturaPA invoice to SDI. Returns the assigned UUID (HTTP 202). |
| send_simplified_invoiceA | [SANDBOX] Send a simplified FatturaPA to SDI (max 400 EUR). Returns UUID. |
| list_invoicesA | [SANDBOX] List/search SDI invoices. Filters: sender/recipient name or VAT, invoice number, document type, direction, status, date ranges. Use invoice_series to filter by exact series suffix (e.g. 'Servizi' matches only '1/Servizi', not '100/CI'). Default compact view returns key fields only. Add specific extra fields if needed. Use fields:['*'] only when full FatturaPA payload is required. |
| get_invoiceA | [SANDBOX] Get a specific invoice by UUID. Formats: json, xml, pdf (base64), html. |
| extract_invoice_from_pdfA | [SANDBOX] Upload a PDF (base64) for AI extraction to FatturaPA. Returns job UUID. |
| get_extraction_statusC | [SANDBOX] Check PDF extraction job status by UUID. |
| get_extraction_resultB | [SANDBOX] Get completed extraction result as FatturaPA (JSON or XML). |
| list_notificationsA | [SANDBOX] List SDI notifications for sent invoices. Types: NS=Rejection, MT=Metadata, RC=Delivery, MC=Non-delivery, EC=Outcome, DT=Deadline. |
| get_notificationB | [SANDBOX] Get a specific SDI notification by UUID (JSON or XML). |
| mark_notifications_downloadedC | [SANDBOX] Mark SDI notifications as downloaded by UUIDs. |
| verify_fiscal_idB | [SANDBOX] Verify an Italian codice fiscale or P.IVA with Agenzia delle Entrate. |
| verify_companyB | [SANDBOX] Full company data by P.IVA/CF: denominazione, PEC, codice destinatario, indirizzo, ATECO, soci. |
| verify_simple_companyC | [SANDBOX] Basic company info by P.IVA/CF (simplified view). |
| verify_split_paymentC | [SANDBOX] Check split payment (scissione pagamenti) status for a P.IVA. |
| send_receiptB | [SANDBOX] Send an electronic receipt (scontrino). Not available 23:55-00:00 Italian time. |
| get_receipt_detailsC | [SANDBOX] Get receipt details by ID. |
| void_receiptC | [SANDBOX] Void/cancel a receipt (annullamento scontrino). |
| return_receipt_itemsC | [SANDBOX] Process item returns on a receipt (reso). |
| list_webhook_configsB | [SANDBOX] List all webhook configurations. |
| create_webhook_configC | [SANDBOX] Create a webhook for A-Cube events. |
| get_webhook_configC | [SANDBOX] Get a webhook configuration by ID. |
| update_webhook_configC | [SANDBOX] Update a webhook configuration. |
| delete_webhook_configC | [SANDBOX] Delete a webhook configuration. |
| list_business_registriesB | [SANDBOX] List all business registry configurations (anagrafiche aziendali). |
| create_business_registryC | [SANDBOX] Create a business registry (anagrafica aziendale) for SDI invoicing. |
| get_business_registryB | [SANDBOX] Get a business registry configuration by ID. |
| update_business_registryC | [SANDBOX] Update a business registry configuration. |
| list_appointeesB | [SANDBOX] List all ADE tax appointees (intermediari fiscali). |
| create_appointeeC | [SANDBOX] Create an ADE appointee (intermediario fiscale). |
| get_appointeeC | [SANDBOX] Get an ADE appointee by ID. |
| update_appointeeC | [SANDBOX] Update an ADE appointee. |
| schedule_invoice_downloadA | [SANDBOX] Schedule daily invoice download from Cassetto Fiscale (runs 03:00 UTC). |
| get_download_scheduleB | [SANDBOX] Check invoice download schedule status for a fiscal ID. |
| update_download_scheduleC | [SANDBOX] Update a Cassetto Fiscale download schedule. |
| delete_download_scheduleB | [SANDBOX] Delete a Cassetto Fiscale download schedule. |
| download_invoices_onceB | [SANDBOX] One-time invoice download from Cassetto Fiscale by date range. |
| count_rejected_invoicesC | [SANDBOX] Count rejected invoices from Cassetto Fiscale for a fiscal ID. |
| recover_rejected_invoicesC | [SANDBOX] Recover and reprocess rejected Cassetto Fiscale invoices. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 38 tools
Tools are organized around clearly separable resources (invoices, notifications, extraction jobs, receipts, webhooks, business registries, appointees, Cassetto Fiscale schedules) and the descriptions differentiate near-neighbors such as send_invoice vs send_simplified_invoice and get_extraction_status vs get_extraction_result. The only real friction is the verification cluster (verify_fiscal_id, verify_company, verify_simple_company, verify_split_payment), where an agent must read descriptions to pick the right granularity, plus send_invoice vs the Cassetto Fiscale 'recover/reprocess' path.
Every tool is snake_case verb_noun (get_invoice, list_notifications, create_webhook_config, delete_download_schedule), with a small, predictable verb set reused across resource groups. Even the few multi-word cases (extract_invoice_from_pdf, return_receipt_items, mark_notifications_downloaded) follow the same convention and read naturally.
38 tools is heavy, but the server covers roughly eight genuinely distinct sub-domains (invoicing, notifications, PDF extraction, receipts, fiscal verification, webhooks, registries/appointees, Cassetto Fiscale), each of which has only 3-5 tools. It is defensible scoping rather than tool bloat, but the surface is large enough to be a discovery burden for an agent.
Core lifecycles are covered: full CRUD for webhooks and download schedules, list/create/get for invoices with send and notification tracking, and send/void/return for receipts. Gaps remain at the edges — business registries and appointees have create/get/update but no delete, and receipts have no list operation, leaving a few dead ends the agent cannot resolve.