Cookies, your call.

A few keep Rey running. The rest show us how the site is used, and stay off until you say yes. Cookie policy

Skip to content
All articlesproduct

Letting agents move money, safely.

Rey speaks the Model Context Protocol, so Claude, Cursor or your own agent can quote and pay. Here is how we kept the same rules as the API, and a human in the loop for every write.

By Rey team2 min read

A glowing orb connects through fine filaments of light to floating glass panels, one filament passing through a lit aperture.

Agents are API clients now

A growing share of the software that calls APIs is not written ahead of time. It is an agent deciding at run time which call to make next. Finance work is a natural fit: "what is our balance?", "why did yesterday's payout to Mexico fail?", "quote me the fastest way to pay this invoice". These are lookups and decisions an agent can do well.

Moving money is also exactly where you want the most care. So we built agent access to Rey around one principle: an agent gets no special path. It uses the same endpoints, under the same rules, as your own code.

The MCP server

Rey runs a Model Context Protocol server at /api/mcp, over Streamable HTTP. It authenticates with the same secret key as the REST API, and each tool calls the endpoint it mirrors, with the same validation, limits, error codes and test mode.

Claude Code
claude mcp add --transport http rey https://rey.example/api/mcp \
  --header "Authorization: Bearer rey_sk_test_…"
Rey MCP tools
ToolWrites
get_balance—
list_partners—
quote_payment—
create_paymentyes
get_payment · list_payments—
cancel_paymentyes
create_identityyes
get_identity · list_identities—
list_webhook_endpoints—

The guardrails

Same rules as the API

There is one implementation of "create a payment", and both the REST route and the MCP tool call it. An agent cannot skip validation, exceed a rate limit, or spend money the workspace does not have. When a call is refused, the tool result carries isError: true and the API's own { error: { code, message } }, so the agent can read the reason and correct itself.

Writes are marked destructive

The three tools that spend from your balance, create_payment, cancel_payment and create_identity, are annotated as destructive. MCP clients use that hint to ask before running them, so in Claude or Cursor you see the exact call and approve it.

A key of its own

Give each agent its own API key under Developers in the console. It counts against its own rate limit, and when the experiment is over you revoke that key without touching your production integration.

The console assistant

Signed in to the console, the Assistant page puts the same tools behind a chat. It answers from your workspace's live data, so you can ask it to explain a failed payment and it will read the payment's attempts and tell you which rail declined and why.

Read tools run on their own. Anything that writes stops and shows you an approval card with the exact parameters. Approvals are signed: each one is an HMAC bound to your workspace, your account and that specific tool call. An approval cannot be forged by the model, replayed in another session or reused for a different call. If you decline, the assistant does not retry; it asks what you would like instead.

Start in test mode

Rey runs in test mode today, so this is a safe place to try an agent workflow. Payouts run on sandbox rails with realistic fees and timings, every workspace starts with $1,000,000 of test balance, and the sandbox scenarios let you watch an agent handle a failed or failed-over payment.

Setup for Cursor, Claude Desktop and other clients is in the MCP reference.

Keep reading

  • private beta, onboarding partners
  • one API across web2 and web3 rails
  • on-chain travel rule, planned

Rey

Enabling builders to move money at the speed of light.

KYC / KYB, EDD, travel rule: planned

2026 Rey, all rights reserved

built for every corridor