Clip

Finance and commerce

MCP server for Clip (PayClip), Mexico's leading acquirer: payment links, card charges, refunds.

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

About Clip

Clip is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Clip (PayClip), Mexico's leading acquirer: payment links, card charges, refunds.

Clip runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-clip@0.1.0 and talks to it over standard input and output. It needs CLIP_AUTH_TOKEN set before Clip starts.

Clip is listed in the official MCP registry as io.github.codespar/mcp-clip, version 0.1.0.

At a glance

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

How to set up Clip

  1. Install Node.js on the machine that runs your AI app, because Clip starts with npx and downloads its package on first run.
  2. Create CLIP_AUTH_TOKEN for Clip in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Clip 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 Clip tools to confirm the connection.
  5. Run one read-only task with Clip first, and keep your app asking before each tool call until the results look right.

Clip compared with similar servers

  • Cobre by codespar has fewer GitHub stars than Clip (278 against 278); both are community servers, and both run locally.
  • Clearsale by codespar has fewer GitHub stars than Clip (278 against 278); both are community servers, and both run locally.
  • Codespar C6 by codespar has fewer GitHub stars than Clip (278 against 278); both are community servers, and both run locally.

Before you connect Clip

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

Marketing use cases for Clip

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

Small business

  • A small business can ask Clip which products and customers drive margin, then plan promotions around them.
  • Owners can use Clip to check refunds, failed payments and churn reasons without opening three dashboards.
  • Clip 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 Clip to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Clip to check spend against budget each week and move money to what's working.
  • Start Clip on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Clip read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Clip to answer revenue questions by channel and region with figures finance signs off on.
  • Clip is a community server, so have security review the code and pin a version before Clip 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

Clip 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-clip

MCP server for Clip (PayClip), Mexico's leading native acquirer. Hosted payment links, transparent card-token charges, queries and refunds, in MXN.

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "clip": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-clip"],
      "env": {
        "CLIP_AUTH_TOKEN": "your-basic-token"
      }
    }
  }
}
Claude Code
claude mcp add clip -- npx @codespar/mcp-clip

Environment

Variable Required Description
CLIP_AUTH_TOKEN yes Basic auth token from the Clip developer dashboard (sent as Authorization: Basic <token>)
CLIP_BASE_URL no API base override (default https://api.payclip.com)

Test mode: Clip distinguishes environments by the token itself, test tokens hit the sandbox processing path; there is no separate URL.

Tools (6)

Tool What it does
create_payment_link Hosted checkout link (POST /v2/checkout), the no-PCI path
get_payment_link Checkout status by id
create_payment Transparent charge with a client-side card token (POST /payments)
get_payment Payment detail
list_payments List payments, paginated
refund_payment Full or partial refund (POST /payments/{id}/refund)

Raw card numbers are never accepted, create_payment takes a token from Clip's client-side SDK. When you have no tokenization front-end, use create_payment_link.

Example

"Cobra 450 pesos por la consultoría y mándame el link."

The agent calls create_payment_link (amount: 450.00, purchase_description: "Consultoría") and returns the payment_request_url for the buyer.

Authentication

Clip issues a single Basic auth token in the developer dashboard; the server sends it as Authorization: Basic <CLIP_AUTH_TOKEN> on every call.

Enterprise

Need governance, budget limits, and audit trails for agent-driven payments on Clip? CodeSpar Enterprise adds a policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Clip

What is the Clip MCP server?

MCP server for Clip (PayClip), Mexico's leading acquirer: payment links, card charges, refunds. Clip 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 Clip MCP server?

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

Does Clip need an API key?

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

Is Clip an official MCP server?

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

What license is Clip under?

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