Flow Cl

Finance and commerce

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

Your AI app calls the Flow Cl MCP server, which does the finance and commerce work and sends the result back to the chat.

About Flow Cl

Flow Cl is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Flow.cl, Chilean PSP: hosted payment orders, Webpay, refunds, HMAC-signed API.

Flow Cl runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-flow-cl@0.1.0 and talks to it over standard input and output. It needs FLOW_API_KEY and FLOW_SECRET_KEY set before Flow Cl starts.

Flow Cl is listed in the official MCP registry as io.github.codespar/mcp-flow-cl, version 0.1.0.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-flow-cl
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-flow-cl

How to set up Flow Cl

  1. Install Node.js on the machine that runs your AI app, because Flow Cl starts with npx and downloads its package on first run.
  2. Create FLOW_API_KEY and FLOW_SECRET_KEY for Flow Cl in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Flow Cl to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Flow Cl tools to confirm the connection.
  5. Run one read-only task with Flow Cl first, and keep your app asking before each tool call until the results look right.

Flow Cl compared with similar servers

  • Focus Nfe by codespar has fewer GitHub stars than Flow Cl (278 against 278); both are community servers, and both run locally.
  • Facturapi by codespar has fewer GitHub stars than Flow Cl (278 against 278); both are community servers, and both run locally.
  • Foxbit by codespar has fewer GitHub stars than Flow Cl (278 against 278); both are community servers, and both run locally.

Before you connect Flow Cl

  • Give Flow Cl its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Flow Cl tool call until you trust what it does with them.
  • Treat text that Flow Cl fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Flow Cl on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Flow Cl

How marketing and sales teams put Flow Cl to work, by company size. Pick the size closest to yours and start Flow Cl on one use case.

Small business

  • A small business can ask Flow Cl which products and customers drive margin, then plan promotions around them.
  • Owners can use Flow Cl to check refunds, failed payments and churn reasons without opening three dashboards.
  • Flow Cl runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Flow Cl to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Flow Cl to check spend against budget each week and move money to what's working.
  • Start Flow Cl on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Flow Cl read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Flow Cl to answer revenue questions by channel and region with figures finance signs off on.
  • Flow Cl is a community server, so have security review the code and pin a version before Flow Cl touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Flow Cl README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-flow-cl

MCP server for Flow (flow.cl), the Chile-native PSP: one hosted payment order covers Webpay (credit/debit), ETpay bank transfer, cash networks and international cards. Refunds included. Every API call is HMAC-SHA256 signed.

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "flow-cl": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-flow-cl"],
      "env": {
        "FLOW_API_KEY": "your-flow-api-key",
        "FLOW_SECRET_KEY": "your-flow-secret-key",
        "FLOW_ENV": "sandbox"
      }
    }
  }
}
Claude Code
claude mcp add flow-cl --env FLOW_API_KEY=... --env FLOW_SECRET_KEY=... -- npx -y @codespar/mcp-flow-cl
Cursor / VS Code

Add the same block to .cursor/mcp.json or .vscode/mcp.json.

Tools (8)

Tool Endpoint What it does
create_payment POST /payment/create Hosted payment order; returns url + token the customer pays at
create_payment_by_email POST /payment/createEmail Flow emails the customer a collection link
get_payment_status GET /payment/getStatus Status by Flow token (1 pending, 2 paid, 3 rejected, 4 canceled)
get_payment_status_by_commerce_id GET /payment/getStatusByCommerceId Status by your commerceOrder
get_payment_status_by_flow_order GET /payment/getStatusByFlowOrder Status by Flow order number
list_payments GET /payment/getPayments Payments received on a date (paged)
create_refund POST /refund/create Full or partial refund order
get_refund_status GET /refund/getStatus Refund status by refund token

Authentication

Flow signs every request: parameters are sorted alphabetically, concatenated as name+value, and signed with HMAC-SHA256 using your secretKey. This server does the signing for you, set the two env vars and call tools with plain arguments.

Variable Required Description
FLOW_API_KEY yes Flow merchant API key
FLOW_SECRET_KEY yes HMAC signing secret (never sent on the wire)
FLOW_ENV no sandbox (default) or production

Sandbox: register at sandbox.flow.cl, the sandbox issues its own key pair.

Example

"Create a Flow payment order for CLP 25,000, subject 'Plan Pro mensual', email cliente@ejemplo.cl, and give me the payment link."

The agent calls create_payment and returns url?token=..., the customer picks Webpay, ETpay or cash at Flow's hosted page.

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.

Managed tier

This open-source server calls Flow's API directly with your credentials. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, governance, audit and a credential vault: codespar.dev/agents.

License

MIT

Questions about Flow Cl

What is the Flow Cl MCP server?

MCP server for Flow.cl, Chilean PSP: hosted payment orders, Webpay, refunds, HMAC-signed API. Flow Cl is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Flow Cl MCP server?

Add Flow Cl to your AI app's MCP config with the command npx -y @codespar/mcp-flow-cl@0.1.0. In Claude Code, run claude mcp add --transport stdio codespar-flow-cl -- npx -y @codespar/mcp-flow-cl@0.1.0. To run Flow Cl this way you need Node.js installed.

Does Flow Cl need an API key?

Yes. Flow Cl expects FLOW_API_KEY and FLOW_SECRET_KEY to be set. Create the key for Flow Cl in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Flow Cl an official MCP server?

No. Flow Cl is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Flow Cl access to company data.

What license is Flow Cl under?

Flow Cl is released under the MIT license, according to its GitHub repository. The license covers the code of Flow Cl; the service it connects to has its own terms.