# mcp

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/bperezpereira/mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-283

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

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "mcp": {
    "command": "npx",
    "args": ["-y","mcp-283"]
  }
}
```

## Documentation & README

# 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)

```bash
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](https://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/`](https://github.com/bperezpereira/mcp/blob/HEAD/examples/) folder.

## Requirements

- A Wasabil account ([wasabil.com](https://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

- **MCP setup guide:** [app.wasabil.com/mcp-setup](https://app.wasabil.com/mcp-setup)
- **API reference:** [app.wasabil.com/api-docs](https://app.wasabil.com/api-docs)
- **Public developer docs:** [wasabil.com/developers](https://wasabil.com/developers/)

## Support

- [wasabil.com/contacto](https://wasabil.com/contacto/)
- support@wasabil.com

---

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

