Skip to main content
Glama
XavierBeheydt

mcp-kraken

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KRAKEN_API_KEYNoKraken API public key.
KRAKEN_BASE_URLNoOverride for testing.https://api.kraken.com
MCP_KRAKEN_HOSTNoBind address.0.0.0.0
MCP_KRAKEN_PATHNoHTTP path the MCP transport mounts on./mcp
MCP_KRAKEN_PORTNoTCP port.8765
KRAKEN_API_SECRETNoKraken API private key (base64).
MCP_KRAKEN_TOKEN_DBNoSQLite file holding bearer-token metadata../data/tokens.db
MCP_KRAKEN_LOG_LEVELNoStandard Python log level.INFO
MCP_KRAKEN_SSL_KEYFILENoTLS private key (PEM). Pair with _SSL_CERTFILE.
MCP_KRAKEN_HTTP_TIMEOUTNoSeconds before outbound Kraken calls time out.30
MCP_KRAKEN_SSL_CERTFILENoTLS certificate (PEM). Pair with _SSL_KEYFILE.
MCP_KRAKEN_AUTH_DISABLEDNoDev only. Skip bearer-token enforcement.false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
get_server_timeA

Return Kraken's current server time (unix and RFC1123).

get_system_statusA

Return the current trading-engine status (online, maintenance, cancel_only, post_only).

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: ExtendedBalance is not supported on all Kraken account types or regions. If this tool returns an error, use get_account_balance instead (same data, without the hold/available breakdown).

get_trade_balanceB

Return trade balance summary (equity, margin, free margin) in asset.

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 report.

retrieve_exportA

Retrieve the binary content of a completed export by id.

Returns the raw bytes Base64-encoded as a string under the data key.

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 txid or cl_ord_id.

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 timeout seconds.

Setting timeout=0 disables the switch.

cancel_order_batchA

Cancel up to 50 orders in a single call.

orders may contain txids or cl_ord_ids.

get_deposit_methodsC

List available deposit methods for an asset.

get_deposit_addressesC

Return deposit addresses for asset via method.

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 amount of the strategy's asset into strategy_id.

deallocate_earnC

Withdraw amount from strategy_id.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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