Connect Claude
Let Claude Code or the Claude desktop app research, read your account and run paper strategies from a prompt, and ask you before anything with real money.
The Claude connection lets Claude use Zaynballs for you. Ask it to check a token, read your positions or set up and run a paper strategy, and it does so through the app's own actions, under the same plan and rules as you.
Every real-money action waits for your approval. A new connection trades on paper only. You can give it a real SOL grant in Settings, with your password, and Claude can then ask to act. It can't act alone: each buy, sell or setup waits for you, and there is no setting that changes this.
What Claude can do#
| It can | It asks you first | It can't |
|---|---|---|
| Research tokens, wallets, devs and the market | Billing | Make or widen its own grant |
| Read your positions, orders, ledger and alerts | Webhooks, and anything that sends your data elsewhere | See or export a key |
| Trade on paper and run paper strategies | Your public page | Change your password, email or two-step sign-in |
| Change your wallet lists, watchlist and alerts | Settings that change what the tracker and alerts act on | Add a withdrawal address |
| With a real SOL grant: every real-money action, listed below | Turn the kill switch off, or switch your account to Live |
While a live strategy of yours follows every tracked wallet, or your agent acts alone, a new wallet on your lists could lead to a live trade. So adding one is refused without a grant, and waits for your approval with one. Give the strategy its own wallet list, or add the wallet yourself.
Make a token#
- Open Settings → AI assistant → Claude connection.
- Give it a name and press Make token. Confirm with your password (and your authenticator code, if you use two-step sign-in).
- Copy it straight away. It's shown once, and only a fingerprint of it is kept.
A token lasts 30 days. You can have up to 5. A grant belongs to its token, so a new token starts on paper again.
Connect Claude Code#
Run the command the page shows you:
claude mcp add --transport http zaynballs https://your-site/api/mcp --header "Authorization: Bearer zbm_your_token"
Then start Claude Code and try: What are my open positions? Use /mcp in Claude Code to check that it's connected.
Connect the Claude desktop app#
The desktop app's own connector screen expects a sign-in this connection doesn't have yet, so connect it through its configuration file. You need Node.js installed.
- In the app, open Settings → Developer → Edit Config.
- Add this to
claude_desktop_config.json:
{
"mcpServers": {
"zaynballs": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://your-site/api/mcp", "--header", "Authorization: Bearer zbm_your_token"]
}
}
}- Restart the app. Zaynballs appears among its tools.
The file holds your token in plain text, so keep it to your own computer.
Give it real SOL#
Beside a connection, press Allow real SOL, choose one Solana trading wallet, set the limits and confirm with your password. Claude can only act on that wallet.
| Limit | Starts at |
|---|---|
| Most for one buy | 0.1 SOL |
| Most bought in 24 hours | 0.5 SOL |
| Most open at once | 1 SOL |
| Buys an hour | 10 |
| Loss in 24 hours before its buys pause | 0.5 SOL |
| Chains | Solana only |
The limits sit on top of your approval. A buy over a limit is refused before it reaches you, and they are checked again when the order runs, counting orders still in flight, so two buys at once can't both take the last of the room. Sells aren't limited by amount, but they wait for you like everything else.
What waits for you#
With a grant, each of these waits for your answer:
- Buys and sells, including an emergency exit
- Cancelling or adding an order trigger (sell triggers only: Claude can't add a buy trigger, which would fire later with no approval)
- Changing a live position's exit plan (Claude can't take every exit off or pause them, and a change that sells later says so, old value and new)
- Setting up a copy, putting a strategy or copy live, and any change to a live one
- Lowering the agent's settings, and declining its proposals (Claude can only approve one that writes a note or flags a token: the rest are yours on the AI agent page)
- Tightening your trading settings
- Adding, starting again, pausing or removing a wallet that a live strategy or copy uses, or any new wallet while a live strategy follows every tracked wallet. Removing one stops the sells that follow it on real positions
- Removing any wallet from your list, on any connection, since its tracked trades and holdings go with it for good
- Changing or deleting a paper strategy that is yours. A strategy Claude made changes at once on paper. Once Claude changes one of yours, it counts as Claude's: it can't buy with real SOL until you approve it or take it over
- Asking the app to search for a fix to a strategy's rules, since a search can end with its rules being rewritten
These also wait, on any connection, because they spend or hide something: scans of wallets, wallet discovery runs and on-chain checks (your data providers), a strategy written from text and the AI cards (your AI key), and joining a league. Claude can't mark your notifications read or delete them.
The request appears in Settings → AI assistant, in your inbox and in Telegram (with Approve and Decline buttons on the platform bot). It shows the token, the amount, the wallet and Claude's reason. The reason is Claude's own words, and token names are written by strangers, so read them as claims, not facts. A name Claude gives a token alert is marked "name not checked" wherever the alert shows it.
If you approve, Claude repeats the call, and that exact call runs once. (For the scheduled runner, the app repeats it without Claude.) A changed call needs a new approval, and so does a call that is too long to show in full: it is refused rather than cut short. A real-money request lasts 2 minutes, and 2 more once approved. If it runs out, nothing happens: a position keeps the exit plan it has.
Other requests, such as billing, last 15 minutes.
Ordinary buys and sells are one tap. These also need your password on the site, or your bot PIN in Telegram:
- Withdrawals, opening perps, and anything that loosens a limit or weakens an exit
- Putting a strategy or copy live, and changing a live one
- Adding a wallet that a live rule can then buy on, and dropping or removing one that sells follow
- Cancelling or moving a sell order
- Deleting a live strategy or copy, and any stop that ends the sells following it
- Settings that change what the tracker, alerts or strategies act on
Stopping a live strategy that doesn't follow sells only cuts its buying, so that is one tap. So is pausing a wallet copy, because a paused copy still sells when its wallet does, and so is cancelling a buy order. With no PIN set, you approve the stronger ones on the site. The PIN prompt says again what you are approving, and your PIN answers that request alone. If you open another, it replaces the first, which keeps waiting.
An approval says what changes. A change to a live strategy lists every value that differs, old and new, across all of its rules. A value it can't name is refused rather than shown in part.
An approval to go live is for what you read. It shows the name, each wallet the rules follow right now (for a strategy that follows every tracked wallet, that means the list as it stands today), the size, the exit plan and every other rule, grouped so that what is off is named together. For a copy, it also shows the budget and whether it skips known bad devs. It says which wallets Claude added, and that the name is Claude's words. If any of that changes before the call runs, the approval no longer fits and nothing happens.
The exit plan shown may not be the one that runs. A strategy can use a plan learned for each token type, or one written from a dev's playbook. The approval says so when it does.
No answer back. If a call you approved times out or the connection drops, it may or may not have happened. Claude is told that, you get an alert, and the approval is used up, so check before asking again. Until you approve it again, a strategy or copy can't buy on that answer: one you hadn't approved before stays unapproved, even if it went live, and one you had keeps only its earlier approval, for its earlier rules.
Too many requests. At most 5 can wait at once, and the same call waits only once. After 3 declined or unanswered in 15 minutes, Claude can't ask again until the time has passed. The scheduled runner's proposals have their own count of both, so they can't use up the room for a Claude you are talking to.
What runs by itself#
Your approval of a live strategy or copy covers its rules as they stood, so it trades with no model and no approval each time. It stays on the wallet and within the limits you approved it under. Claude can't change it without asking you again. Exit plans and stops run the same way.
If its rules change another way, the approval no longer covers it. That includes a change you make yourself on the site. It stops buying, you get one alert, and it starts again if you approve it through Claude, take it over, or put its rules back as they were. Its sells and exit plans keep running.
Claude-made strategies and copies you haven't approved can't buy with real SOL, even if your agent puts them live. A new strategy with the same rules as one Claude made, at any size or number of open positions, counts as Claude's too. A strategy that differs in any other way doesn't, and neither does one with the default rules or an unchanged template. Settings lists what Claude set up. Take over, with your password, makes one wholly yours, so these checks stop applying to it.
Claude can have up to 20 strategies (the platform can change that number). Delete one or take one over to make room. A new strategy whose wallet list has no address that can be read is refused, on the site too, instead of following every wallet. A live strategy whose saved rules can't be read is stopped and you get an alert, rather than trading on the defaults.
Run it on a schedule#
The scheduled runner wakes Claude with nobody at the keyboard, so it can research, backtest, run paper strategies and propose trades for you to review. It's off until you turn it on. It's separate from the Autonomous agent.
Your Anthropic API key pays for it. Anthropic bills that key for every run, separately from your Zaynballs plan and any Claude subscription. The key is stored encrypted, is never shown again, and is sent only to Anthropic. Get one at console.anthropic.com.
To turn it on, open Settings → AI assistant → Scheduled runner, add the key, set the limits and confirm with your password. This makes a connection of its own, which counts toward your 5 and starts on paper. To let it propose real SOL actions, press Allow real SOL beside that connection. A first run starts within about a minute.
It can't trade by itself. Each real-money request waits for you, as above, and runs out if you don't answer. Nothing in the runner can answer a request. If you approve one, the app runs that exact call once, with no model involved.
It can't use withdrawals, perps, changes to your settings, the general API tool, an emergency exit, copy setup, the agent's settings or the agent's proposals, whatever its connection allows. The server refuses these for its token. It can only change paper strategies it made itself.
What you approve runs within about 20 seconds, because the app checks for approved calls that often, separately from when the runner wakes. Approve a request made before the runner was turned off and you are told nothing would run it, and it stays undone.
| Limit | Starts at | What happens |
|---|---|---|
| Most spent in one run | $0.50 | The run stops with a note |
| Most spent in a day (UTC) | $2 | Runs wait for the next day, and you get an alert |
| Turns in one run | 10 | The run stops with a note |
| Proposals in one run | 2 | Further proposals are refused |
| Proposals in a day (UTC) | 6 | Further proposals are refused |
Spending is worked out from the tokens Anthropic reports, at its list prices, so treat it as a close estimate and check your bill. A run holds each reply to what's left of both budgets, at the dearest price that turn could be charged at. If that leaves too little for a useful reply, the run stops first.
Alerts from the runner. You get one when a run stops because the day's budget is used, Anthropic refused the key, or the day's spending couldn't be saved. You also get one when its connection ends or Claude is stopped, when a proposal you didn't decline goes without completing, and when turning the runner off may have left something you approved not run.
When it wakes: every 6 hours unless you change it (0 means never), and after a position closes, an alert fires or you answer one of its requests. Events wait 10 minutes to settle by default, and that gap also separates runs. Only one runs at a time for you. If the server restarts during a run, that run is closed with a note and isn't repeated.
A proposal must give a reason. A repeat of one still waiting is dropped, even with a different size.
To stop it, press Stop Claude, or turn the runner off. A run in progress stops at its next turn, and the runner stays off until you turn it on again with your password. Removing its connection or locking your account stops a run the same way. Its connection lasts 30 days like any other, and then the runner turns off.
The run log in that card shows when each run happened, what woke it, what it did, what it proposed, what it cost and why it stopped.
Withdrawals and perps#
Both are off, and each has its own switch and password. Even when on, each call waits for your approval.
- Withdrawals go only to addresses you already added, from the connection's wallet, within a daily limit you set. Claude can't add an address.
- Perps cover opening, closing and setting exits, with limits on margin a day and leverage. Accepting the terms, funding and taking money out stay with you.
A third switch, also off until you set it, lets Claude ask to loosen your trading settings or raise a spending cap. Each such request waits for you too. None of the three can be set by Claude.
Stop it#
Stop Claude in Settings, or /stopclaude in Telegram, works straight away and needs no password. The next call fails, including sells, and its real SOL grants end. Resume needs your password, and the connection comes back on paper only.
Stopping leaves everything you approved alone: exit plans, stops, your own trades, and live strategies and copies you approved. To stop one of those, stop it on its own page.
To end one connection, press the bin beside it. Signing out everywhere or changing your password ends every connection, so you make a new token after either. A locked account refuses every call until you unlock it.
When buys pause by themselves#
Claude's buys pause when its trades lose its daily limit in 24 hours, or when 3 of its live orders fail in a row. You get an alert. The check runs at its next buy attempt. Claude can still ask you to sell. Press Unpause in Settings, with your password, to let buys go again. Rules you approved keep running, within their limits.
The kill switch stops Claude's buys too. Maintenance stops them as well, including the buys of rules you approved.
The daily loss counts what Claude's open positions have lost at any age, back to when you last unpaused. A position with no known value for 15 minutes counts as lost until it has one.
See what it did#
The same section lists Claude's recent calls, including anything refused, and every call is in your account's audit log. You get an alert each time a real-money action runs. On the Trade page and in the ledger, a Claude tag shows that it proposed the trade, who approved it and when, or the rule that fired it.
Be careful with text from strangers#
Token names, wallet labels and tweets are written by anyone, and some are written to trick AI tools. Claude is told to treat them as data, and they reach it marked that way, but that lowers the risk and doesn't remove it. Read what Claude proposes before you approve it.