Logo Bitget MCP Server

Bitget MCP Server

Tổ chức
Bitget-AI

Official Bitget Agent Hub — open-source AI toolkit connecting Claude, Cursor, Codex & ChatGPT to Bitget crypto trading (89 UTA v3 ops) and market analysis. Central installer for CLI, MCP, SDK, skills & signals.

Nhà phát hànhBitget-AI
Kho mãagent_hub
Ngôn ngữJavaScript
Bản fork
21
Sao
228
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Bitget MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    228 sao và 21 bản fork từ kho mã được liên kết.


Overview

Bitget Agent Hub is Bitget's official AI Agent toolkit, covering cryptocurrency and tokenized US stock trading — bringing 89 Bitget UTA v3 operations across trading and market analysis to Claude, Cursor, Codex, ChatGPT, and other AI agents.

Built for individual traders, quant developers, and anyone who wants to operate a crypto exchange through natural language.

This repository is the central entry point for the entire ecosystem. See individual package repos for detailed documentation.


Quick Start

What Do You Want to Do?

What do you want to do with AI?
|
+-- Let an AI Agent trade on Bitget for me
|     |
|     +-- Terminal AI (Claude Code / Codex CLI / OpenClaw)
|     |   -> install agent-cli + agent-skill
|     |
|     +-- Desktop AI (Claude Desktop / Cursor / Continue)
|         -> install agent-mcp
|
+-- Let an AI Agent monitor and analyze the market for me
|     -> install bitget-signal (no account, no API key)
|
+-- I'm a developer building my own Bitget AI tool
      -> install bitget-agent-sdk

Install with Your AI

The use-case tree above tells you which package you need. To set up the terminal tools in one shot, paste this into your terminal AI (Claude Code, Codex, OpenClaw):

prompt
Please run `npx @bitget-ai/bitget-agent-installer upgrade-all --target all` to set up the Bitget Agent Hub terminal tools (requires Node.js 20+), then help me verify the install.

This installs the bgc CLI plus the trading and market-signal skills, and deploys the skills to Claude Code, Codex, and OpenClaw. Desktop AI (Cursor, Claude Desktop, ChatGPT) uses bitget-agent-mcp instead — see Trading Tools. For per-package commands, rollback, and flags, see Installer below.


Ecosystem

Bitget Agent Hub consists of 5 core packages, each with a single responsibility. This repo also ships the bitget-agent-installer meta-tool that installs and upgrades them together.

Trading Tools (API Key Required)

PackageBest ForWhat It Does
bitget-agent-sdkDevelopersFoundation TypeScript SDK with 89 UTA v3 operations
bitget-agent-cliTerminal AIbgc command-line tool for Claude Code, Codex, OpenClaw
bitget-agent-mcpDesktop AIMCP server for Claude Desktop, Cursor, Windsurf, ChatGPT
bitget-agent-skillTerminal AIAI reasoning guide teaching how to use bgc correctly

Market Tools (No Account Needed)

PackageWhat It Does
bitget-signal5 market analysis skills — macro, on-chain, sentiment, technical, news

All packages are MIT-licensed and free to use. They can be installed side by side without conflicts.


Installer

@bitget-ai/bitget-agent-installer is the ecosystem's meta-tool. One command installs, upgrades, rolls back, and deploys the Bitget Agent Hub packages into your AI tools — no installing each package and running each skill's setup by hand.

bash
npx @bitget-ai/bitget-agent-installer

Run it with no arguments for an interactive menu, or pass a command directly (see below).

What It Manages

PackageRole
bitget-agent-cliThe bgc terminal trading CLI
bitget-agent-skillTrading reasoning guide for terminal AI
bitget-signalMarket-analysis skills (no API key)

Desktop AI uses bitget-agent-mcp, which is registered in your MCP client's config rather than installed globally — set it up via the MCP package directly. bitget-agent-sdk is a library dependency and needs no separate install.

Why Use It

  • One command for the whole ecosystem — install, upgrade, or roll back every package together.
  • Always up to date — resolves each package's latest published version automatically; nothing to pin, so differing versions across packages just work.
  • Skill deployment built in — wires skills straight into Claude Code, Codex, and OpenClaw via --target.
  • Reversible — roll any package back to a previously published version.
  • Safe to preview — --dry-run prints every command without running it.
  • Lightweight — a single dependency-free script run with npx; auto-detects npm or pnpm.

