Skip to main content
Glama

Bybit MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEMONoSet to true for safe testing environmenttrue
ACCESS_KEYYesYour Bybit API access key
SECRET_KEYYesYour Bybit API secret key

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_secret_key

Get secret key from environment variables

get_access_key

Get access key from environment variables

get_orderbook

Get orderbook data for a specific symbol

get_kline

Get K-line (candlestick) data

get_tickers

Get ticker information

get_wallet_balance

Get wallet balance

get_positions

Get position information

place_order

Execute order

cancel_order

Cancel order

get_order_history

Get order history

get_open_orders

Get open orders

set_trading_stop

Set trading stop

set_margin_mode

Set margin mode

get_api_key_information

Get API key information

get_instruments_info

Get exchange information

validate_order_quantity

Validate order quantity against Bybit trading rules and get properly formatted quantity

detect_position_mode

Detect current position mode (one-way vs hedge) and get recommended positionIdx for orders

set_leverage

Set leverage for a specific symbol

calculate_position_size

Calculate optimal position size based on risk management principles

calculate_trailing_stop

Calculate trailing stop loss with breakeven and profit protection

place_order_with_trailing_stop

Place order with trailing stop loss

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/kondisettyravi/mcp-bybit-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server