# io.github.codespar/mcp-flow-cl (npm · @codespar/mcp-flow-cl)

MCP server for Flow.cl — Chilean PSP: hosted payment orders, Webpay, refunds, HMAC-signed API

- Trust score: 69/100 (medium)
- Change this week: +45
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-flow-cl`: 69/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl.md), [page](https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-flow-cl`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 31 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 919 tokens (~114/item across 8 items; 8 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-flow-cl -- npx -y @codespar/mcp-flow-cl
```

### Codex

```bash
codex mcp add codespar-mcp-flow-cl -- npx -y @codespar/mcp-flow-cl
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-flow-cl": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-flow-cl"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-flow-cl --command npx --arg -y --arg @codespar/mcp-flow-cl
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-flow-cl:
    command: "npx"
    args: ["-y", "@codespar/mcp-flow-cl"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-flow-cl": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-flow-cl"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-03 (score 68, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 64, +40)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional] Licence: MIT

### 2026-08-01 (score 24, +3)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 46, +22)

- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 24, −22)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (8)

### `create_payment` (~238 tokens)

Create a hosted payment order (POST /payment/create). Returns url + token + flowOrder; the customer pays at url + '?token=' + token. paymentMethod 9 offers every method Flow has enabled for the merchant (Webpay, ETpay bank transfer, cash, international cards).

Input parameters:

- `amount` (number, required): Amount to charge (integer for CLP)
- `commerceOrder` (string, required): Your unique order id
- `currency` (string): Currency (CLP or UF). Default CLP
- `email` (string, required): Customer email
- `optional` (object): Optional JSON of extra fields echoed back in getStatus
- `paymentMethod` (number): 1 Webpay, 3 all cards, 5 Onepay, 8 ETpay, 9 all enabled methods. Default 9
- `subject` (string, required): Payment description shown to the customer
- `timeout` (number): Seconds the payment order stays valid (omit = no expiry)
- `urlConfirmation` (string, required): Server-to-server confirmation callback URL (POST, receives token)
- `urlReturn` (string, required): URL the customer returns to after paying

### `create_payment_by_email` (~190 tokens)

Create a collection order Flow emails to the customer (POST /payment/createEmail). Same shape as create_payment but Flow delivers the payment link by email — no checkout redirect needed.

Input parameters:

- `amount` (number, required): Amount to charge (integer for CLP)
- `commerceOrder` (string, required): Your unique order id
- `currency` (string): Currency (CLP or UF). Default CLP
- `email` (string, required): Customer email that receives the collection link
- `forward_days_after` (number): Resend the email N days after the first send
- `forward_times` (number): How many times to resend
- `subject` (string, required): Payment description shown to the customer
- `timeout` (number): Seconds the payment order stays valid
- `urlConfirmation` (string, required): Server-to-server confirmation callback URL
- `urlReturn` (string, required): URL the customer returns to after paying

### `get_payment_status` (~61 tokens)

Get a payment order's status by Flow token (GET /payment/getStatus). status: 1 pending, 2 paid, 3 rejected, 4 canceled.

Input parameters:

- `token` (string, required): Flow payment token (from create_payment or the confirmation callback)

### `get_payment_status_by_commerce_id` (~49 tokens)

Get a payment order's status by your commerceOrder id (GET /payment/getStatusByCommerceId).

Input parameters:

- `commerceId` (string, required): The commerceOrder you sent on create

### `get_payment_status_by_flow_order` (~48 tokens)

Get a payment order's status by Flow order number (GET /payment/getStatusByFlowOrder).

Input parameters:

- `flowOrder` (number, required): Flow order number (returned by create_payment)

### `list_payments` (~79 tokens)

List payments received on a given date (GET /payment/getPayments). Paged; date is the merchant's local day.

Input parameters:

- `date` (string, required): Date to list, format YYYY-MM-DD
- `limit` (number): Page size, max 100 (default 10)
- `start` (number): Pagination offset (default 0)

### `create_refund` (~134 tokens)

Create a refund order (POST /refund/create). Refund a received payment fully or partially; Flow notifies urlCallBack when the refund resolves.

Input parameters:

- `amount` (number, required): Amount to refund
- `commerceTrxId` (string): Original commerceOrder (alternative to flowTrxId)
- `flowTrxId` (number): Original Flow order number (alternative to commerceTrxId)
- `receiverEmail` (string, required): Email of the refund receiver
- `refundCommerceOrder` (string, required): Your unique refund order id
- `urlCallBack` (string, required): Callback URL Flow notifies when the refund resolves

### `get_refund_status` (~53 tokens)

Get a refund order's status by refund token (GET /refund/getStatus). status: created, accepted, rejected, refunded, canceled.

Input parameters:

- `token` (string, required): Refund token (returned by create_refund)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl#diagnostics

## Score history

- 2026-08-04: 69
- 2026-08-03: 68
- 2026-08-02: 64
- 2026-08-01: 24
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 24
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-flow-cl
- Socket report: https://socket.dev/npm/package/@codespar/mcp-flow-cl
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-flow-cl/codespar-mcp-flow-cl
