Upbitのロゴ

Upbit

組織
BrainDAO

MCP server for Upbit market data and optional private trading tools.

公開者BrainDAO
リポジトリmcp-upbit
言語TypeScript
フォーク
1
スター
2
利用可能なツール
19
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Upbitは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 19個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには2件のスターと1件のフォークがあります。

📈 Upbit MCP Server

npm version License: MIT

📖 Overview

Fast MCP server for interacting with Upbit, South Korea's largest cryptocurrency exchange. This server provides comprehensive access to public market data and optional private trading tools including order management, deposits, and withdrawals.

By implementing the Model Context Protocol (MCP), this server allows Large Language Models (LLMs) to access real-time ticker data, orderbooks, trade history, and execute trading operations directly through their context window.

✨ Features

  • Public Market Data: Access real-time ticker data, orderbook snapshots, and recent trades for any Upbit market.
  • Account Management: View account balances and positions (requires API key).
  • Order Management: Create, query, and cancel orders with support for limit, market, and price order types.
  • Deposit Operations: Check deposit eligibility, create deposit addresses, and track deposit history.
  • Withdrawal Operations: Create withdrawals, manage withdrawal addresses, and track withdrawal history.

📦 Installation

🚀 Using npx (Recommended)

To use this server without installing it globally:

bash
npx @iqai/mcp-upbit

🔧 Build from Source

bash
git clone https://github.com/IQAIcom/mcp-upbit.git
cd mcp-upbit
pnpm install
pnpm run build

⚡ Running with an MCP Client

Add the following configuration to your MCP client settings (e.g., claude_desktop_config.json).

📋 Minimal Configuration (Public Data Only)

json
{
  "mcpServers": {
    "upbit": {
      "command": "npx",
      "args": ["-y", "@iqai/mcp-upbit"],
      "env": {
        "UPBIT_SERVER_URL": "https://api.upbit.com"
      }
    }
  }
}

⚙️ Full Configuration (With Trading Enabled)

json
{
  "mcpServers": {
    "upbit": {
      "command": "npx",
      "args": ["-y", "@iqai/mcp-upbit"],
      "env": {
        "UPBIT_SERVER_URL": "https://api.upbit.com",
        "UPBIT_ACCESS_KEY": "your_access_key_here",
        "UPBIT_SECRET_KEY": "your_secret_key_here",
        "UPBIT_ENABLE_TRADING": "true"
      }
    }
  }
}

🔐 Configuration (Environment Variables)

VariableRequiredDescriptionDefault
UPBIT_SERVER_URLNoUpbit API server URLhttps://api.upbit.com
UPBIT_ACCESS_KEYFor tradingYour Upbit API access key-
UPBIT_SECRET_KEYFor tradingYour Upbit API secret key-
UPBIT_ENABLE_TRADINGFor tradingEnable private trading toolsfalse

🔑 Where to Get Upbit API Keys

  1. Create an account on Upbit if you don't already have one
  2. Go to the Upbit Developer Center
  3. Create a new API key
  4. Set appropriate permissions (read, trade, withdraw as needed)
  5. Store your API keys in the environment variables

🔒 Security & Permissions

  • Keep your UPBIT_SECRET_KEY private and IP-allowlist your server in Upbit.
  • Set UPBIT_ENABLE_TRADING=true only when you intend to place/cancel orders or create withdrawals/deposit addresses.
  • Upbit permission mapping:
    • Orders: create/cancel → 주문하기, query/list → 주문조회
    • Accounts/balances → 자산조회
    • Withdrawals: create/cancel → 출금하기, query/list/address list → 출금조회
    • Deposits: create deposit address → 입금하기, query/list/chance/address read → 입금조회

Documentation:

💡 Usage Examples

📊 Market Data

  • "What is the current price of Bitcoin on Upbit (KRW-BTC)?"
  • "Show me the orderbook for Ethereum (KRW-ETH)."
  • "Get the recent trades for XRP (KRW-XRP)."

💼 Account & Orders (Requires API Key)

  • "What are my current account balances?"
  • "Place a limit buy order for 0.01 BTC at 50,000,000 KRW."
  • "Cancel my pending order with UUID xyz123."
  • "Show me my open orders for KRW-BTC."

💳 Deposits & Withdrawals (Requires API Key)

  • "Create a deposit address for BTC."
  • "List my recent deposits."
  • "Withdraw 1 ETH to my wallet address."
  • "Check the status of my withdrawal."

🛠️ MCP Tools

CANCEL_ORDER

Cancel an existing Upbit order (requires private API)

ParameterTypeRequiredDescription
uuidstring✅

CANCEL_WITHDRAWAL

Cancel a digital asset withdrawal by UUID (requires private API)

ParameterTypeRequiredDescription
uuidstring✅

CREATE_DEPOSIT_ADDRESS

Request creation of a deposit address (requires private API)

ParameterTypeRequiredDescription
currencystring✅
net_typestring✅

CREATE_ORDER

Create an Upbit order (requires private API)

ParameterTypeRequiredDescription
marketstring✅
sidestring✅
ord_typestring✅
volumestring
pricestring
time_in_forcestring
smp_typestring
identifierstring

CREATE_WITHDRAWAL

Request a digital asset withdrawal (requires private API)

ParameterTypeRequiredDescription
currencystring✅
amountstring✅
addressstring✅
net_typestring✅
secondary_addressstring
transaction_typestring

GET_ACCOUNTS

Get Upbit account balances (requires private API enabled)

