Skip to main content
Burokku’s connector is a remote MCP server. Claude, ChatGPT and other AI apps add it for their users (Connect an AI app); this page is for building your own client.
  • Transport: Streamable HTTP, stateless: no sessions, POST only, and JSON answers.
  • Sign-in: OAuth 2.1 with PKCE, with a token for this server’s resource. A call without a valid token gets a 401 whose WWW-Authenticate header points to the server’s protected resource metadata, and a JSON body, unauthorized or invalid_token, with an error_description in English. See Authentication.
  • Writes: the two tools that write need portfolio.write. Without it, the call gets a 403 step-up challenge before the tool runs.
  • Errors: a tool error is an answer with isError: true, its message in the user’s language and its code in _meta.code. See Limits and errors.
  • The portfolio card: portfolio_summary and positions point at an MCP Apps resource, ui://burokku/portfolio, through _meta.ui.resourceUri. Hosts that support MCP Apps draw it beside the answer.

Tools

Nine tools: seven that read and two that write. Every tool sets all four MCP annotations, and none reaches outside the user’s own account (openWorldHint: false). Each tool is also a REST endpoint, with the same inputs and the same answer. Over REST, answers also carry stable opaque ids (id, account_id) and full addresses. Full schemas are in the API reference. Every answer includes read_at (when the figures were read), refreshing (true while Burokku reads the accounts again behind the answer) and currency (the account’s currency and its units per dollar).

portfolio_summary

Portfolio summary · GET /v1/portfolio · reads What your portfolio is worth, how it changed over the last 24 hours, and how it splits between wallets, DeFi, perps and prediction markets. Returns net worth; what’s in wallets, DeFi, perps and predictions; the 24-hour change in dollars and percent; each account with its kind, provider and value; the ten largest holdings; and needs_attention, how many risks Burokku flags (perps near liquidation, risky loans, heavy leverage, concentration). In AI apps that support MCP Apps, the answer also shows as a read-only portfolio card. Try: “What’s my portfolio worth?” · “How much did I make or lose today?” · “How much is on my Ledger?“

holdings

Holdings · GET /v1/holdings · reads Which tokens you hold, how much of a token you have, and where it’s held. Returns each token, largest first, with its price, 24-hour and 7-day change, amount, value, share of net worth, and the accounts and chains holding it (at most 6). Tokenized real-world assets say what they track and who issued them. Also total_usd, total_tokens across every page and next_cursor. Try: “Which tokens do I hold?” · “How much ETH do I have, and where?” · “What do I hold on Base?“

positions

Positions · GET /v1/positions · reads DeFi positions (lending, liquidity, staking, vaults), open perpetual futures and prediction market shares. Returns
  • DeFi: protocol, type, chain, value net of debt, APY, supplied and borrowed tokens, health factor and unclaimed rewards.
  • Perps: market, side, venue, size, entry, mark and liquidation prices, leverage, notional, unrealised PnL and distance to liquidation.
  • Predictions: venue, market, the outcome held, shares, average and current price, value, PnL, when it resolves, and whether it’s won and waiting to be claimed.
At most 40 of each are listed; more says how many were left out. In AI apps that support MCP Apps, they also show on the read-only portfolio card. Try: “Show my open perps.” · “What’s my health factor on Aave?” · “Which Polymarket positions do I have?“

liquidation_risk

Liquidation risk · GET /v1/risk/liquidation · reads Whether a loan or a perp is close to liquidation. Returns loans, lowest health factor first, with collateral, debt, how far prices can fall before liquidation and, where one collateral token decides it, its liquidation price and its price now; and perps, nearest first, with mark and liquidation prices and the distance between them. When both lists are empty, nothing_near is true. Try: “Am I close to liquidation anywhere?” · “How far can ETH fall before my loan is liquidated?” · “Any perps within 10% of liquidation?“

pnl

Profit and loss · GET /v1/pnl · reads How your net worth or profit and loss moved over a period. Returns the change in dollars and percent, the high, the low and up to 13 points. For 1D, 1W and 1M, also what drove it: coins, accounts, realised perp PnL, funding and fees. And unrealised PnL on holdings whose cost Burokku knows, with how much of your holdings that covers.
These figures aren’t for tax. Burokku’s Tax page works out gains for a tax year.
Try: “How did my portfolio do this week?” · “What drove today’s change?” · “What’s my unrealised PnL?“

activity

Activity · GET /v1/activity · reads Recent transactions: swaps, sends and receipts, bridges, approvals, staking, perp trades and funding. Returns rows, newest first, with what happened, the account, chain, value in dollars, realised PnL and fees, status (confirmed, pending or failed) and time. Over REST, on-chain rows also carry the transaction hash. read_reaches_back_to says how far back the read goes. Try: “What did I swap this week?” · “Show my last 10 transactions.” · “How much did I pay in funding this month?“

list_alerts

Alerts · GET /v1/alerts · reads The Burokku alerts you have. Takes no input. Returns each alert with its kind, what it watches (in your language), whether it’s on, whether it’s one Burokku suggests that you haven’t switched on yet, where it notifies (inapp, email, push, telegram) and how many times it has fired. Try: “Which alerts do I have?” · “Have any of my alerts fired?“

create_price_alert

Create a price alert · POST /v1/alerts · writes · scope portfolio.write Creates a price alert in your Burokku account. AI apps use it only when you ask to be alerted. The alert notifies you in Burokku, and by email, push or Telegram where you’ve set those up. It never trades. Returns the alert as created, and manage_path, where to manage it in Burokku. Refused when Burokku doesn’t track the token’s price (unknown-asset), your plan’s alerts are used up (plan-limit), or the connection has no account (account-required, with a link to sign in). Try: “Alert me if ETH drops below $2,500." · "Tell me when SOL goes above $300.”

add_watch_address

Watch an address · POST /v1/accounts/watch · writes · scope portfolio.write Adds a public address to your portfolio, watch-only. AI apps use it only when you ask Burokku to track a wallet. Returns the account with its name, kind (watch, or exchange with a venue), network and address, and added, false when Burokku already watched it. Its balances are read in the background, so refreshing is true and later calls include them. Refused when it looks like a private key or recovery phrase (secret; it’s never kept), it isn’t an address Burokku can watch (not-address), or it’s over your plan’s accounts, or over 3 addresses without an account (account-required, with a link to sign in). Try: “Track this wallet: 0x…” · “Watch my Hyperliquid account 0x…”