Skip to main content

MCP Server

The fastest way to connect an agent to Rako is the Rako MCP server. Add it to Claude Desktop, Cursor, or any MCP-compatible client and your agent gets tools to search offers, check what information checkout requires, and generate a hosted checkout link.
mcp-config.json

Flow

  1. search_offers returns eligible offers and a session ID.
  2. get_checkout_requirements explains what the user must confirm or provide before checkout for the selected offer.
  3. get_checkout_link records the attribution context and generates a hosted checkout link for the user.
get_checkout_link only returns a URL. It does not process payment, charge the user, transfer money, prove conversion, confirm commission, or settle anything; the user chooses whether to open the link and complete checkout. Conversion requires later platform-side outcome evidence.

Example conversation

Use an API key intended for agent/server integrations. Do not put private API keys in client-side code or public repositories.

MCP flow tutorial

Walk through the same flow with placeholder keys and fake data.

Runnable examples

Start the local mock server and run SDK examples before using a non-mock API key.