Skip to main content
Glama
README.md
# @pagosrd/mcp

Servidor MCP de PagosRD. Le permite a Claude (u otro cliente MCP) crear links de cobro, consultar pagos y reembolsar con la llave de API de tu plataforma.

## Configuración

```json
{
  "mcpServers": {
    "pagosrd": {
      "command": "npx",
      "args": ["-y", "@pagosrd/mcp"],
      "env": { "PAGOSRD_API_KEY": "sk_test_…" }
    }
  }
}
```

`PAGOSRD_API_URL` es opcional (por defecto `https://api.pagosrd.com`).

## Herramientas

| Herramienta | Qué hace |
|---|---|
| `crear_link_de_cobro` | Crea un link y devuelve la URL para el cliente. El monto se da en pesos ("4,500.00"). |
| `consultar_link`, `listar_links` | Estado de los links. |
| `cancelar_link` | Cancela un link sin pagar (destructiva). |
| `consultar_pago`, `listar_pagos` | Estado de los pagos. |
| `reembolsar_pago` | Reembolso total o parcial (destructiva: mueve dinero en live). |
| `listar_comercios` | Comercios de la plataforma. |
| `resumen_de_cobros` | Totales de los últimos días. |

Las herramientas destructivas están marcadas con `destructiveHint` para que el cliente pida confirmación.

Licencia MIT.

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation5/5

Each tool maps to a distinct resource+action pair: links (crear/consultar/listar/cancelar), pagos (consultar/listar/reembolsar), comercios (listar) and an aggregate summary. List vs. single-item get vs. summary are clearly separated by description, so misselection is unlikely.

Naming Consistency4/5

Nearly all tools follow a Spanish verb_noun pattern (crear_/consultar_/listar_/cancelar_/reembolsar_). Two minor deviations: resumen_de_cobros is noun-only, and terminology drifts between 'link_de_cobro', 'link' and 'cobros' for the same concept.

Tool Count5/5

Nine tools is well within the sweet spot and every tool corresponds to a real workflow step (create link, check/list links, cancel, inspect/list payments, refund, list merchants, daily totals). No filler tools.

Completeness4/5

Links get create/get/list/cancel and payments get get/list/refund plus a summary, covering the main lifecycle. Minor gaps: no single-merchant detail lookup (only listar_comercios), no dedicated refund-listing or link-update operation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues