MCP server for Access Worldpay — enterprise processor: authorize, capture, refund, tokenize
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add worldpay --env WORLDPAY_USERNAME='<WORLDPAY_USERNAME>' --env WORLDPAY_PASSWORD='<WORLDPAY_PASSWORD>' --env WORLDPAY_ENTITY='<WORLDPAY_ENTITY>' -- npx -y @codespar/mcp-worldpay~/.codex/config.toml
[mcp_servers.worldpay]
command = "npx"
args = ["-y", "@codespar/mcp-worldpay"]
env = { WORLDPAY_USERNAME = "<WORLDPAY_USERNAME>", WORLDPAY_PASSWORD = "<WORLDPAY_PASSWORD>", WORLDPAY_ENTITY = "<WORLDPAY_ENTITY>" }
# codex mcp add worldpay --env WORLDPAY_USERNAME='<WORLDPAY_USERNAME>' --env WORLDPAY_PASSWORD='<WORLDPAY_PASSWORD>' --env WORLDPAY_ENTITY='<WORLDPAY_ENTITY>' -- npx -y @codespar/mcp-worldpay~/.cursor/mcp.json
{
"mcpServers": {
"worldpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-worldpay"
],
"env": {
"WORLDPAY_USERNAME": "<WORLDPAY_USERNAME>",
"WORLDPAY_PASSWORD": "<WORLDPAY_PASSWORD>",
"WORLDPAY_ENTITY": "<WORLDPAY_ENTITY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"worldpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-worldpay"
],
"env": {
"WORLDPAY_USERNAME": "<WORLDPAY_USERNAME>",
"WORLDPAY_PASSWORD": "<WORLDPAY_PASSWORD>",
"WORLDPAY_ENTITY": "<WORLDPAY_ENTITY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"worldpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-worldpay"
],
"env": {
"WORLDPAY_USERNAME": "<WORLDPAY_USERNAME>",
"WORLDPAY_PASSWORD": "<WORLDPAY_PASSWORD>",
"WORLDPAY_ENTITY": "<WORLDPAY_ENTITY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"worldpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-worldpay"
],
"env": {
"WORLDPAY_USERNAME": "<WORLDPAY_USERNAME>",
"WORLDPAY_PASSWORD": "<WORLDPAY_PASSWORD>",
"WORLDPAY_ENTITY": "<WORLDPAY_ENTITY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"worldpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-worldpay"
],
"env": {
"WORLDPAY_USERNAME": "<WORLDPAY_USERNAME>",
"WORLDPAY_PASSWORD": "<WORLDPAY_PASSWORD>",
"WORLDPAY_ENTITY": "<WORLDPAY_ENTITY>"
}
}
}
}Environment variables
WORLDPAY_USERNAMEWORLDPAY_PASSWORDWORLDPAY_ENTITY
Replace the placeholders with your own credentials and keep them out of version control.