mcp-payway

v0.1.0
io.github.codespar/mcp-payway Checked 8 hours ago Published 5 months ago

Payway (ex-Decidir) — Argentina card acquiring: tokenize, charge, capture, refund

Values you need

VariableWhat it is
PAYWAY_PUBLIC_API_KEYrequired secret Payway PUBLIC apikey — used only by create_token (card tokenization)
PAYWAY_PRIVATE_API_KEYrequired secret Payway PRIVATE apikey — payments, captures, refunds and queries
PAYWAY_ENVoptional 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.0
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: create_token, create_payment, get_payment, list_payments, refund_payment, confirm_payment.
  5. 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