Commands

CommandWhat It Does
(no arguments)Interactive menu — upgrade, rollback, or deploy skills
upgrade-all [--target <tools>]Install or update all managed packages to latest
upgrade <pkg> [--target <tools>]Install or update one package to latest
rollback <pkg> --to <version>Switch a package to a specific published version
install [pkg] [--target <tools>]Deploy an already-installed package's skills to your AI tools

Flags

  • --target <tools> — where to deploy skills: claude, codex, openclaw, all (comma-separated; default claude)
  • --dry-run — preview commands without executing them
  • --version · --help

Examples

bash
# Install everything and deploy skills to every supported AI tool
npx @bitget-ai/bitget-agent-installer upgrade-all --target all

# Update just the CLI to the latest version
npx @bitget-ai/bitget-agent-installer upgrade @bitget-ai/bitget-agent-cli

# Roll the CLI back to the pre-v3 release
npx @bitget-ai/bitget-agent-installer rollback @bitget-ai/bitget-agent-cli --to 1.2.0

# Deploy already-installed market-signal skills into Claude Code and Codex
npx @bitget-ai/bitget-agent-installer install @bitget-ai/bitget-signal --target claude,codex

# Preview an upgrade without changing anything
npx @bitget-ai/bitget-agent-installer upgrade-all --target all --dry-run

Trading Tools

Let an AI Agent Trade Bitget for You Automatically

Bitget Agent Hub's trading tools expose 89 UTA v3 operations through 14 curated intent verbs:

Ask Your AIWhat It Does
"Buy 0.1 BTC at market price"Spot market order
"Open a BTC long, 10x leverage"Futures position
"Check my balance"Account overview
"Transfer USDT to futures"Internal fund transfer
"Cancel all open orders"Batch cancel

Choose Your AI Environment

Your AI Lives In…Package Installed
Terminal AI: Claude Code, Codex CLI, OpenClawbitget-agent-cli + bitget-agent-skill
Desktop AI: Claude Desktop, Cursor, Continue, Windsurf, ChatGPT Desktopbitget-agent-mcp

Get Started

  1. Create a Bitget API Key at bitget.com/api-management
  2. Run the installer wizard or follow individual package docs
  3. Verify installation by asking your AI: "What Bitget tools are available?"

First time? Create a Demo API Key and use --paper-trading to practice before touching real funds.


Market Tools

Let an AI Agent Monitor and Analyze the Market in Real Time

bitget-signal adds 5 market analysis skills — no Bitget account, no API key required:

Ask Your AISkill
"How is Fed policy affecting BTC?"macro-analyst
"Are whales moving assets on-chain?"market-intel
"Is the market fearful or greedy?"sentiment-analyst
"Is BTC RSI overbought?"technical-analysis
"What's important in crypto today?"news-briefing

Get Started

bash
npx @bitget-ai/bitget-signal --target all

Restart your AI tool, then ask about market conditions.

Coming Next

Bitget-exclusive signals:

  • top-trader-flow: Top copy-trading leader positioning
  • derivatives-structure: Perp basis and term structure
  • large-flow-detect: Whale-sized order detection

Architecture

How it works:

  1. SDK (bitget-agent-sdk): Foundation layer with 89 operations, HMAC signing, rate limiting
  2. CLI (bitget-agent-cli): Terminal command-line tool built on SDK
  3. MCP (bitget-agent-mcp): Desktop AI server built on SDK
  4. Skill (bitget-agent-skill): Teaches terminal AI how to use CLI correctly
  5. Signal (bitget-signal): Independent market analysis via a public, no-key market-data MCP service

Supported Operations

Based on Bitget UTA v3 API — 89 operations via 14 curated intent verbs:

ModuleDefaultIntent VerbsRequires API Key
market✅marketNo (public data)
trade✅order, position, strategy_orderYes
account✅account_overview, transfer_funds, …Yes
strategy—via rawYes
cryptoloans—loanYes
tax—taxYes

