Skip to content

MCP server

Connect Claude or any MCP client to REM Payments - 96 tools that do exactly what your ptk_ token may, with confirmation for risky changes.

REM Payments has an MCP server: the API as tools, nothing more. A tool can do exactly what the API token behind it can do; scopes, organization roles and pinning apply unchanged, and every change lands in the audit log like a dashboard action.

Connect

Make a token under API Tokens (the page prints this block with your values), then add to your MCP client's settings:

{
  "mcpServers": {
    "rem-payments": {
      "type": "http",
      "url": "https://rempayments.com/mcp",
      "headers": { "Authorization": "Bearer ptk_..." }
    }
  }
}

Without a token the server answers 401. Pick scopes for what the agent should do: read to observe; read + write to set up apps, plans, gateways, endpoints and payment links, sync and replay; add finance for refunds, invoices, ledger adjustments and exports. Pin the token to one organization when the agent works for one business.

Confirmation

Changes that are hard to undo (refunds, voids, deletes, key rotations, role changes) first answer "Confirmation needed" with a code. The agent then calls confirm(code): it runs exactly the previewed call, for the same token, within two minutes.

Tools

Area

Tools

Identity

get_skills, whoami, search, hub_stats, org_stats

Organizations and members

list_orgs, create_org, get_org, update_org, list_members, add_member, set_member_role, remove_member

Apps and plans

list_apps, create_app, get_app, update_app, rotate_app_key, get_integration, connect_app, list_plans, create_plan, update_plan, archive_plan

Coupons and promotions

list_coupons, create_coupon, delete_coupon, list_promotions, create_promotion, funnel_report

Gateways

list_providers, list_gateways, create_gateway, get_gateway, update_gateway, test_gateway, disable_gateway, list_provider_calls

Customers

list_customers, upsert_customer, get_customer, update_customer

Checkout

list_sessions, create_payment_link, get_session, sync_session, cancel_session

Payments and refunds

list_payments, get_payment, sync_payment, refund_payment, list_refunds, get_refund

Subscriptions

list_subscriptions, get_subscription, subscription_version_history, cancel_subscription, keep_subscription, pause_subscription, resume_subscription, renew_subscription_now

Invoices

list_invoices, create_invoice, get_invoice, invoice_html_url, void_invoice, mark_invoice_paid

Webhooks

list_webhook_events, get_webhook_event, replay_webhook_event, list_endpoints, create_endpoint, update_endpoint, rotate_endpoint_secret, test_endpoint, delete_endpoint, list_deliveries, get_delivery, retry_delivery

Ledger and reports

list_ledger, ledger_adjustment, report_summary, export_csv

Tracing

list_events, get_trace

Tokens

list_tokens, revoke_token (tokens are minted only in the browser)

Platform admin

list_users, create_user, update_user, list_all_orgs, get_settings, update_settings, run_worker_once, audit_log

Confirmation

confirm

get_skills returns the REM Payments skill: concepts, the order of operations and the safety rules (amounts always in minor units and from the plan or quote, never refund, void, mark paid or adjust the ledger without a person's explicit instruction, prefer sync and replay over re-creating objects).

Recipes

  1. Onboard a business: create the organization, an app with success and cancel addresses, plans in minor units, a gateway with credentials, test_gateway, read the webhook address and tell the person what to paste where, an endpoint for their server, test_endpoint.

  2. "The customer says they paid": search by e-mail, open the session or payment, sync_payment, read the timeline and gateway calls; if an inbound webhook was invalid, fix the gateway secret and replay_webhook_event.

  3. Refund (finance): get_payment, check what is left, refund_payment with a reason, confirm, and report the status.

Last updated 18 Nov 2026

MCP server · REM Platforms Blog