Argentine electronic invoicing via AFIP web services. Your agent issues facturas, notas de credito, and validates CUIT/CUIL.
$ npm install @codespar/mcp-afip@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"afip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-afip@alpha"
],
"env": {
"AFIP_CERT_PATH": "<your_afip_cert_path>",
"AFIP_KEY_PATH": "<your_afip_key_path>",
"AFIP_CUIT": "<your_afip_cuit>"
}
}
}
}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.
AFIP_CERT_PATHPath to AFIP certificate (.crt)
AFIP_KEY_PATHPath to AFIP private key (.key)
AFIP_CUITCUIT number
Each tool is independent β your agent loads only what it needs to reduce context and response time.
create_invoiceget_invoiceget_last_invoice_numberget_cae_statuslist_invoice_typeslist_tax_typesget_server_statusget_authorized_points_of_saleMCP is a protocol β any framework that speaks it can mount this server.