# Bitget MCP server

> Trade crypto and read market data on Bitget through the Unified Trading Account (UTA v3) API, with read-only and paper-trading modes.

- Listing: https://mcp.tc/i/bitget
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Finance & Payments](https://mcp.tc/c/finance-payments)
- Vendor: Bitget-AI
- Repository: <https://github.com/Bitget-AI/agent-mcp>
- Package: npm `@bitget-ai/bitget-agent-mcp`

## About

Connects an AI assistant to the Bitget Unified Trading Account (UTA v3) API. It covers market data, spot and futures orders, account and fund transfers, sub-accounts, loans and tax. Instead of one tool per endpoint, it exposes about 14 intent verbs plus a discover tool for browsing operations and a raw tool for any v3 operation by ID.

Runs locally over stdio with npx -y @bitget-ai/bitget-agent-mcp and requires Node.js 20 or later. Account operations need BITGET\_API\_KEY, BITGET\_SECRET\_KEY and BITGET\_PASSPHRASE; public market data works without credentials. Requests are signed locally with HMAC-SHA256 and sent to Bitget. High-risk actions such as cancelAll and withdraw need confirmation, and writes accept a dry run.

## What it can do

- Read live tickers, candles and funding rates without credentials
- Place and cancel spot and futures orders
- Check balances and account overview
- Set leverage and manage positions
- Transfer funds between accounts
- Use crypto loans and sub-account operations
- Run in read-only or paper-trading mode
- Preview writes with dry run; confirm high-risk actions

## Example prompts

- "What's the current BTC price on Bitget?"
- "Show my USDT balance across accounts"
- "Pull the 4h BTC candles and the perpetual funding rate"
- "Set leverage to 10x and preview a BTC long with a dry run"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio bitget --env "BITGET_API_KEY=<YOUR_BITGET_API_KEY>" --env "BITGET_SECRET_KEY=<YOUR_BITGET_SECRET_KEY>" --env "BITGET_PASSPHRASE=<YOUR_BITGET_PASSPHRASE>" -- npx -y @bitget-ai/bitget-agent-mcp
```

2. Start Claude Code and type `/mcp`. **bitget** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "bitget": {
      "command": "npx",
      "args": [
        "-y",
        "@bitget-ai/bitget-agent-mcp"
      ],
      "env": {
        "BITGET_API_KEY": "<YOUR_BITGET_API_KEY>",
        "BITGET_SECRET_KEY": "<YOUR_BITGET_SECRET_KEY>",
        "BITGET_PASSPHRASE": "<YOUR_BITGET_PASSPHRASE>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=bitget&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBiaXRnZXQtYWkvYml0Z2V0LWFnZW50LW1jcCJdLCJlbnYiOnsiQklUR0VUX0FQSV9LRVkiOiI8WU9VUl9CSVRHRVRfQVBJX0tFWT4iLCJCSVRHRVRfU0VDUkVUX0tFWSI6IjxZT1VSX0JJVEdFVF9TRUNSRVRfS0VZPiIsIkJJVEdFVF9QQVNTUEhSQVNFIjoiPFlPVVJfQklUR0VUX1BBU1NQSFJBU0U%2BIn19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "bitget": {
      "command": "npx",
      "args": [
        "-y",
        "@bitget-ai/bitget-agent-mcp"
      ],
      "env": {
        "BITGET_API_KEY": "<YOUR_BITGET_API_KEY>",
        "BITGET_SECRET_KEY": "<YOUR_BITGET_SECRET_KEY>",
        "BITGET_PASSPHRASE": "<YOUR_BITGET_PASSPHRASE>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "bitget": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bitget-ai/bitget-agent-mcp"
      ],
      "env": {
        "BITGET_API_KEY": "${input:bitget-api-key}",
        "BITGET_SECRET_KEY": "${input:bitget-secret-key}",
        "BITGET_PASSPHRASE": "${input:bitget-passphrase}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "bitget-api-key",
      "description": "BITGET_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitget-secret-key",
      "description": "BITGET_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitget-passphrase",
      "description": "BITGET_PASSPHRASE",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "bitget": {
      "command": "npx",
      "args": [
        "-y",
        "@bitget-ai/bitget-agent-mcp"
      ],
      "env": {
        "BITGET_API_KEY": "<YOUR_BITGET_API_KEY>",
        "BITGET_SECRET_KEY": "<YOUR_BITGET_SECRET_KEY>",
        "BITGET_PASSPHRASE": "<YOUR_BITGET_PASSPHRASE>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add bitget --env "BITGET_API_KEY=<YOUR_BITGET_API_KEY>" --env "BITGET_SECRET_KEY=<YOUR_BITGET_SECRET_KEY>" --env "BITGET_PASSPHRASE=<YOUR_BITGET_PASSPHRASE>" -- npx -y @bitget-ai/bitget-agent-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.bitget]
command = "npx"
args = ["-y", "@bitget-ai/bitget-agent-mcp"]
env = { BITGET_API_KEY = "<YOUR_BITGET_API_KEY>", BITGET_SECRET_KEY = "<YOUR_BITGET_SECRET_KEY>", BITGET_PASSPHRASE = "<YOUR_BITGET_PASSPHRASE>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "BITGET_API_KEY=<YOUR_BITGET_API_KEY>" -e "BITGET_SECRET_KEY=<YOUR_BITGET_SECRET_KEY>" -e "BITGET_PASSPHRASE=<YOUR_BITGET_PASSPHRASE>" bitget npx -- -y @bitget-ai/bitget-agent-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "bitget": {
      "command": "npx",
      "args": [
        "-y",
        "@bitget-ai/bitget-agent-mcp"
      ],
      "env": {
        "BITGET_API_KEY": "<YOUR_BITGET_API_KEY>",
        "BITGET_SECRET_KEY": "<YOUR_BITGET_SECRET_KEY>",
        "BITGET_PASSPHRASE": "<YOUR_BITGET_PASSPHRASE>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Recent changes

- 2026-10-06 21:22 UTC: Tracking started: version 3.3.1. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/bitget#history (Atom feed: https://mcp.tc/i/bitget/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 3.3.1
- Last checked: 2026-10-05
- Listed: 2026-10-05
- Updated: 2026-10-05

---
Source: https://mcp.tc/i/bitget (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
