# Alternative Payments [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/WYRE-AI/alternative-payments-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/alternative-payments

## Description
MCP server for Alternative Payments — customers, invoices, payment requests, payouts, webhooks.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "alternative-payments": {
    "command": "npx",
    "args": ["-y","github:WYRE-AI/alternative-payments-mcp"],
    "env": {
      "ALTERNATIVE_PAYMENTS_CLIENT_ID": "",
      "ALTERNATIVE_PAYMENTS_CLIENT_SECRET": "",
      "CONDUIT_S2S_SECRET": ""
    }
  }
}
```

**Requires environment variables:** `ALTERNATIVE_PAYMENTS_CLIENT_ID`, `ALTERNATIVE_PAYMENTS_CLIENT_SECRET`, `CONDUIT_S2S_SECRET` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Alternative Payments does

Alternative Payments exposes the Alternative Payments API through Model Context Protocol tools. Its coverage spans customer records, customer users, invoices, payment requests, transactions, payouts, and webhooks. Discovery tools help an assistant navigate the available API surface and check server status.

The server supports reads and selected writes. It can create customers and invoices, add users to customers, create payment requests, generate or retrieve hosted payment links, and manage webhooks. It intentionally excludes direct payment creation, so it cannot charge a card or bank account or otherwise move money.

Three destructive operations require interactive confirmation before execution: archiving a customer, archiving an invoice, and deleting a webhook.

## How it works

Authentication with Alternative Payments uses OAuth 2.0 client credentials. The server exchanges an API client ID and secret for a bearer token, then refreshes that token before it expires. Credentials are created in the Alternative Payments Partner Dashboard.

The default transport is stdio, launched with `node dist/index.js`. In this mode, vendor credentials come from environment variables and no gateway secret is needed.

HTTP mode uses streamable HTTP with `/mcp` and `/health` endpoints. It listens on port 8080 by default and creates a fresh stateless MCP server for each request. Authenticated HTTP requests require an `X-Gateway-S2S` header containing a timestamp and HMAC-SHA256 signature. The timestamp must be within five minutes of the server clock.

HTTP gateway mode also expects Alternative Payments credentials in request headers. Single-tenant `AUTH_MODE=env` instead uses the configured vendor credentials when those headers are absent. The health endpoint is unauthenticated and always returns HTTP 200.

## Setup and configuration

For a local stdio setup, provide the Alternative Payments client ID and client secret, then register the server with an MCP client. A Claude Code example is:

```bash
claude mcp add alternative-payments \
  -e ALTERNATIVE_PAYMENTS_CLIENT_ID=your-client-id \
  -e ALTERNATIVE_PAYMENTS_CLIENT_SECRET=your-client-secret \
  -- npx -y github:WYRE-AI/alternative-payments-mcp
```

Set `ALTERNATIVE_PAYMENTS_ENVIRONMENT` to `production` or `demo`; production is the default. The project requires Node.js 18 or newer. For source-based development, install dependencies, build, and run the test and lint commands with npm.

HTTP deployments require `CONDUIT_S2S_SECRET` unless `MCP_ALLOW_INSECURE_DEV=1` is enabled for local development. Insecure development mode binds only to `127.0.0.1`, skips gateway-header checks, and logs a warning. With a real secret, configure `MCP_HTTP_HOST` as needed and keep the published port on loopback unless a proxy is in front.

The Docker image is available at `ghcr.io/wyre-ai/alternative-payments-mcp:latest`. Its default gateway configuration receives vendor credentials per request rather than from static container environment variables.

## Tools and capabilities

Customer tools list, retrieve, create, and archive customers; list customer users; and add users to customers. Invoicing tools list and retrieve invoices, create invoices and payment requests, retrieve payment requests, obtain invoice payment or PDF links, and archive invoices.

Payment tools list transactions, retrieve individual transactions, list payouts, retrieve payouts, and list payout transactions. Webhook tools list webhooks and webhook events, create webhooks, retry webhook deliveries, and delete webhooks. `ap_navigate` and `ap_status` provide API discovery and server-status functions.

## Limitations and notes

The server does not expose direct `POST /payments` functionality and cannot initiate charges or move funds. Archive and delete actions are guarded by interactive confirmation. HTTP gateway deployments must validate both the gateway signature and the vendor credential headers, while `/health` remains outside authentication.

_Full upstream README: https://allmcps.com/mcp/alternative-payments/readme_

