Labsco
MCP SERVER

Bybit MCP Server

by BCusack

Bybit's v5 API behind an assistant — market data always on, and every order, position and balance tool hidden until you set BYBIT_TRADING_ENABLED=true.

Trading Execution & Brokerage
Summary
The safety switch is the design.

Trading and position tools do not appear in the tool list at all while `BYBIT_TRADING_ENABLED` is false, so an assistant cannot place an order it cannot see — that is a stronger guarantee than a warning in a description. When you do turn it on, `BYBIT_TESTNET=true` gives you the same surface against fake money first.

What it is

An MCP server over the Bybit cryptocurrency exchange, covering linear, inverse, option and spot categories. It splits its surface in two: read-only market data is always available, while anything that moves money stays out of the tool list entirely unless you switch it on.

What you get
  • Market reads, always available — `get_server_time`, `get_tickers`, `get_order_book`, `get_recent_trades`, `get_instruments_info`, `get_funding_rate_history`, `get_open_interest`, `get_insurance`, `get_risk_limit`, `get_long_short_ratio`
  • Four candlestick series: `get_kline`, `get_mark_price_kline`, `get_index_price_kline`, `get_premium_index_price_kline`
  • Orders, once trading is enabled — `place_order`, `place_trigger_order` for conditional entries and stops, `amend_order`, `cancel_order`, `cancel_all_orders`
  • Batch equivalents for all three: `batch_place_order`, `batch_amend_order`, `batch_cancel_order`
  • Order and account history — `get_open_closed_orders`, `get_order_history`, `get_trade_history`, `get_wallet_balance`, `get_single_coin_balance`, `get_account_info`
  • Position control — `get_position_info`, `get_closed_pnl`, `set_leverage`, `switch_cross_isolated_margin`, `switch_position_mode`, `set_auto_add_margin`, `set_trading_stop`, `modify_position_margin`
  • A resource at `bybit://market/info` describing the available endpoints
Requirements

A Bybit account and an API key with the permissions you actually intend to use — read-only for market data, Trade for orders, Position for position management; withdraw is not needed. Pass `BYBIT_API_KEY` and `BYBIT_API_SECRET` in the client's env block, plus `BYBIT_TESTNET` and `BYBIT_TRADING_ENABLED`. Run it with `uvx bybit-mcp` (Python 3.13+ and uv), or point the client at the published image `falconiun/bybit-mcp`. Package `bybit-mcp` at 0.1.9, MIT.

Setup effort

One command plus a key — uvx bybit-mcp, then supply credentials