Bybit ServerServer

dlwjdtn535
GitHub
FinanceBlockchainAPI Testing

Loading subscription status...

💡 Description

MCP Bybit (Model Context Protocol) Server. Provides a convenient interface to interact with the Bybit API using MCP tools. Allows fetching market data, managing account information, and placing/canceling orders via API calls wrapped as tools.

📝 JSON Entries

{
  "mcpServers": [
    {
      "mcp-server-demo": {
        "env": {
          "ACCESS_KEY": "{ACCESS_KEY}",
          "SECRET_KEY": "{ACCESS_KEY}"
        },
        "args": [
          "run",
          "--directory",
          "C:\\Users\\YOUR_USERNAME\\AppData\\Local\\Programs\\mcp-server-demo\\src",
          "server.py"
        ],
        "command": "uv"
      }
    },
    {
      "bybit-server-docker": {
        "args": [
          "run",
          "-i",
          "--rm",
          "--init",
          "-e",
          "ACCESS_KEY={ACCESS_KEY}",
          "-e",
          "SECRET_KEY={SECRET_KEY}",
          "dlwjdtn535/mcp-bybit-server:latest"
        ],
        "command": "docker"
      }
    }
  ]
}

🛠️ Tools

get_orderbookget_klineget_tickersget_wallet_balanceget_positionsplace_ordercancel_orderget_order_historyget_open_ordersset_trading_stopset_margin_modeget_api_key_informationget_instruments_info

Features

  • Fetch market data from Bybit
  • Manage account information
  • Place and cancel orders

💬 Example Queries

  • Fetch the current order book for a specific cryptocurrency.
  • Get my account balance in USD.
  • Place a market order for Bitcoin.