MCP cover image
See in Github
2025-03-07

MCP Server for Worldpay APIs

1

Github Watches

0

Github Forks

0

Github Stars

Introduction

This is a simple MCP server for Worldpay APIs.

It implements the Model Context Protocol to make and query payments.

There are two versions of the server:

  • server-stdio.js - a simple server that uses the stdio transport.
  • server-sse.js - a server that uses the SSE transport.

The stdio version has been tested using Claude Desktop.

The sse version has been tested using Cursor.

Tools

Make Payment

Make Payment

Query Payments

Query Payments

Generate Checkout Form

The generateCheckoutForm tool creates customized checkout form code for integrating Worldpay payment processing into your application. It supports both web and React frameworks.

Parameters:

  • checkoutId: Your Worldpay checkout ID
  • framework: The framework you're using (web or react)

Response:

The tool returns multiple content items:

  • HTML/React component code
  • CSS styling
  • JavaScript initialization code (for web framework)

This provides everything needed to quickly implement a Worldpay checkout form in your application.

Generate Checkout Form

Generate Payment Server Code

The generatePaymentServerCode tool provides server-side code for processing payments through the Worldpay API. It generates code based on your specific payment method, instrument type, and programming language.

Parameters:

  • method: Payment method (card, paypal)
  • instrument: Instrument type (plain, session)
  • language: Programming language (node, java)

Response:

The tool returns:

  • Server-side implementation code
  • Example API response for reference

Currently supports card payments with session tokens in Node.js.

Generate Payment Query

The generatePaymentQuery tool provides documentation and examples for querying the Worldpay Payment Queries API. It helps you understand how to filter and retrieve payment data using various parameters.

Parameters:

  • startDate: Start date for the query range (ISO 8601 format)
  • endDate: End date for the query range (ISO 8601 format)
  • pageSize: Maximum number of results to return (optional, default: 20)
  • currency: Filter by currency code (optional)
  • minAmount: Minimum payment amount (optional)
  • maxAmount: Maximum payment amount (optional)
  • last4Digits: Last 4 digits of card number (optional)
  • entityReferences: Merchant entity references (optional)
  • receivedEvents: Payment event types (optional)

Response:

The tool returns:

  • Comprehensive documentation on query parameters
  • Example API requests with different parameter combinations
  • Sample API response for reference

Installation

npm install

Usage

Build the server distributions.

npm run build

Configuration

stdio

The MCP stdio server is configured using a claude_desktop_config.json file.

This is a JSON file that contains the configuration for the MCP server.

{
    "mcpServers": {
        "worldpay": {
            "name": "worldpay-server",
            "command": "node",
            "args": ["PATH TO server-stdio.js"],
            "env": {
                "WORLDPAY_USERNAME": "USERNAME",
                "WORLDPAY_PASSWORD": "PASSWORD"
            }
        }

sse

The sse server is configured using environment variables.

export WORLDPAY_USERNAME=USERNAME
export WORLDPAY_PASSWORD=PASSWORD

Running the server

stdio

Claude will start the stdio server automatically.

sse

Start server, defaults to port 3001.

node dist/server-sse.js

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

    Reviews

    3 (1)
    Avatar
    user_67jCFyIT
    2025-04-15

    As a dedicated user of the Local Scanner MCP Server by treaties-ai, I am thoroughly impressed with its reliability and efficiency. The server seamlessly integrates with my workflows, providing rapid and accurate local scanning capabilities. It's an invaluable tool for anyone seeking robust performance and ease of use in their MCP applications. Highly recommended!