io.github.bperezpereira/mcp icon

mcp

by Bperezpereira

io.github.bperezpereira/mcp

Chilean DTE/SII invoicing — issue invoices, reconcile payments and manage clients with AI agents.

Wasabil MCP Server

Connect Claude, Cursor, or any MCP-compatible AI client to your Wasabil account. Issue Chilean electronic invoices (DTE/SII), reconcile bank payments, and manage clients — all through natural language.

Wasabil is the first electronic invoicing platform in Chile with native MCP support.

Quick install

Claude Code (CLI)

claude mcp add --transport http --scope user wasabil https://mcp.wasabil.com

Then open Claude Code, type /mcp, select wasabil, and choose Authenticate. A browser window will open — log in to your Wasabil account and authorize access.

Claude.ai

  1. Go to Customize → Connectors in claude.ai
  2. Click +Add custom connector
  3. Name: Wasabil / URL: https://mcp.wasabil.com
  4. Authorize with your Wasabil account

Other MCP clients (Cursor, Windsurf, etc.)

Add a remote MCP server with URL https://mcp.wasabil.com. If your client asks for OAuth details:

Field Value
MCP Server URL https://mcp.wasabil.com
Authorization URL https://app.wasabil.com/oauth/authorize
Token URL https://api.wasabil.com/api/oauth/token
Issuer https://api.wasabil.com
Registration URL https://mcp.wasabil.com/oauth/register
Client ID wasabil-mcp-server
Client Secret (leave empty)
Grant type authorization_code
PKCE S256 (required)
Token endpoint auth method none

What you can do

Once connected, your AI can:

Tool What it does
Documents Issue invoices, boletas, credit notes, purchase invoices
Search Query documents by folio, client, date, reference
Reports Sales by month, product, client, or custom attribute
Attributes Assign and filter custom metafields
Clients Create and find document recipients
Suppliers Manage suppliers for purchase invoices
Reconciliation Link bank payments to documents
Transactions Import bank statement movements

Example prompts

"Emite una boleta por $29.990 a nombre de Juan Pérez por suscripción mensual"

"Muéstrame las facturas emitidas esta semana"

"¿Cuáles son los documentos pendientes de conciliar?"

"Genera un reporte de ventas de mayo 2026 por cliente"

"Emite una nota de crédito para anular la factura folio 1234"

REST API

If you prefer direct API integration, Wasabil exposes a full REST API:

Base URL: https://api.wasabil.com/api
Auth:     Bearer token (get yours at app.wasabil.com/api-tokens)

See wasabil.com/developers for the full API reference, including:

  • All DTE types (33, 34, 39, 41, 46, 52, 56, 61, 110, 111, 112, 200)
  • Webhooks
  • Bulk issuance (up to 100 documents per request)
  • Bank reconciliation API
  • OAuth 2.0 for multi-company integrations

Code examples are in the examples/ folder.

Requirements

  • A Wasabil account (wasabil.com)
  • Any plan (Growth, Full, or Unlimited) — MCP and API are available on all plans
  • An MCP-compatible client (Claude Code, Claude.ai, Cursor, Windsurf, or any client supporting OAuth 2.0 + PKCE)

Security

The MCP server uses OAuth 2.0 with PKCE. Your Wasabil credentials are never shared with the AI client — only a scoped access token tied to the specific company you authorize.

Full documentation

Support


Wasabil is built in Santiago, Chile. Backed by Platanus Ventures and Start-Up Chile.