Skip to main content
Glama
Upbit MCP Server

Upbit MCP Server

by solangii

업비트 MCP 서버

모델 컨텍스트 프로토콜(MCP)을 사용하는 업비트 암호화폐 거래소 OpenAPI 서버 구현입니다. 이 프로젝트는 시장 데이터(호가, 주문장, 거래 내역, 차트 데이터), 계좌 정보 검색, 주문 생성 및 취소, 입출금 관리, 기술적 분석 수행 등 업비트 거래소 서비스와 연동하는 도구를 제공합니다.

특징

  • 시장 데이터 검색(티커, 주문장, 거래, 캔들 데이터)

  • 계좌정보(잔액, 주문내역)

  • 주문 생성 및 취소

  • 입금 및 출금 기능

  • 기술 분석 도구

Related MCP server: MCP Bitget Trading Server

필수 조건

시작하기 전에 Upbit API 키를 받아야 합니다.

  1. 아직 Upbit 계정이 없다면 계정을 만드세요

  2. 업비트 개발자 센터 로 이동

  3. 새로운 API 키 생성

  4. 적절한 권한(필요에 따라 읽기, 거래, 인출)을 설정하세요.

  5. API 키( UPBIT_ACCESS_KEY , UPBIT_SECRET_KEY )를 .env 파일에 저장합니다(설치 섹션 참조)

설치

  1. 저장소를 복제합니다.

    지엑스피1

  2. 종속성 설치:

    cd upbit-mcp-server
    uv sync

    아직 uv 설치되지 않았다면 다음과 같이 설치할 수 있습니다.

    uv 사용하면 설치가 더 빠르고 종속성 해결이 더 안정적입니다.

    # Install uv
    curl -Ls https://astral.sh/uv/install.sh | sh
    
     # Add uv to your PATH
    echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
    source ~/.zshrc  # or bashrc, depending on your shell
  3. 환경 변수 설정: 프로젝트 루트에 .env 파일을 만들고 Upbit API 키를 추가하세요.

    UPBIT_ACCESS_KEY=your_access_key_here
    UPBIT_SECRET_KEY=your_secret_key_here

용법

Claude Desktop에 설치

옵션 1: Claude 구성 파일 사용(직접 통합)

