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.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"rasto-docs": { "url": "https://docs.rasto.co/_mcp" }
}
}
code --add-mcp '{"name":"rasto-docs","type":"http","url":"https://docs.rasto.co/_mcp"}'
Open Settings, then Connectors, then Add custom connector, and
paste https://docs.rasto.co/_mcp.
Add to ~/.codex/config.toml:
[mcp_servers.rasto-docs]
url = "https://docs.rasto.co/_mcp"
Add to ~/.gemini/settings.json. The key is httpUrl: Gemini CLI reads
url as the older SSE transport.
{
"mcpServers": {
"rasto-docs": { "httpUrl": "https://docs.rasto.co/_mcp" }
}
}
Any client that supports remote MCP servers over Streamable HTTP connects
with the URL alone. The server has one tool, search_documentation, which
returns matched sections, each with a url and the parent_url of its
page.
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 check | Why it goes wrong |
|---|---|
| Verification is submitted explicitly | Creating 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 explicitly | A customer without endorsements: ["endo_usd"] never reaches USD verification, and the failure surfaces later, at virtual-account creation |
currency is required on a virtual account | There is no default currency. Omit payment_rails to receive over every payment rail the currency is served on |
| Amounts are decimal strings | Send 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 request | One 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.