PCP MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PCP MCP Server
MCP (Model Context Protocol) server for the PAYONE Commerce Platform (PCP). Provides an AI-accessible interface that abstracts the PCP Node.js SDK, enabling LLMs and AI agents to interact with the PAYONE Commerce Platform.
Architecture
AI Agent / n8n / LLM Client
│
▼ (MCP over Streamable HTTP)
┌─────────────────────────┐
│ PCP MCP Server │
│ (Express + MCP SDK) │
│ │
│ ┌───────────────────┐ │
│ │ Authentication │ │
│ │ (API Key / KC) │ │
│ └───────────────────┘ │
│ ┌───────────────────┐ │
│ │ MCP Tools │ │
│ │ ┌─────────────┐ │ │
│ │ │CommerceCases│ │ │
│ │ │ Checkouts │ │ │
│ │ │ Payments │ │ │
│ │ │ OrderMgmt │ │ │
│ │ │ PaymentInfo │ │ │
│ │ └─────────────┘ │ │
│ └───────────────────┘ │
│ ┌───────────────────┐ │
│ │ PCP Node.js SDK │ │
│ └───────────────────┘ │
└─────────────────────────┘
│
▼ (HTTPS)
PAYONE Commerce Platform APIRelated MCP server: Paytm MCP Server
Available Tools
Commerce Cases
Tool | Description |
| List commerce cases with optional query filters |
| Get a single commerce case by ID |
| Create a new commerce case |
| Patch an existing commerce case |
Checkouts
Tool | Description |
| List checkouts with optional query filters |
| Get a checkout by commerce case and checkout ID |
| Create a new checkout within a commerce case |
| Patch an existing checkout |
| Delete a checkout |
| Finalize a checkout / complete an order |
Payments
Tool | Description |
| Create a payment execution for a checkout |
| Capture a previously authorized payment |
| Cancel a payment execution |
| Refund a payment execution |
| Complete a payment requiring additional steps |
| Pause a payment execution |
| Refresh a payment execution status |
| Create a fund split for a payment event |
Order Management
Tool | Description |
| Create an order for a checkout |
| Mark an order as delivered |
| Process a return for an order |
| Cancel an order |
Payment Information
Tool | Description |
| Create payment information for a checkout |
| Get payment information by ID |
| Refund via payment information |
Prerequisites
Node.js 24+
Docker & Docker Compose
Traefik (as edge router in the target environment)
PAYONE Commerce Platform API credentials
Configuration
Copy the example environment file and fill in the required values:
cp .env.example .envRequired Variables
Variable | Description |
| PCP API key |
| PCP API secret |
| PCP merchant ID |
| Static API key for authentication |
Optional Variables
Variable | Default | Description |
|
| Docker container name prefix |
|
| Container-internal server port |
|
| PCP API base URL override |
|
| Traefik router name |
|
| Traefik host rule |
|
| Keycloak base URL |
|
| Keycloak realm |
|
| Keycloak client ID |
| (empty) | Keycloak client secret (leave empty for API key only mode) |
Authentication
The server supports two authentication methods:
API Key
Set INTERNAL_API_KEY in .env and pass it as a Bearer token:
Authorization: Bearer <your-api-key>Keycloak (Optional)
Set KEYCLOAK_CLIENT_SECRET in .env to enable Keycloak JWT validation. When left empty, the server starts in API key only mode.
Development
npm install
npm run devBuild
npm run build
npm startType Check
npx tsc --noEmitDeployment
Docker Compose
cp .env.example .env
cp docker-compose.override.yml.example docker-compose.override.yml
# Edit .env with your credentials
bash service.sh build
bash service.sh runService Commands
Command | Description |
| Build the container image |
| Build without cache |
| Start the container |
| Pull latest changes, rebuild, and restart |
| Restart the container |
| Stop and remove the container |
Verify Deployment
curl -s https://mcp.patsy-dev.payone-office.de/healthExpected response:
{"status":"ok","service":"pcp-mcp"}Usage
MCP Initialize
curl -s -X POST https://mcp.patsy-dev.payone-office.de/mcp \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": { "name": "test", "version": "1.0.0" }
}
}'Tool Call Example
curl -s -X POST https://mcp.patsy-dev.payone-office.de/mcp \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "list_commerce_cases",
"arguments": {}
}
}'Project Structure
pcp-mcp/
├── docker-compose.yml
├── docker-compose.override.yml.example
├── image/
│ └── Dockerfile
├── service.sh
├── package.json
├── tsconfig.json
└── src/
├── index.ts # Express server, auth, entry point
├── server.ts # MCP server factory
├── auth/
│ ├── keycloak.ts # Keycloak JWT verification
│ └── token-manager.ts # Keycloak token lifecycle
├── pcp/
│ └── client.ts # PCP SDK configuration wrapper
└── tools/
├── commerce-cases.ts # Commerce Case API tools
├── checkouts.ts # Checkout API tools
├── payments.ts # Payment Execution API tools
├── order-management.ts # Order Management API tools
└── payment-information.ts # Payment Information API toolsDependencies
Package | Purpose |
| MCP server implementation |
| PAYONE Commerce Platform SDK |
| HTTP server |
| Keycloak JWT validation |
| Input schema validation |
This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Agentic commerce with 58 MCP tools for product search, checkout, A2A negotiation, C-Suite analytics.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server that enables AI agents to interact with the commercetools Composable Commerce platform. It provides tools for managing products, categories, orders, carts, and customer data through secure read and write operations.13MIT
- AlicenseAqualityDmaintenanceEnables AI agents and developers to securely access Paytm's Payments and Business Payments APIs via MCP, allowing contextual automation of payment workflows like refunds, settlement tracking, and transaction status checks.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage products, shopping carts, and orders in an online store through a well-defined MCP API.-
- AlicenseNot gradedqualityCmaintenanceEnables an AI to perform customer support workflows by looking up customers, retrieving orders, and creating support tickets through MCP tools.3 npmX11 no permit persons clause