MCP 서버를 Claude의 구성 파일에 직접 추가할 수 있습니다.

  1. Claude Desktop 설치

  2. Claude Desktop 구성에 다음을 추가하세요.

    • macOS: ``~/라이브러리/애플리케이션 지원/클로드/클로드_데스크탑_config.json`

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  3. 다음 구성을 추가합니다(필요에 따라 경로를 조정합니다):

    {
      "mcpServers": {
        "upbit-mcp-server": {
          "command": "/full/path/to/upbit-mcp-server/.venv/bin/python",
          "args": [
            "/full/path/to/upbit-mcp-server/main.py"
          ]
        }
      }
    }
  4. 새로운 구성을 로드하려면 Claude를 다시 시작하세요.

옵션 2: fastmcp 사용

fastmcp install main.py --name "Upbit API"

Python으로 직접 실행

uv run python main.py

개발 모드(웹 인터페이스)

fastmcp dev main.py

주의

  • 이 서버는 실제 거래를 처리할 수 있으므로 주의해서 사용하세요.

  • API 키를 안전하게 보관하고 공개 저장소에 절대 커밋하지 마세요.

특허

MIT

Available Tools

10 tools
cancel_orderC
업비트에서 주문을 취소합니다.

Args:
    uuid (str): 취소할 주문의 UUID
    
Returns:
    dict: 취소 결과

Inputs: uuid (required).

create_orderA
업비트에 주문을 생성합니다.

Args:
    market (str): 마켓 코드 (예: KRW-BTC)
    side (str): 주문 종류 - bid(매수) 또는 ask(매도)
    ord_type (str): 주문 타입 - limit(지정가), price(시장가 매수), market(시장가 매도)
    volume (str, optional): 주문량 (지정가, 시장가 매도 필수)
    price (str, optional): 주문 가격 (지정가 필수, 시장가 매수 필수)
    
Returns:
    dict: 주문 결과

Inputs: market (required), side (required), ord_type (required), volume, +1 more.

get_accountsB
업비트 계정의 잔고 정보를 조회합니다.

Returns:
    list[dict]: 보유 중인 자산 목록

Inputs: no named parameters.

get_deposits_withdrawalsB
업비트 계정의 입출금 내역을 조회합니다.

Args:
    currency (str, optional): 통화 코드 (예: BTC)
    txid (str, optional): 거래 ID
    transaction_type (str): 거래 유형 - deposit(입금) 또는 withdraw(출금)
    page (int): 페이지 번호
    limit (int): 페이지당 결과 개수 (최대 100)
    
Returns:
    list[dict]: 입출금 내역

Inputs: currency, txid, transaction_type, page, +1 more.

get_market_summaryB
주요 암호화폐 시장의 요약 정보를 제공합니다.

Returns:
    dict: 주요 암호화폐 시장 요약 정보

Inputs: no named parameters.

get_orderC
업비트에서 특정 주문의 정보를 조회합니다.

Args:
    uuid (str, optional): 주문 UUID
    identifier (str, optional): 조회용 사용자 지정 값
    
Returns:
    dict: 주문 정보

Inputs: uuid, identifier.

get_orderbookC

Get orderbook snapshot for a given symbol

Inputs: symbol (required).

get_ordersA
업비트에서 주문 내역을 조회합니다.

Args:
    market (str, optional): 마켓 코드 (예: KRW-BTC)
    state (str): 주문 상태 - wait(대기), done(완료), cancel(취소)
    page (int): 페이지 번호
    limit (int): 페이지당 주문 개수 (최대 100)
    
Returns:
    list[dict]: 주문 내역

Inputs: market, state, page, limit.

get_tickerC

Get the latest ticker data from Upbit

Inputs: symbol (required).

get_tradesC

Get recent trade ticks for a symbol

Inputs: symbol (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific resources and actions in the Upbit cryptocurrency exchange domain. For example, create_order, cancel_order, get_order, and get_orders handle different aspects of order management without overlap, while get_accounts, get_deposits_withdrawals, get_market_summary, get_orderbook, get_ticker, and get_trades each focus on unique data retrieval functions. No tools appear to do the same thing, making selection unambiguous for an agent.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as get_accounts, create_order, and cancel_order. This predictable naming convention enhances readability and usability, with no deviations or mixed styles observed across the toolset. The consistency supports easy identification and reduces cognitive load for agents.

    Tool Count5/5

    With 10 tools, the server is well-scoped for its purpose of interacting with the Upbit cryptocurrency exchange. Each tool earns its place by covering essential operations like account management, order handling, and market data retrieval. This count aligns with typical server sizes (3-15 tools) and avoids being too thin or heavy, providing comprehensive functionality without unnecessary complexity.

    Completeness4/5

    The tool surface offers near-complete coverage for the cryptocurrency exchange domain, including CRUD operations for orders (create, get, cancel, list), account and transaction management, and market data access. Minor gaps exist, such as the lack of tools for modifying orders or handling advanced trading features like stop-loss orders, but agents can work around these with the available tools. Overall, the set supports core workflows effectively.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables interaction with the Upbit cryptocurrency exchange through public market data tools and optional private trading tools. Supports getting ticker data, orderbooks, trades, account information, and executing trading operations through natural language.
      19
      28 npm
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables 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.
      17
      6
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables interaction with the Bithumb cryptocurrency exchange API to fetch market data, manage account balances, and execute trading operations including limit orders, market orders, and withdrawals.
      19
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Provides programmatic access to the Binance.US cryptocurrency exchange, enabling users to manage spot trading, wallet operations, and market data via natural language. It supports a wide range of features including order management, staking, sub-account transfers, and account history tracking.
      93
      26
      -