Cloud accounting for LatAm: invoicing, expenses, inventory, and DIAN compliance. Your agent handles multi-country bookkeeping from one API.
$ npm install @codespar/mcp-alegraAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"alegra": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-alegra"
],
"env": {
"ALEGRA_EMAIL": "<your_alegra_email>",
"ALEGRA_API_TOKEN": "<your_alegra_api_token>"
}
}
}
}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.
ALEGRA_EMAILAccount email for Alegra
ALEGRA_API_TOKENAPI token for Alegra
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_invoiceget_invoicelist_invoicesvoid_invoiceget_invoice_pdfsend_invoicecreate_contactupdate_contactMCP is a protocol โ any framework that speaks it can mount this server.