ClaudeCodeMod

All shelves / MCP servers

Mcp Alegra

io.github.codespar/mcp-alegra · 279 stars · TypeScript · MIT

MCP server MCP server for Alegra — cloud accounting platform for LATAM (Colombian-founded), supporting invoicing, contacts, inventory, and payments across CO, MX, AR, CL, and more.

Install

The repo has no one-line install. Follow its README.

Published as

  • npm@codespar/mcp-alegrastdio

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
ALEGRA_EMAILRequiredEnv varAccount email for Alegra
ALEGRA_API_TOKENRequired · SecretEnv varAPI token for Alegra

Files

packages/colombia/alegra/README.md

MCP Alegra

MCP server for Alegra — cloud accounting platform for LATAM (Colombian-founded), supporting invoicing, contacts, inventory, and payments across CO, MX, AR, CL, and more.

Quick Start

# Set your credentials
export ALEGRA_EMAIL="your-email@example.com"
export ALEGRA_API_TOKEN="your-api-token"

# Run via stdio
npx tsx packages/colombia/alegra/src/index.ts

# Run via HTTP
npx tsx packages/colombia/alegra/src/index.ts --http

Environment Variables

Variable Required Description
ALEGRA_EMAIL Yes Account email address
ALEGRA_API_TOKEN Yes API token from Alegra settings
MCP_HTTP No Set to "true" to enable HTTP transport
MCP_PORT No HTTP port (default: 3000)

Tools (20)

Tool Purpose
create_invoice Create an invoice
get_invoice Get invoice details by ID
list_invoices List invoices
void_invoice Void/cancel an invoice
get_invoice_pdf Get invoice PDF download URL
send_invoice Email an invoice to one or more recipients
create_contact Create a contact (customer or supplier)
update_contact Update an existing contact
delete_contact Delete a contact
list_contacts List contacts
create_item Create a product or service item
update_item Update an existing item
list_items List products and services
list_payments List payments
get_payment Get payment by ID
create_payment Record a payment
void_payment Void/annul a payment
list_categories List item categories (chart of accounts)
list_bank_accounts List bank accounts
get_company Get company profile and settings

Auth

Uses Basic authentication with email and API token. Obtain your API token from the Alegra settings page under "API" section.

API Reference


Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

Authentication

Set these environment variables before launching the server:

  • ALEGRA_EMAIL (required) — Account email for Alegra
  • ALEGRA_API_TOKEN (required, secret) — API token for Alegra

Issue credentials at the provider's developer portal: https://developer.alegra.com.

License

MIT

Facts

Kind
MCP server
Repo
codespar/mcp-dev-latam
Group
Uncategorized
Stars
279
License
MIT
Language
TypeScript
Last push
2026-09-27
Forks
52
MCP Registry
io.github.codespar/mcp-alegra
Homepage
codespar.dev/servers
Topics
agentic-commerce, ai-agents, brazil, claude, fintech, latin-america, llm-tools, mcp, model-context-protocol, nfe, open-finance, payments, pix

From the same owner

  1. 728Mcp Andreaniio.github.codespar/mcp-andreani279
  2. 729Mcp Ap2io.github.codespar/mcp-ap2279
  3. 730Mcp Asaasio.github.codespar/mcp-asaas279
  4. 731Mcp Bcraio.github.codespar/mcp-bcra279
  5. 732Mcp Belvoio.github.codespar/mcp-belvo279
  6. 733Mcp Bind Erpio.github.codespar/mcp-bind-erp279