KetaPay’s Model Context Protocol server lets an AI assistant work with your KetaPay account. It can answer questions from these docs, create test payment links and pay them, look up escrows, disputes and events, check your fees and set up webhooks.
The server is in pre-release and takes sandbox keys only (sk_test_). No tool moves money.

Connect

Hosted server

Use https://mcp.ketapay.com/mcp, with a sandbox secret key as the bearer token.
In any other app, add a remote MCP server (Streamable HTTP) with that address and an Authorization header.

On your machine

Run the server locally with npx, and the key stays on your machine:

Sign in with KetaPay (coming soon)

Soon you won’t need a key: you’ll copy your business’s address from AI assistants in the business dashboard, add it to Claude, ChatGPT, Cursor or VS Code, sign in to KetaPay and choose what the assistant may do. Each connection shows on that page with the member who made it, and you can disconnect it there at any time.

Choose what your assistant can do

The assistant can never do more than your key allows. Make a key with just the scopes it needs, and narrow it further with options on the address:
Running locally, set KETAPAY_FEATURES and KETAPAY_READ_ONLY instead. A value the server doesn’t know is refused with the list of valid ones.

Tools

Every docs page is also an MCP resource (https://docs.ketapay.com/<page>.md) that you can attach to a conversation yourself.

What needs your approval

  • Asked in your app. Adding or changing a webhook endpoint, and marking a milestone delivered (which starts the buyer’s inspection period), each show you the exact change first. Nothing is sent until you approve it, and an approval covers only those exact details.
  • Approved on a KetaPay page. When an assistant is connected by signing in, KetaPay itself enforces this: a refund, a new webhook endpoint or a change to one needs a person on your team to open the link the assistant gives them, check what KetaPay will do and approve it with their code. Without that approval the API refuses with confirmation_required and changes nothing. Refunds through an assistant are not offered yet.
  • Never through an assistant. Releasing a buyer’s money, opening or answering a dispute, deciding a dispute, payouts and bank accounts, deleting a webhook endpoint, and anything that would show a signing secret or release code. Those stay in the dashboard, with the buyer, or in your own code.

Safety

  • No tool takes or returns a key, a webhook signing secret, a release code or bank details.
  • Text your buyers and sellers typed comes back marked as untrusted, so the assistant treats it as data, not as instructions.
  • Every change an assistant makes is an ordinary API request with your key, so it sends the same webhooks and events as any other.