Build with AI

Connect your coding assistant to these docs over MCP, give it the sandbox, and check the five things generated integrations get wrong.

Connect your coding assistant to these docs before it writes any code. It then searches the current documentation while it works, instead of guessing field names from its training data.

Connect the MCP server

https://docs.rasto.co/_mcp

The server is read only and needs no authentication. It searches these pages and nothing else: it never calls the API and cannot see your account, keys or customers.

claude mcp add --transport http rasto-docs https://docs.rasto.co/_mcp

Add --scope project to share it with your team through .mcp.json.

Without MCP, point the assistant at /llms.txt (every page, with a Markdown link) or any page as Markdown by adding .md to its URL:

curl -s https://docs.rasto.co/llms.txt
curl -s https://docs.rasto.co/concepts/wallets.md

Give it the sandbox

Start with an sk_test_ key. The sandbox runs the full product on testnets with simulated payment rails and verification, so an assistant can create customers, approve them, land deposits and read the results without moving real money. See Sandbox testing. If an agent calls the API itself, give it a read_only key until you have watched what it does.

Name the object or the error code in your prompt: "create a virtual account for an existing customer" or "I got 422 endorsement_profile_required" gets a better answer than "help me receive money".

Check what it writes

Generated integrations get these five things wrong, because they are where the API differs from the obvious guess.

What to checkWhy it goes wrong
Verification is submitted explicitlyCreating a customer with documents does not start the review: POST /api/customers/{customer_id}/verifications makes the first submission. After it, a PATCH that changes something resubmits by itself, so code should not call submit again
Endorsements are requested explicitlyA customer without endorsements: ["endo_usd"] never reaches USD verification, and the failure surfaces later, at virtual-account creation
currency is required on a virtual accountThere is no default currency. Omit payment_rails to receive over every payment rail the currency is served on
Amounts are decimal stringsSend amounts as JSON strings: a fractional JSON number is refused with 422 invalid_parameter. Responses carry no trailing zeros, so compare as decimals
Idempotency keys are per requestOne key hoisted into a constant fails with 422 idempotency_key_reused on the second call that uses it

Write the signing flow yourself. Code that signs an authorization without first decoding its payload and checking it against your own records passes every sandbox test and gives up the non-custodial guarantee in live. Follow the Signing guide.

Was this page helpful?