Build with AI
Research, plan and buy by asking.
Add KeepFlow to Claude or any MCP app. Ask about tokenized stocks, turn an idea into a Flow, price it, and get a purchase ready. Your assistant can't spend money: you sign every purchase in your own wallet.
Connect in 30 seconds
No account or token needed to start.
Claude (web or desktop)
Settings → Connectors → Add custom connector. Name it KeepFlow and paste the server URL.
Claude Code
claude mcp add --transport http keepflow https://keepflow.site/api/mcpOther MCP apps
Add a remote server using Streamable HTTP and the URL above.
Try asking
- “Which tokenized stocks can I buy on BNB Chain? Compare NVIDIA on Ondo and bStocks per share.”
- “Give me a research brief on Tesla: price, issuers, valuation and 52-week range.”
- “Draft a $50 Flow: NVIDIA 40%, Microsoft 30%, Alphabet 20%, keep 10% in USDT, max 40% in one company.”
- “What would $20 of the AI Compute Flow buy right now?”
- “I want to buy $5 of NVIDIA. Prepare the review link.”
Drafts work best with named companies and percentages. If a draft can't be made, KeepFlow tells your assistant how to rephrase and which stocks are available.
What your assistant can do
Search stocks, research briefs and company facts, read and compare Flows, draft new Flows and rules, price estimates from live Binance prices, and purchase review links.
Everything above, plus your wallet holdings, paper portfolio, receipts and decisions, and real Binance quotes and simulations for your own wallet. You pick the exact tools; access lasts one hour and you can revoke it anytime.
Buy, sign or send a transaction, publish a Flow, save your rules or change Autopilot. Those always happen on KeepFlow, with your wallet.
How buying works
- Ask to buy. Your assistant calls
prepare_purchase_reviewand gives you a KeepFlow link. It lasts 15 minutes and carries no spending permission. - Open it and sign in with Binance Wallet or another BSC wallet.
- KeepFlow checks again: a fresh quote, your USDT balance, your limits and a simulation of the exact transaction.
- You approve in your wallet, or close the page and nothing happens. The receipt is verified on BNB Smart Chain.
Private access (optional)
- Sign in on the Account page with your wallet.
- Under “Assistant access”, tick the tools you want (for example
get_wallet_portfolio,quote_flow,simulate_stock_buy), review and approve. The token is shown once. - Add it to your app as the header
Authorization: Bearer YOUR_TOKEN. In Claude Code:
claude mcp add --transport http keepflow https://keepflow.site/api/mcp --header "Authorization: Bearer $KEEPFLOW_MCP_TOKEN"Claude web and desktop connectors can't send custom headers yet, so they use the public tools. OAuth sign-in is not implemented. Keep tokens out of chats, URLs and source files.
Developer details: SDK example, tool scopes and errors
Uses @modelcontextprotocol/sdk 1.32.1 over stateless Streamable HTTP. Older *_bell tool names (from First Bell) still work alongside the Flow names, and existing FIRSTBELL_* settings are still read.
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
// Optional: an approved token unlocks your private tools. Leave unset for public tools.
const token = process.env.KEEPFLOW_MCP_TOKEN;
const client = new Client({ name: "My KeepFlow assistant", version: "1" });
const transport = new StreamableHTTPClientTransport(new URL("https://keepflow.site/api/mcp"),
token ? { requestInit: { headers: { Authorization: "Bearer " + token } } } : undefined);
try {
await client.connect(transport);
console.log((await client.listTools()).tools.map(tool => tool.name));
console.log(await client.callTool({ name: "quote_flow", arguments: { flowId: "ai-compute", amount: "20" } }));
} finally {
await client.close();
}Tools a token can unlock
search_stockget_stockget_stock_researchget_stock_underlyingget_bellget_bell_versionscompare_bell_versionsget_portfolioget_wallet_portfolioget_portfolio_driftget_receiptexplain_decisionpreview_next_contributionpreview_rebalanceget_execution_statuscreate_bell_from_promptmodify_bell_from_promptcreate_policy_from_promptquote_stockquote_flowsimulate_stock_buysimulate_flow_buyprepare_purchase_reviewcheck_flow_against_rules
If a request fails
- 401: the token or its approving sign-in has expired or been revoked. Approve a new one.
- “Outside the current assistant grant”: that tool wasn't selected. Approve a new grant that includes it.
- 429: too many requests in a minute. Wait and retry.