On/off-ramp de fiat↔cripto (concorrente da MoonPay). Ecossistema de parceiros e preços diferentes; combine ambos pra roteamento pela melhor taxa. Alpha no npm — 3 endpoints de discovery verificados ao vivo, 6 paths de partner-order pendentes de validação em sandbox.
O Transak dá ao seu agente 18 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.
create_order — Create a Transak order. Use isBuyOrSell='BUY' to onramp (fiat→crypto, funds delivered to walletAddress) or 'SELL' to offramp (crypto→fiat, payout to the linked bank account). Returns the order object with status, a widget/redirect URL if required, and the partner-side id.get_order — Get a Transak order by its Transak order id. Returns full status, fiat/crypto amounts, fees, tx hash (once on-chain), and current state.list_orders — List Transak orders for the partner account. Filter by status, walletAddress, partnerOrderId, isBuyOrSell, or createdAt date range. Use this to reconcile webhook-driven state, run sweeps on pending orders, or pull a partner-period statement.// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_order", { /* ... */ });$ npm install @codespar/mcp-transak@alphaAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"transak": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-transak@alpha"
],
"env": {
"TRANSAK_API_KEY": "<your_transak_api_key>",
"TRANSAK_API_SECRET": "<your_transak_api_secret>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 18 ferramentas abaixo — teste create_order primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
TRANSAK_API_KEYTransak partner API key (from partner dashboard). Used as partnerApiKey query param on public quote endpoint and bundled with api-secret to mint the access-token for Partner API calls.
TRANSAK_API_SECRETTransak partner API secret. Sent as the api-secret header to endpoints that require server-to-server authentication (and used to mint access tokens for order endpoints).
TRANSAK_ENVEnvironment selector: 'staging' (default) targets https://api-stg.transak.com; 'production' targets https://api.transak.com.
Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.
create_orderget_orderlist_ordersupdate_ordercancel_orderget_quoteget_order_limitslist_fiat_currenciesMCP é um protocolo — qualquer framework que o fale pode montar este server.