Логотип Upbit

Upbit

Організація
BrainDAO

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

ВидавецьBrainDAO
Репозиторійmcp-upbit
МоваTypeScript
Форки
1
Зірки
2
Доступні інструменти
19
Тип транспортуstdio
Категорії
ЛіцензіяMIT
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Upbit надає можливості 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)

Використовуйте MCP Upbit з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Upbit ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Параметри конектора».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Параметри конектора» й виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо термінал запитає дозволу продовжити.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Upbit як сервер

Коли статус конектора зміниться на «Готово», натисніть «Змінити сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Змінити сервери».
  3. Вставте конфігурацію сервера MCP Upbit.
  4. Збережіть список серверів.
  5. Оновіть дані, щоб переконатися, що конектор досі готовий до роботи.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Змінити сервери»
{
  "mcpServers": {
    "upbit": {
      "command": "npx",
      "args": [
        "-y",
        "@iqai/mcp-upbit"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Upbit, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для Upbit.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Upbit?
Upbit
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Upbit.

Поширені запитання

Для чого використовується сервер MCP Upbit?

Upbit — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP Upbit з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Upbit з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP Upbit із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Upbit, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP Upbit до TypingMind?

Upbit працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає MCP Upbit у TypingMind?

Upbit надає інструменти MCP (19), які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP Upbit?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо Upbit потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