strategy_order is gated on the trade module — placing strategy orders is a trading capability an agent expects whenever trading is enabled; the strategy module's other operations remain reachable through raw.

Plus meta tools: discover (explore operations) and raw (call any operation by operationId).

Browse the live catalog anytime with bgc discover (or discover in any surface).


Security

Credential Protection

  • ✅ Never leaves your machine: API keys read from environment variables only
  • ✅ Local signing: All authenticated requests signed with HMAC-SHA256 in-process
  • ✅ No .env parsing: Tools do not read .env files to prevent leakage
  • ✅ No proxy: Direct connection to Bitget's official API

Safety Modes

  • --read-only: Removes all write tools at startup — AI cannot place orders or transfers
  • --paper-trading: Routes to Bitget's Demo environment — no real funds involved
  • Rate limiting: Built-in client-side throttling prevents API abuse

Best Practices

  1. Use Demo API Key first for testing
  2. Start with --read-only mode to verify queries
  3. Never commit credentials to version control
  4. Rotate API keys every 90 days

Documentation

TopicDoc
Getting starteddocs/getting-started.md
Ecosystem architecturedocs/architecture.md

Per-package references — CLI flags, MCP client config, SDK API, signal skills — live in each package's own repo (see the Ecosystem table above). The live tool surface is always browsable with bgc discover (or discover in any surface).


Links


FAQ

What is Bitget Agent Hub?

Bitget Agent Hub is the official open-source AI Agent ecosystem from Bitget. It connects Bitget's cryptocurrency trading capabilities and real-time market data to AI agents like Claude, Cursor, Codex, and ChatGPT — covering 89 UTA v3 operations through 14 curated intent verbs, plus no-account-required market analysis skills.

How do I know which package to install?

It depends on your AI tool:

  • Terminal AI (Claude Code, Codex) → bitget-agent-cli + bitget-agent-skill
  • Desktop AI (Claude Desktop, Cursor) → bitget-agent-mcp
  • Market analysis only → bitget-signal (no API key needed)
  • Developer building custom tools → bitget-agent-sdk

Can I use AI to trade crypto automatically?

Yes. Once installed, you can tell supported AI tools to "buy 0.1 BTC" or "open a BTC long at 10x leverage" and the AI will execute directly on your Bitget account. Use --paper-trading mode to rehearse safely.

Is it safe to connect my API key?

Yes. Credentials are:

  • Read from environment variables only
  • Never proxied through any server
  • Signed locally with HMAC-SHA256
  • Never logged or written to disk

How do I prevent accidental orders?

Add --read-only at startup. All write tools are removed entirely — the AI cannot see or call them.

Which AI tools are supported?

Claude Desktop, Claude Code, Cursor, Codex CLI, Continue, Windsurf, ChatGPT Desktop, OpenClaw, and any MCP-compatible client.

Is it free?

All packages are MIT-licensed and free to use. bitget-signal is maintained by Bitget and free to use — no API key, no account.

How do I update everything?

Run npx @bitget-ai/bitget-agent-installer and choose upgrade, or:

bash
npx @bitget-ai/bitget-agent-installer upgrade-all --target all

Contributing

Issues and pull requests are welcome.


License

MIT License — Free for personal and commercial use. Attribution appreciated but not required.


⚠️ Risk Disclaimer: Trading cryptocurrency and tokenized stocks carries substantial risk. You are solely responsible for any orders your AI agent places on your behalf. Always use --read-only and --paper-trading modes to rehearse safely before going live.

Bitget Agent Hub is an official Bitget open-source project · Part of the Bitget AI ecosystem · Built for traders, developers, and AI enthusiasts

Dùng MCP Bitget MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Bitget MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Bitget MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Bitget MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "agent-hub": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Bitget MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Bitget MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Bitget MCP Server giúp tôi làm việc này không?
Bitget MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Bitget MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Bitget MCP Server dùng để làm gì?

Bitget MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Bitget MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Bitget MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Bitget MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Bitget MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Bitget MCP Server với TypingMind?

Bitget MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Bitget MCP Server cung cấp những công cụ nào trong TypingMind?

Bitget MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Bitget MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Bitget MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