bybit-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bybit-mcp-serverWhat is the current price of BTC/USDT?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bybit-mcp-server
A Model Context Protocol server for the Bybit V5 API.
Connect AI assistants (Claude, Cursor, etc.) to Bybit for market data, trading, and account management — locally via stdio or remotely via HTTP with OAuth authentication.
Quick Start
Local (stdio)
uvx bybit-mcp-serverRemote (Docker)
docker pull ghcr.io/workspace/bybit-mcp-server:latest
docker run -p 8000:8000 \
-e BYBIT_MCP_ADMIN_PASSWORD=your-password \
-e BYBIT_MCP_SECRET_KEY=$(python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())") \
-e BYBIT_MCP_ISSUER_URL=https://your-server.example.com \
-v bybit-data:/app/data \
ghcr.io/workspace/bybit-mcp-server:latestRelated MCP server: MCP Bitget Trading Server
Transport Modes
Mode | Transport | Auth | Credentials | Use Case |
Local |
| None | Env vars | Claude Desktop, Cursor |
Remote |
| OAuth 2.0 | Web settings page | Claude Custom Connectors, shared servers |
MCP Client Configuration
Claude Desktop (Local)
Add to claude_desktop_config.json:
{
"mcpServers": {
"bybit": {
"command": "uvx",
"args": ["bybit-mcp-server"],
"env": {
"BYBIT_API_KEY": "your-api-key",
"BYBIT_API_SECRET": "your-api-secret",
"BYBIT_TESTNET": "true"
}
}
}
}Claude Custom Connectors (Remote)
Deploy the server with Docker (see Deployment)
In Claude settings, add a Custom Connector:
URL:
https://your-server.example.com
Claude handles OAuth automatically — you'll be prompted to log in with admin credentials
After connecting, visit
https://your-server.example.com/settingsto enter your Bybit API keys
Cursor (Local)
Add to .cursor/mcp.json:
{
"mcpServers": {
"bybit": {
"command": "uvx",
"args": ["bybit-mcp-server"],
"env": {
"BYBIT_API_KEY": "your-api-key",
"BYBIT_API_SECRET": "your-api-secret",
"BYBIT_TESTNET": "true"
}
}
}
}Available Tools (27)
Category | Tools | Permission |
Market |
|
|
Account |
|
|
Trade |
|
|
Position |
|
|
Asset |
|
|
Deployment
Docker Compose
services:
bybit-mcp:
image: ghcr.io/workspace/bybit-mcp-server:latest
ports:
- "8000:8000"
environment:
- BYBIT_MCP_ADMIN_PASSWORD=your-secure-password
- BYBIT_MCP_SECRET_KEY=your-fernet-key
- BYBIT_MCP_ISSUER_URL=https://your-server.example.com
volumes:
- bybit-data:/app/data
restart: unless-stopped
volumes:
bybit-data:Generate a Fernet key:
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"Environment Variables
Local Mode (stdio)
Variable | Default | Description |
| — | API key from Bybit |
| — | API secret from Bybit |
|
| Use testnet ( |
|
| Permission mode: |
| — | Request receive window in ms |
Remote Mode (streamable-http)
Variable | Default | Description |
|
| Set to |
|
| HTTP bind address |
|
| HTTP port |
|
| Admin login username |
| — | Admin login password (required) |
| — | Fernet key for encrypting API keys at rest (required) |
| — | Public URL with scheme, e.g. |
|
| SQLite database file path |
Development
git clone https://github.com/workspace/bybit-mcp-server.git
cd bybit-mcp-server
uv sync --all-extras
uv run pytest
uv run bybit-mcp-serverDocumentation
Full docs at workspace.github.io/bybit-mcp-server
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables cryptocurrency trading on Bybit exchange through comprehensive market data access, account management, and automated trading operations. Features smart position validation, trailing stop losses, and risk management tools with demo mode support for safe testing.21
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Bitget cryptocurrency exchange for spot and futures trading. Supports real-time market data, order management, account balances, leverage control, and position tracking with demo trading capabilities.175MIT

Bybit MCP Serverofficial
AlicenseBqualityCmaintenanceA production-ready MCP server for Bybit — 206 tools covering market data, trading, positions, account management, assets, and real-time WebSocket streams. Enables AI assistants to interact directly with the Bybit cryptocurrency exchange through natural language.10072125MIT- Flicense-qualityCmaintenanceEnables LLM agents to access BingX cryptocurrency exchange market data and execute trades through the official API, with support for account management, order creation, and technical indicators.
Related MCP Connectors
Crypto market data for AI agents via x402. 16 tools: prices, funding, DeFi yields, arbitrage, TA.
AI agent access to Asian crypto markets. Korean exchange routing and x402 paid APIs.
Crypto perps data for AI agents: funding rates, open interest, liquidations, order book, CVD.
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/workspace/bybit-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server