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 |
|
Organizations and members |
|
Apps and plans |
|
Coupons and promotions |
|
Gateways |
|
Customers |
|
Checkout |
|
Payments and refunds |
|
Subscriptions |
|
Invoices |
|
Webhooks |
|
Ledger and reports |
|
Tracing |
|
Tokens |
|
Platform admin |
|
Confirmation |
|
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
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."The customer says they paid":
searchby 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 andreplay_webhook_event.Refund (finance):
get_payment, check what is left,refund_paymentwith a reason,confirm, and report the status.
Last updated 18 Nov 2026