ccxt-mcp
하는 일
CCXT MCP 서버를 설치하고 설정해, AI 에이전트가 로컬 연결을 통해 시장 데이터와 잔액을 읽고, 선택적으로 거래하도록 하는 방법을 설명합니다. AI가 거래소 계정을 안전하게 다루기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓Claude나 Cursor의 AI 어시스턴트가 거래소 시장 데이터를 읽게 하고 싶을 때.
- ✓AI와 키를 공유하지 않고 이름 있는 거래소 계정을 설정하고 싶을 때.
- ✓라이브 계정을 쓰기 전에 샌드박스나 테스트넷에서 거래를 테스트하고 싶은 경우.
스킬 링크
https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Claude Code에서 잔액을 확인할 수 있도록 CCXT MCP 서버를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
서버를 AI 도구의 설정에 추가하고, API 키는 로컬에 저장합니다. 그러면 AI는 키를 보지 않고 계정 이름으로 거래소 도구를 호출합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CCXT MCP Server
ccxt-mcp is the official CCXT Model Context Protocol server. It runs locally over stdio and lets an AI agent (Claude Desktop/Code, Cursor, VS Code, Windsurf, …) use the unified CCXT API across 100+ crypto exchanges and prediction markets.
- npm:
ccxt-mcp· runs vianpx -y ccxt-mcp· source: https://github.com/ccxt/ccxt/tree/master/mcp - Full docs: https://docs.ccxt.com/docs/mcp
Key property: your API keys stay on your machine and the model never sees them. Tools reference accounts by a name you choose; credentials are never tool parameters and never appear in results.
Install
Requires Node.js ≥ 18. Pick the host:
- Claude Code:
claude mcp add ccxt -- npx -y ccxt-mcp - Claude Desktop / Cursor / Windsurf — add to the host's MCP config:
{ "mcpServers": { "ccxt": { "command": "npx", "args": ["-y", "ccxt-mcp"] } } } - VS Code (
.vscode/mcp.json) — useinputsfor encrypted key storage:{ "inputs": [ { "id": "binance-key", "type": "promptString", "password": true }, { "id": "binance-secret", "type": "promptString", "password": true } ], "servers": { "ccxt": { "command": "npx", "args": ["-y", "ccxt-mcp"], "env": { "BINANCE_APIKEY": "${input:binance-key}", "BINANCE_SECRET": "${input:binance-secret}" } } } } - Non-technical / Claude Desktop: a signed
.mcpbdesktop-extension bundle installs by drag-and-drop and stores keys in the OS keychain.
With no configuration the server already serves public market data on every exchange — a useful install on its own.
Configure accounts
To use private data or trading, create the config file (its path is shown by the get_safety_status tool):
- macOS:
~/Library/Application Support/ccxt-mcp/config.json - Linux:
~/.config/ccxt-mcp/config.json - Windows:
%APPDATA%\ccxt-mcp\config.json - Or set
CCXT_MCP_CONFIGto any path.
{
"accounts": {
"binance-testnet": {
"exchange": "binance",
"apiKey": "…", "secret": "…",
"sandbox": true, // testnet — trades fake money; recommended first stop
"trading": true // "true" enables trading on SANDBOX/DEMO accounts only
},
"binance-main": {
"exchange": "binance",
"apiKey": "…", "secret": "…",
"trading": "live", // live trading requires the explicit string "live"…
"maxOrderValue": 250, // …and a per-order USD cap you author (null = opt out)
"maxDailyValue": 1000, // optional rolling-24h cap
"allowedSymbols": ["BTC/USDT", "ETH/*"], // optional strict allowlist
"confirm": "live" // always (every order) | live (default: only LIVE accounts; sandbox/demo execute WITHOUT a confirm step) | never
},
"polymarket-main": { "exchange": "polymarket", "walletAddress": "0x…", "privateKey": "0x…" }
}
}
Any credential the exchange needs works (apiKey, secret, password, uid, walletAddress, privateKey, …), plus sandbox/demo, defaultType, options, and prediction: true for exchanges that exist in both crypto and prediction namespaces (e.g. hyperliquid). chmod 600 the file. Env vars also work: <EXCHANGEID>_<CREDENTIAL> (e.g. BINANCE_APIKEY, OKX_PASSWORD) fill missing fields, and CCXT_MCP_EXCHANGE/CCXT_MCP_APIKEY/CCXT_MCP_SECRET/CCXT_MCP_SANDBOX/CCXT_MCP_TRADING define a single account named default. The accounts map holds as many exchanges/accounts as you want — one entry each.
On Claude Desktop the .mcpb install form has fields for a single exchange plus a Config file picker — point that at a config.json (as above) to configure multiple exchanges, or create the file at the default path and leave the form blank.
Capability tiers (opt-in, off by default)
| Tier | What it enables | How to turn it on |
|---|---|---|
| market | tickers, order books, OHLCV, trades, market search, prediction events, raw GET endpoints | on by default, no keys |
| read | balances, orders, own trades, positions | configure an account |
| trading | create/edit/cancel orders, leverage, margin | per-account "trading": true (sandbox) or "live" |
| funds | withdraw, transfer, deposit addresses | per-account "funds": true or "live" |
| implicitWrites | raw POST/PUT/DELETE endpoints | per-account "implicitWrites": true |
Tiers can only be enabled by the user editing the config file — never from the conversation, and there is no to
자주 묻는 질문
AI가 제 API 키를 볼 수 있나요?
아니요. 스킬에 따르면 키는 사용자의 컴퓨터에 남고, 모델은 키를 보지 않습니다.
설치하려면 무엇이 필요한가요?
Node.js 18 이상이 필요하며, 서버는 npx로 실행됩니다.
거래를 지원하나요?
예. 안전 장치가 있는 선택 기능으로 제공되며, 샌드박스 또는 테스트넷 모드도 있습니다.
상세 정보
작성자의 원본 설명
Official CCXT MCP (Model Context Protocol) server — connect an AI agent to 100+ cryptocurrency exchanges and prediction markets for market data, balances, and opt-in trading. Covers installing the server in Claude Desktop/Code, Cursor, VS Code and other MCP hosts; configuring named accounts and API keys (kept local, never seen by the model); the capability tiers and safety rails; sandbox/testnet trading; and how to drive the tools. Use when the user wants an agent to fetch prices/order books/candles, check balances/orders/positions, place or cancel orders, or explore prediction markets across
repo: ccxt/ccxt
인기도
- GitHub 스타
- 45k
- 순위
- #6383
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
binance-agentic-wallet
45kbaw 명령줄 도구로 Binance Web3 지갑을 관리하도록 돕습니다. 로그인, 잔액 확인, 전송, 토큰 스왑, 지정가 주문을 포함합니다.
binance-sports-ai-analyzer
45k월드컵 경기 예측, AI 분석, 뉴스 인사이트를 찾고, 신호를 조정하면 승리 확률을 다시 계산하도록 돕습니다.
binance-tokenized-securities-info
45kOndo 토큰화 미국 주식에 대해 토큰 목록, 회사 정보, 거래 상태, 온체인 가격을 조회하도록 돕습니다.
binance
45kbinance-cli 도구로 Binance Spot, USD-M 선물, Convert를 사용하도록 돕습니다. 먼저 인증을 설정해야 합니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.