No parameters

GET_DEPOSIT

Get a single deposit by UUID (requires private API)

ParameterTypeRequiredDescription
uuidstring✅

GET_DEPOSIT_ADDRESS

Get a single deposit address for a currency and net_type (private)

ParameterTypeRequiredDescription
currencystring✅
net_typestring✅

GET_DEPOSIT_CHANCE

Get deposit availability information for a currency (private)

ParameterTypeRequiredDescription
currencystring✅
net_typestring

GET_ORDER

Get a single Upbit order (requires private API)

ParameterTypeRequiredDescription
uuidstring
identifierstring

GET_ORDERBOOK

Get orderbook snapshot for a given market

ParameterTypeRequiredDescription
marketstring✅Upbit market code, e.g., KRW-BTC

GET_ORDERS

List Upbit orders (requires private API)

ParameterTypeRequiredDefaultDescription
marketstring
statestring"wait"
pageinteger1
limitinteger100

GET_TICKER

Get the latest ticker data from Upbit for a single market

ParameterTypeRequiredDescription
marketstring✅Upbit market code, e.g., KRW-BTC

GET_TRADES

Get recent trades for a market

ParameterTypeRequiredDescription
marketstring✅Upbit market code, e.g., KRW-BTC

GET_WITHDRAWAL

Get a single withdrawal by UUID (requires private API)

ParameterTypeRequiredDescription
uuidstring✅

LIST_DEPOSIT_ADDRESSES

List deposit addresses for all currencies (requires private API)

No parameters

LIST_DEPOSITS

List deposits (requires private API)

ParameterTypeRequiredDefaultDescription
currencystring
statestring
pageinteger1
limitinteger50

LIST_WITHDRAWAL_ADDRESSES

List registered withdrawal-allowed addresses (requires private API)

No parameters

LIST_WITHDRAWALS

List withdrawals (requires private API)

ParameterTypeRequiredDefaultDescription
currencystring
statestring
pageinteger1
limitinteger50

👨‍💻 Development

🏗️ Build Project

bash
pnpm run build

👁️ Development Mode (Watch)

bash
pnpm run watch

✅ Linting & Formatting

bash
pnpm run lint
pnpm run format

🧪 Testing with MCP Inspector

bash
pnpm run build
npx @modelcontextprotocol/inspector node dist/index.js

📁 Project Structure

  • src/tools/: Individual tool definitions
  • src/lib/: Configuration, HTTP client, and authentication utilities
  • src/index.ts: Server entry point

📚 Resources

⚠️ Disclaimer

This project interacts with the Upbit cryptocurrency exchange API. Trading in cryptocurrencies involves significant risk. Users should exercise caution and verify all data independently. The authors are not responsible for any financial losses incurred through the use of this software.

📄 License

MIT

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "upbit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@IQAIcom/mcp-upbit"
      ],
      "env": {
        "UPBIT_SERVER_URL": "https://api.upbit.com",
        "UPBIT_ACCESS_KEY": "",
        "UPBIT_SECRET_KEY": "",
        "UPBIT_ENABLE_TRADING": "false"
      }
    }
  }
}

利用可能なツール

  • GET_TICKER

    Get the latest ticker data from Upbit for a single market

  • GET_ORDERBOOK

    Get orderbook snapshot for a given market

  • GET_TRADES

    Get recent trades for a market

  • GET_ACCOUNTS

    Get Upbit account balances (requires private API enabled)

  • CREATE_ORDER

    Create an Upbit order (requires private API)

  • GET_ORDERS

    List Upbit orders (requires private API)

  • GET_ORDER

    Get a single Upbit order (requires private API)

  • CANCEL_ORDER

    Cancel an existing Upbit order (requires private API)

  • LIST_WITHDRAWAL_ADDRESSES

    List registered withdrawal-allowed addresses (requires private API)

  • CREATE_WITHDRAWAL

    Request a digital asset withdrawal (requires private API)

  • GET_WITHDRAWAL

    Get a single withdrawal by UUID (requires private API)

  • LIST_WITHDRAWALS

    List withdrawals (requires private API)

  • CANCEL_WITHDRAWAL

    Cancel a digital asset withdrawal by UUID (requires private API)

  • GET_DEPOSIT_CHANCE

    Get deposit availability information for a currency (private)

  • CREATE_DEPOSIT_ADDRESS

    Request creation of a deposit address (requires private API)

  • GET_DEPOSIT_ADDRESS

    Get a single deposit address for a currency and net_type (private)

  • LIST_DEPOSIT_ADDRESSES

    List deposit addresses for all currencies (requires private API)

  • GET_DEPOSIT

    Get a single deposit by UUID (requires private API)

  • LIST_DEPOSITS

    List deposits (requires private API)

UpbitのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Upbitに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Upbitをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. UpbitのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "upbit": {
      "command": "npx",
      "args": [
        "-y",
        "@iqai/mcp-upbit"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてUpbitのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. UpbitのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Upbitを使ってこのタスクを手伝ってもらえますか?
Upbit
はい、読みました。
Upbitで調べた結果をお伝えします。

よくある質問

Upbit MCPサーバーは何に使いますか?

Upbitは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでUpbit MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでUpbitを利用できます。

TypingMindでUpbit MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Upbitを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Upbit MCPをTypingMindに接続するにはどうすればよいですか?

UpbitはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでUpbit MCPのどのようなツールを利用できますか?

Upbitは19個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Upbit MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Upbitで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