Bybit MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BYBIT_API_KEY | Yes | Your Bybit API key | |
| BYBIT_TESTNET | No | Set to true to use the Bybit testnet (default is false) | false |
| BYBIT_API_SECRET | Yes | Your Bybit API secret | |
| BYBIT_TRADING_ENABLED | No | Set to true to enable trading operations (default is false). Trading is DISABLED by default for safety. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_server_timeA | Get the current Bybit server time |
| get_tickersB | Get real-time ticker information including current prices, 24h volume, and price changes for trading symbols. Use this to get current market data for any cryptocurrency pair. |
| get_order_bookC | Get order book depth for a trading symbol |
| get_recent_tradesC | Get recent trades for a symbol |
| get_klineA | Get historical candlestick/OHLC data for technical analysis. Returns open, high, low, close prices and volume data. If no time range specified, returns recent data ending at current time. |
| get_mark_price_klineA | Get mark price candlestick data for derivatives trading. Mark price is used for liquidation calculations and PnL. Available for linear and inverse perpetual contracts only. |
| get_index_price_klineC | Get index price candlestick data for derivatives. Index price is the fair value price based on major spot exchanges, used as reference for mark price calculation. |
| get_premium_index_price_klineA | Get premium index price candlestick data for linear perpetuals. Premium index shows the funding rate basis and is used to calculate funding payments. |
| get_instruments_infoC | Get trading instruments information |
| get_funding_rate_historyC | Get funding rate history |
| get_open_interestC | Get open interest data |
| get_insuranceD | Get insurance fund data |
| get_risk_limitC | Get risk limit information |
| get_long_short_ratioC | Get long/short ratio data |
| get_open_closed_ordersA | Get both open (pending) and recently closed orders. Essential for monitoring order status and trading activity. Use this to check if orders are filled, cancelled, or still pending. |
| get_order_historyC | Get comprehensive order history with detailed information about past orders including execution details, timestamps, and status changes. Useful for trade analysis and record keeping. |
| get_trade_historyA | Get detailed execution history showing actual trades (fills) with execution prices, quantities, fees, and timestamps. Essential for performance analysis and tax reporting. |
| get_wallet_balanceA | Get detailed wallet balance information including available balance, locked balance, and total equity across different account types. Essential for portfolio monitoring and risk management. |
| get_single_coin_balanceA | Get balance information for a specific coin with additional details like transferable amounts and account relationships. More detailed than wallet balance for single coin queries. |
| get_account_infoA | Get comprehensive account information including margin ratios, account status, upgrade status, and overall account health metrics. Essential for risk monitoring. |
| get_position_infoB | Get detailed position information including size, value, PnL, and margin for your trading positions. Essential for portfolio monitoring and risk management. |
| get_closed_pnlB | Get historical profit and loss data for closed positions. Useful for performance analysis and tax reporting. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Bybit Market Information | General information about Bybit market endpoints and capabilities |
TDQS
Scored across 22 tools
Most tools have distinct purposes targeting specific data types like account info, positions, orders, or market data, with clear boundaries. However, some overlap exists, such as get_closed_pnl and get_trade_history both relating to historical performance, which could cause minor confusion for agents.
All tool names follow a consistent verb_noun pattern with 'get_' prefix, ensuring predictability and readability. This uniformity helps agents easily understand and navigate the tool set without naming conflicts.
With 22 tools, the count is slightly high but reasonable for a comprehensive cryptocurrency trading server covering account, market, and order data. It provides extensive coverage without being overly bloated, though some tools might be consolidated for efficiency.
The tool set offers strong coverage for monitoring and analysis in trading, including account, positions, orders, and market data. Minor gaps exist, such as missing tools for executing trades or managing orders (e.g., create_order, cancel_order), which could limit full trading workflows.