mcp-payway
v0.1.0Payway (ex-Decidir) — Argentina card acquiring: tokenize, charge, capture, refund
Values you need
| Variable | What it is | |
|---|---|---|
PAYWAY_PUBLIC_API_KEY | required secret | Payway PUBLIC apikey — used only by create_token (card tokenization) |
PAYWAY_PRIVATE_API_KEY | required secret | Payway PRIVATE apikey — payments, captures, refunds and queries |
PAYWAY_ENV | optional | Environment: 'sandbox' or 'production'. Defaults to 'sandbox' (Decidir sandbox host). |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-payway -e 'PAYWAY_PRIVATE_API_KEY=<PAYWAY_PRIVATE_API_KEY>' -e 'PAYWAY_PUBLIC_API_KEY=<PAYWAY_PUBLIC_API_KEY>' -- npx -y @codespar/mcp-payway@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-payway": {
"args": [
"-y",
"@codespar/mcp-payway@0.1.0"
],
"command": "npx",
"env": {
"PAYWAY_PRIVATE_API_KEY": "<PAYWAY_PRIVATE_API_KEY>",
"PAYWAY_PUBLIC_API_KEY": "<PAYWAY_PUBLIC_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-payway": {
"args": [
"-y",
"@codespar/mcp-payway@0.1.0"
],
"command": "npx",
"env": {
"PAYWAY_PRIVATE_API_KEY": "<PAYWAY_PRIVATE_API_KEY>",
"PAYWAY_PUBLIC_API_KEY": "<PAYWAY_PUBLIC_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PAYWAY_PRIVATE_API_KEY",
"id": "payway-private-api-key",
"password": true,
"type": "promptString"
},
{
"description": "PAYWAY_PUBLIC_API_KEY",
"id": "payway-public-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-payway": {
"args": [
"-y",
"@codespar/mcp-payway@0.1.0"
],
"command": "npx",
"env": {
"PAYWAY_PRIVATE_API_KEY": "${input:payway-private-api-key}",
"PAYWAY_PUBLIC_API_KEY": "${input:payway-public-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-payway]
command = "npx"
args = ["-y", "@codespar/mcp-payway@0.1.0"]
env = { "PAYWAY_PRIVATE_API_KEY" = "<PAYWAY_PRIVATE_API_KEY>", "PAYWAY_PUBLIC_API_KEY" = "<PAYWAY_PUBLIC_API_KEY>" }For AI agents
- Ask the user for: PAYWAY_PUBLIC_API_KEY, PAYWAY_PRIVATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: create_token, create_payment, get_payment, list_payments, refund_payment, confirm_payment.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json