Skip to main content
Glama

Upbit MCP Server

Upbit MCP 服务器

使用模型上下文协议 (MCP) 实现Upbit加密货币交易所 OpenAPI 的服务器。该项目提供与 Upbit 交易所服务交互的工具,例如检索市场数据(报价、订单簿、交易历史记录、图表数据)、账户信息、创建和取消订单、管理充值/提现以及进行技术分析。

特征

  • 市场数据检索(股票代码、订单簿、交易、蜡烛图数据)
  • 账户信息(余额、订单历史记录)
  • 订单创建和取消
  • 存取功能
  • 技术分析工具

先决条件

在开始之前,您需要获取 Upbit API 密钥:

  1. 如果您还没有Upbit帐户,请创建一个
  2. 前往Upbit 开发者中心
  3. 创建新的 API 密钥
  4. 确保设置适当的权限(根据需要读取、交易、提取)
  5. 将您的 API 密钥( UPBIT_ACCESS_KEYUPBIT_SECRET_KEY )存储在.env文件中(请参阅安装部分)

安装

  1. 克隆存储库:
    git clone https://github.com/solangii/upbit-mcp-server.git cd upbit-mcp-server
  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:``~/Library/Application Support/Claude/claude_desktop_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

开发模式(Web界面)

fastmcp dev main.py

警告

  • 该服务器可以处理真实交易,因此请谨慎使用。
  • 确保您的 API 密钥的安全,切勿将其提交到公共存储库。

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

与 Upbit 加密货币交易服务互动,检索市场数据、管理账户并执行交易。使用订单管理、存款、取款和技术分析工具,简化您的交易体验。

  1. 特征
    1. 先决条件
      1. 安装
        1. 用法
          1. 在 Claude Desktop 中安装
          2. 直接用 Python 运行
          3. 开发模式(Web界面)
        2. 警告
          1. 执照

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              use Bitget’s API to get cryptocurrency info
              Last updated -
              24
              TypeScript
              MIT License
            • A
              security
              F
              license
              A
              quality
              A backend service that enables interaction with the Binance exchange API, allowing users to view their portfolio, convert tokens, and execute trades with minimal market impact.
              Last updated -
              1
              0
              38
              TypeScript
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables price lookup and trading across multiple cryptocurrency exchanges including Upbit, Gate.io, and Binance.
              Last updated -
              6
              Python
              MIT License
            • A
              security
              F
              license
              A
              quality
              Enables programmatic access to Bitpanda cryptocurrency exchange features including trades, wallets, and transactions via the Model Context Protocol.
              Last updated -
              9
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/solangii/upbit-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server