Worldpay

Finance and commerce

MCP server for Access Worldpay, enterprise processor: authorize, capture, refund, tokenize.

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

About Worldpay

Worldpay is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Access Worldpay, enterprise processor: authorize, capture, refund, tokenize.

Worldpay runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-worldpay@0.2.0-alpha.3 and talks to it over standard input and output. It needs WORLDPAY_USERNAME, WORLDPAY_PASSWORD and WORLDPAY_ENTITY set before Worldpay starts.

Worldpay is listed in the official MCP registry as io.github.codespar/mcp-worldpay, version 0.2.0-alpha.3.

At a glance

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

How to set up Worldpay

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

Worldpay compared with similar servers

  • X402 by codespar has fewer GitHub stars than Worldpay (278 against 278); both are community servers, and both run locally.
  • Wompi by codespar has fewer GitHub stars than Worldpay (278 against 278); both are community servers, and both run locally.
  • Xero (codespar) by codespar has fewer GitHub stars than Worldpay (278 against 278); both are community servers, and both run locally.

Before you connect Worldpay

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

Marketing use cases for Worldpay

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

Small business

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

Enterprise

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

Worldpay 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-worldpay

MCP server for Access Worldpay, global enterprise payment processor.

Worldpay is one of the largest card acquirers in the world and a default rail for EU/UK/US enterprise merchants. This server targets the modern Access Worldpay REST surface, not the legacy FIS/WPG XML gateway.

Status: 0.1.0-alpha.1, Access Worldpay uses HATEOAS action links (linkData) for lifecycle operations. Exact endpoint paths and media-type versions have been validated against the public docs (v7 payments, v4 verifications, v3 tokens, v1 fraudsight/disputes) but are moving targets. See Stability below.

Tools (22)

Tool Purpose
verify_account Run an AVS/CVC account verification on a card without charging it.
authorize_payment Authorize a card payment.
capture_payment Capture (settle) an authorized payment.
cancel_payment Void an authorization that has not yet been captured.
refund_payment Refund a captured payment.
reverse_payment Reverse a payment atomically, voids if not yet captured, refunds if already captured.
get_payment Retrieve the detail of a payment event by its Worldpay eventId.
create_token Tokenize a card for reuse (card-on-file).
get_token Retrieve a stored card token's metadata (bin, scheme, last4, cardHolderName, expiryDate, etc.).
update_token Update metadata on a stored card token (e.g.
delete_token Delete a stored card token.
query_payment Look up a payment by the merchant-side transactionReference you assigned on authorize_payment.
list_payment_events List recent payment events for the configured merchant entity.
lookup_3ds Step 1 of 3DS2, submit device-data-collection (DDC) output to Worldpay to determine whether a challenge is...
authenticate_3ds Step 2 of 3DS2, authenticate the cardholder.
challenge_3ds Step 3 of 3DS2, post the CReq back after the issuer challenge window closes, to retrieve the final authent...
get_dispute Retrieve a dispute's current state, evidence requirements, deadlines, and HATEOAS action links.
defend_dispute Open a defence on a dispute, signals intent to defend before submit_dispute_evidence.
get_reconciliation_batch Retrieve a reconciliation batch (daily settlement file equivalent), lists all settled transactions, fees,...
accept_dispute Accept a dispute (forfeit the chargeback).
submit_dispute_evidence Submit evidence to defend a dispute.
fraud_screen Run a standalone FraudSight assessment on a payment method (no authorization).

Install

npm install @codespar/mcp-worldpay@alpha

Environment

WORLDPAY_USERNAME="..."    # API username (Basic Auth)
WORLDPAY_PASSWORD="..."    # API password (Basic Auth)
WORLDPAY_ENTITY="..."      # Merchant entity id; injected as merchant.entity
WORLDPAY_ENV="sandbox"     # sandbox | production; default sandbox
WORLDPAY_API_VERSION="v7"  # Payments API version; default v7

Authentication

HTTP Basic auth with your Worldpay-issued credentials:

Authorization: Basic base64(username:password)

Each API family uses its own versioned media type. The server sets the correct Content-Type / Accept headers per call:

Family Media type
payments application/vnd.worldpay.payments-v7+json
verifications application/vnd.worldpay.verifications.accounts-v4+json
tokens application/vnd.worldpay.tokens-v3.hal+json
fraudsight application/vnd.worldpay.fraudsight-v1.hal+json
disputes application/vnd.worldpay.disputes-v1.hal+json

HATEOAS and linkData

Access Worldpay is HATEOAS-driven. After authorize_payment, the response contains _links such as payments:settle, payments:partialSettle, payments:cancel, payments:refund, payments:partialRefund, and payments:reverse. Each href ends in an opaque segment we call linkData, e.g.:

/payments/settlements/eyJrIjoiazNhYjYzMiJ9
                       ^^^^^^^^^^^^^^^^^^^ linkData

Extract that segment and pass it as linkData to capture_payment / cancel_payment / refund_payment / reverse_payment. When omitted, the server POSTs to the bare resource path; this only works for onboardings configured for transactionReference-addressable settlements.

Run

# stdio (default, for Claude Desktop, Cursor, etc.)
npx @codespar/mcp-worldpay

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-worldpay

Stability

  • Published as 0.1.0-alpha.1 until we validate end-to-end against a real sandbox account.
  • Global Payments acquired Worldpay in January 2026. Base URLs (try.access.worldpay.com / access.worldpay.com) remain valid as of this writing, but Global Payments has publicly signalled platform consolidation. Expect URL and media-type rebranding over the next 12–18 months. Pin the WORLDPAY_API_VERSION env var and watch the release notes.
  • This server does not cover: Worldpay Total (US CNP-API legacy), the WPG/FIS XML gateway, Disputes Direct (separate from Access Disputes), or Worldpay for Platforms. Those are separate surfaces and would be separate packages.

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.

License

MIT

Questions about Worldpay

What is the Worldpay MCP server?

MCP server for Access Worldpay, enterprise processor: authorize, capture, refund, tokenize. Worldpay 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 Worldpay MCP server?

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

Does Worldpay need an API key?

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

Is Worldpay an official MCP server?

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

What license is Worldpay under?

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