mcp-kraken
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KRAKEN_API_KEY | No | Kraken API public key. | |
| KRAKEN_BASE_URL | No | Override for testing. | https://api.kraken.com |
| MCP_KRAKEN_HOST | No | Bind address. | 0.0.0.0 |
| MCP_KRAKEN_PATH | No | HTTP path the MCP transport mounts on. | /mcp |
| MCP_KRAKEN_PORT | No | TCP port. | 8765 |
| KRAKEN_API_SECRET | No | Kraken API private key (base64). | |
| MCP_KRAKEN_TOKEN_DB | No | SQLite file holding bearer-token metadata. | ./data/tokens.db |
| MCP_KRAKEN_LOG_LEVEL | No | Standard Python log level. | INFO |
| MCP_KRAKEN_SSL_KEYFILE | No | TLS private key (PEM). Pair with _SSL_CERTFILE. | |
| MCP_KRAKEN_HTTP_TIMEOUT | No | Seconds before outbound Kraken calls time out. | 30 |
| MCP_KRAKEN_SSL_CERTFILE | No | TLS certificate (PEM). Pair with _SSL_KEYFILE. | |
| MCP_KRAKEN_AUTH_DISABLED | No | Dev only. Skip bearer-token enforcement. | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_server_timeA | Return Kraken's current server time (unix and RFC1123). |
| get_system_statusA | Return the current trading-engine status ( |
| get_assetsC | Return info about one or more assets. |
| get_asset_pairsC | Return tradable pair metadata. |
| get_tickerC | Return ticker data (ask, bid, last, vol, etc.) for the given pairs. |
| get_ohlcC | Return OHLC candles. |
| get_order_bookB | Return an order-book snapshot. |
| get_recent_tradesC | Return recent trades for a pair. |
| get_recent_spreadsC | Return recent bid/ask spread snapshots. |
| get_account_balanceB | Return the spot wallet balance per asset. |
| get_extended_balanceA | Return balance with hold/available breakdowns per asset. Note: |
| get_trade_balanceB | Return trade balance summary (equity, margin, free margin) in |
| get_trade_volumeB | Return 30-day volume and current fee tier for the requested pairs. |
| get_ledgersC | Return ledger entries (deposits, withdrawals, trades, fees…). |
| query_ledgersC | Look up specific ledger entries by id. |
| get_credit_linesB | Return any available credit facilities on the account. |
| get_api_key_infoA | Return metadata about the API key currently in use, including the set of permissions granted to it. |
| request_export_reportB | Submit a request to export trades or ledgers as CSV/TSV. |
| get_export_statusC | List the current status of every export of type |
| retrieve_exportA | Retrieve the binary content of a completed export by id. Returns the raw bytes Base64-encoded as a string under the |
| remove_exportA | Cancel a pending export or delete the file of a completed one. |
| get_open_ordersC | List currently open orders. |
| get_closed_ordersC | List closed orders. |
| query_ordersA | Look up specific orders by transaction id (up to 50). |
| get_trade_historyC | Return historical fills. |
| query_tradesB | Look up specific trades by id (up to 20). |
| get_open_positionsC | List open margin positions. |
| add_orderC | Place a new order. |
| add_order_batchB | Submit up to 15 orders for the same pair in a single call. |
| amend_orderC | Amend an existing order in-place (preserves queue priority where
the venue allows). Provide either |
| edit_orderC | Edit an order by replacing it (cancels + recreates atomically). |
| cancel_orderC | Cancel one order by id. |
| cancel_all_ordersB | Cancel every open order. |
| cancel_all_orders_afterA | Dead-man-switch: schedule a bulk cancel after Setting timeout=0 disables the switch. |
| cancel_order_batchA | Cancel up to 50 orders in a single call.
|
| get_deposit_methodsC | List available deposit methods for an asset. |
| get_deposit_addressesC | Return deposit addresses for |
| get_deposit_statusC | Return status of recent deposits. |
| get_withdrawal_methodsC | List available withdrawal methods. |
| get_withdrawal_addressesC | List whitelisted withdrawal addresses. |
| get_withdrawal_infoB | Preview withdrawal cost (fee, limits). |
| withdrawC | Submit a withdrawal. |
| get_withdrawal_statusC | Return status of recent withdrawals. |
| cancel_withdrawalC | Request cancellation of a pending withdrawal. |
| wallet_transferB | Transfer between Kraken wallet types (e.g. Spot ↔ Futures). |
| list_earn_strategiesC | Browse available earn strategies. |
| list_earn_allocationsC | List current allocations across earn strategies. |
| allocate_earnC | Allocate |
| deallocate_earnC | Withdraw |
| get_earn_allocation_statusC | Track the progress of a pending allocation. |
| get_earn_deallocation_statusC | Track the progress of a pending deallocation. |
| create_subaccountC | Create a new sub-account. |
| account_transferC | Transfer funds between the master account and a sub-account. |
| get_websockets_tokenA | Issue a token for use with the private WebSocket API. Tokens are valid for 15 minutes from issue. Re-issue before expiry. Requires the API key to have the WebSocket interface permission enabled. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/XavierBeheydt/mcp-kraken'
If you have feedback or need assistance with the MCP directory API, please join our Discord server