GitHub
Source, releases, and changelog
MCP server
Expose all 151 commands as tools for AI agents via the built-in MCP server
Install
What it covers
151 commands across 13 groups. Six asset classes in one binary:Command groups
Paper trading
The CLI’s built-in paper trading engine runs against live prices with no authentication required. It is the recommended way to test strategies and integrations.paper subcommand and providing credentials.
Scripting and automation
All 151 commands support-o json output and consistent exit codes (0 = success, non-zero = failure), making them composable in shell scripts and CI pipelines:
Account management
Dead man’s switch
Cancel all open orders if your process stops sending heartbeats:Authentication
Credentials are resolved in this order:- Command-line flags (
--api-key,--api-secret) - Environment variables (
KRAKEN_API_KEY,KRAKEN_API_SECRET) - Config file (
~/.config/kraken/config.toml)