Logo van Upbit

Upbit

Organisatie
BrainDAO

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

UitgeverBrainDAO
Repositorymcp-upbit
TaalTypeScript
Forks
1
Sterren
2
Beschikbare tools
19
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Upbit biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 19 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    2 sterren en 1 forks in de gekoppelde repository.

📈 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

Installatie

TypingMind
Vereisten:

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"
      }
    }
  }
}

Beschikbare tools

  • 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)

Gebruik Upbit MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Upbit is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Upbit toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Upbit.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "upbit": {
      "command": "npx",
      "args": [
        "-y",
        "@iqai/mcp-upbit"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Upbit in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Upbit in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Upbit gebruiken om me hiermee te helpen?
Upbit
Zeker. Ik heb het gelezen.
Dit vond ik met Upbit.

Veelgestelde vragen

Waarvoor wordt de MCP-server Upbit gebruikt?

Upbit is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Upbit MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Upbit gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Upbit MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Upbit verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Upbit MCP met TypingMind?

Upbit werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Upbit MCP in TypingMind?

Upbit biedt 19 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Upbit MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Upbit authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