Kraken
Context: investing and brokerage
Can an AI agent trade at Kraken?
Yes, through a server that runs on your own machine. Kraken’s CLI, kraken-cli, includes an MCP server, kraken-mcp, that runs over stdio. It serves 152 of the CLI’s 188 commands as MCP tools for Claude, Cursor, GitHub Copilot, Windsurf and other MCP clients.1 The server is not exposed as a network service, and Kraken does not host an MCP endpoint.1
One install covers crypto spot, xStocks (tokenized equities), forex, perpetual and fixed-date futures, and earn and staking.2 Kraken’s GitHub page says the tokenized US stocks and ETFs are for non-US customers.3
Live trading only happens when you start the server with a trading service, such as trade for spot orders. Kraken’s quickstart set, kraken-mcp -s market,paper,feedback, needs no credentials, and no tool in it can trade live or move funds.1
What can an AI agent do at Kraken?
| Feature | Value | Sources |
|---|---|---|
| Read portfolio | Yes, with the account service: balances, orders, trade history, ledgers, positions and exports | 1 |
| Place orders | Yes, with the trade service (live spot orders) or the futures service. Each order needs your approval unless the gate is off | 1 |
| Order types | Market and limit are documented. paper buy defaults to a market order and order buy to a limit order; --type switches | 2 |
| Assets | Crypto spot, xStocks (tokenized equities), forex, perpetual futures, inverse and fixed-date futures, earn and staking | 2 |
| Move money | Yes, with the funding service (deposits, withdrawals and transfers), each call needing approval | 1 |
| Paper trading | Yes. paper (spot) and futures-paper services run against live prices with no authentication | 12 |
| Limits (size, spend) | Position size limits and pair allowlists on the API key, set in Kraken’s settings | 1 |
| Notifications | unknown |
How does Kraken’s agent connection work?
- No hosted endpoint: kraken-mcp is a local process over stdio. It comes with the CLI install, which runs on macOS and Linux, and on Windows through WSL.12
- Services:
-schooses which command groups the server exposes.market(11 tools),paper(17),futures-paper(17) andfeedback(1) need no key.account(18) is read-only apart from two export tools.trade(9),futures(39),earn(6),funding(10) andsubaccount(2) are marked dangerous.workspace(20) holds paper and live workspaces, andauth(2) checks credentials. With no-sflag the server exposes market, account, paper, workspace and feedback.1 - Feedback tool: the
feedbackservice uploads the text you give it to Kraken.1 - Auth: an API key and secret in environment variables in the client’s MCP configuration, or a key stored once from a terminal.
kraken auth loginsigns in through the browser and saves a restricted spot API key with no withdrawal rights that expires after 90 days by default;--read-onlymakes a key that cannot trade. You must run it yourself in a terminal; Kraken says a script or an AI agent cannot create a key.kraken setupstores a key you created under Settings → API.12 - What stays in the CLI: streams (WebSocket feeds, recording, replay), interactive commands, and the local credential commands
auth switchandauth resetare not MCP tools.1
What guardrails and risks apply at Kraken?
| Guardrail | Where it is enforced | Sources |
|---|---|---|
| Approval on every call to a dangerous tool (order placement, withdrawals, transfers, workspace promotion) | In the local server, through MCP elicitation. Starting the server with --allow-dangerous turns it off | 1 |
A client that cannot show an elicitation gets no prompt from the server: the call runs when the model sets acknowledged: true | Your AI client’s own tool-approval setting is the only check | 1 |
| Choose services: the default set places no live orders and moves no funds | In the local server you start | 1 |
| Least-privilege API keys; position size limits and pair allowlists on the key | Server side (exchange), on the key | 1 |
Sign-in key from kraken auth login has no withdrawal rights and expires | Server side (exchange) | 2 |
| Local only: do not expose, tunnel or share the server outside systems you control. Every connected agent uses the same Kraken account and key permissions | Your deployment | 13 |
| Promoting a paper workspace to live execution needs credentials and asks for confirmation | In the CLI | 2 |
Dead man’s switch: kraken order cancel-after 60 cancels all open orders if your process stops sending heartbeats | Set with the CLI; the docs do not say where the timer runs | 2 |
| Revoking an agent’s access | unknown |
The kraken CLI itself places orders without a confirmation prompt; the approval gate is in the MCP server.3 Kraken’s GitHub page also says to treat the MCP integration as alpha and to use least-privilege API keys.3
How do you connect an agent to Kraken?
- Install kraken-cli; kraken-mcp comes with it.1
- Start with
kraken-mcp -s market,paper,feedback, which needs no credentials.1 - Add services only as your workflow needs them. Kraken says to scope services to the minimum.1
- Before adding
trade, create a least-privilege key and set position size limits and pair allowlists on it.1
How do I connect Kraken from my AI app?
Every app runs the same local command. If an app reports “Failed to connect”, it cannot find kraken-mcp on its PATH; set the command to the full path that command -v kraken-mcp prints.1
| App | How to connect | Sources |
|---|---|---|
| Claude Code | Install the plugin, which adds the server and the CLI’s agent skills: /plugin marketplace add krakenfx/kraken-cli, then /plugin install kraken-cli@kraken. Or register only the server: claude mcp add --scope user kraken -- kraken-mcp -s market,paper,feedback. Check with claude mcp list | 1 |
| Claude Desktop | In ~/Library/Application Support/Claude/claude_desktop_config.json, add a kraken server with command kraken-mcp and args -s market,paper,feedback, then restart Claude Desktop | 1 |
| Cursor | Add the same server entry to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project, then reload the window | 1 |
| VS Code (Copilot) | Add a stdio server running kraken-mcp -s market,paper,feedback to .vscode/mcp.json in your workspace | 1 |
| Windsurf | Add the same server entry to ~/.codeium/windsurf/mcp_config.json, then restart Windsurf | 1 |
| Gemini CLI | Install the extension: gemini extensions install https://github.com/krakenfx/kraken-cli | 1 |
| Other MCP clients | Use the same command and arguments: kraken-mcp -s market,paper,feedback | 1 |
The quickstart set has no live trading. To add it, Kraken’s example is -s market,paper,trade with a least-privilege API key.1
What is still unknown about Kraken?
- How to revoke an agent’s access: unknown. The sign-in key expires on its own (90 days by default).2
- Countries where agent trading is available: unknown.
- Order types beyond market and limit through MCP: unknown.
- Notifications for agent trades: unknown.
- Agent terms of use: not yet reviewed here.
Every fact on this page links to a source card; “unknown” means no source we cite confirms it.
What changed on this page?
- 2026-11-19: First version of this page.
Sources
Suggest a correction (opens a GitHub issue)
Footnotes
-
MCP server - Kraken docs. Kraken, official, retrieved 2026-11-19. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25 ↩26 ↩27 ↩28 ↩29 ↩30 ↩31
-
kraken-cli - Kraken docs. Kraken, official, retrieved 2026-11-19. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
-
GitHub - krakenfx/kraken-cli: Kraken CLI · GitHub. Kraken (GitHub), official, retrieved 2026-11-19. ↩ ↩2 ↩3 ↩4