Mexican CFDI 4.0 e-invoicing: create, stamp, and cancel invoices with SAT validation. Your agent handles Mexican fiscal compliance.
$ npm install @codespar/mcp-facturapiAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"facturapi": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-facturapi"
],
"env": {
"FACTURAPI_API_KEY": "<your_facturapi_api_key>"
}
}
}
}After restart, your agent can call any of the 20 tools below โ try create_invoice first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
FACTURAPI_API_KEYAPI key for FacturAPI
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_invoiceget_invoicelist_invoicescancel_invoicedownload_invoice_pdfdownload_invoice_xmlsend_invoice_emailcreate_customerMCP is a protocol โ any framework that speaks it can mount this server.