drio
Open app

Bybit MCP Server

Source

Ollama MCP server for bybit

Catalog onlyCatalog onlySTDIO

Overview

Bybit MCP Server is an implementation of the Model Context Protocol (MCP) that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to interact with various trading tools without exposing sensitive information.

To use the Bybit MCP Server, install the necessary dependencies, set your Bybit API credentials as environment variables, and run the server using specific commands for either client interaction or server management.

  • Real-time data retrieval for various cryptocurrency trading pairs. - Tools for accessing ticker information, order book data, trade history, and market information. - Support for both direct server management and an integrated client for enhanced interactions.
  1. Monitoring live cryptocurrency prices for trading decisions.
  2. Fetching and analyzing market trends through historical trade data.
  3. Managing and assessing wallet balances and trading positions securely.

Add to your AI client

Use these steps to connect Bybit MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "bybit-mcp-sammcj": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "bybit-mcp-sammcj": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "bybit-mcp-sammcj": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "bybit-mcp-sammcj": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bybit-mcp-sammcj": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "bybit-mcp-sammcj": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-bybit-mcp-sammcj"
      ]
    }
  }
}

FAQ

**Is it safe to use this server for trading?**

This server provides access to a read-only API; you should only use a read-only key to limit risk.

**What programming environment is required?**

You need Node.js (v20+) and pnpm for installation and running the server.

**Can I test this server without real funds?**

Yes, you can set up a testnet configuration to use the server without impacting real funds.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":428,"uuid":"7c36821c-1028-4a63-be12-ba7d5c5db10a","name":"bybit-mcp","title":"Bybit MCP Server","description":"Ollama MCP server for bybit","avatar_url":"https://avatars.githubusercontent.com/u/862951?v=4","created_at":"$D2024-12-16T07:23:45.902Z","updated_at":"$D2024-12-19T12:38:39.198Z","status":"created","author_name":"sammcj","author_avatar_url":"https://avatars.githubusercontent.com/u/862951?v=4","tags":"bybit,crypto,MCP-server","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/sammcj/bybit-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

Bybit MCP Server — MCP Registry