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 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/BCusack/bybit-py-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server