worldpay-mcp
0
This project provides a simple MCP server for Worldpay APIs to handle payments, equipped with various tools for generating checkout forms and payment server code. It supports both stdio and sse transport methods, offering a flexible and integrative solution for payment processing.
Introduction
This project is a simple MCP server designed for Worldpay APIs. It's capable of making and querying payments, facilitated by implementing the Model Context Protocol. The server is available in two versions: a stdio
transport and SSE
transport.
Tools
- Make Payment: Interfaces for initiating payments.
- Query Payments: Tools for querying completed payments.
- Generate Checkout Form: Enables creation of a checkout form for Worldpay payment processing, supporting both web and React frameworks.
- Generate Payment Server Code: Provides server-side code for processing payments via Worldpay API, adaptable to various payment methods and programming languages.
- Generate Payment Query: Offers documentation and examples to query Worldpay Payment Queries API.
Installation
Run npm install
to install dependencies.
Usage
Build the server with npm run build
.
Configuration
Configuration varies between stdio (uses a JSON file) and sse version (uses environment variables).
Running the Server
- stdio: Automatically managed with Claude.
- sse: Can be started manually using
node dist/server-sse.js
with a default port of 3001.