LD

lazy-dinosaur/ccxt-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

95 stars 30 forks Качество 71 Тренд 15MIT

lazy-dinosaur/ccxt-mcp — это кандидат на сервер MCP, импортированный из https://github.com/lazy-dinosaur/ccxt-mcp.

Обзор

lazy-dinosaur/ccxt-mcp — это кандидат на сервер MCP, импортированный из https://github.com/lazy-dinosaur/ccxt-mcp.

Обзор (машинный перевод)

한국어 버전(корейская версия)

CCXT MCP Server — это сервер, позволяющий AI-моделям взаимодействовать с API криптовалютных бирж через протокол Model Context Protocol (MCP). Этот сервер использует библиотеку CCXT для доступа к более чем 100 криптовалютным биржам и их торговым возможностям.

🚀 Быстрый старт

Установка и использование

Глобальная установка

Бег с NPX

Вы можете запускать его напрямую без установки:

Посмотреть справку:

Конфигурация

Регистрация MCP-сервера в Claude Desktop

  1. Откройте настройки рабочего стола Claude:
  • Перейдите в меню настроек в приложении Claude Desktop
  • Найти раздел «MCP серверы»
  1. Добавить новый сервер MCP:
  • Нажмите кнопку «Добавить сервер»
  • Имя сервера: ccxt-mcp
  • Командование: npx @lazydino/ccxt-mcp
  • Дополнительные аргументы (по желанию): --config /path/to/config.json
  1. Сохранить и протестировать сервер:
  • Сохранить настройки
  • Проверьте соединение с помощью кнопки «Test Connection»

Методы конфигурации — два варианта

Вариант 1: Включить информацию о аккаунте напрямую в настройки рабочего стола Claude (базовый метод)

Этот метод включает информацию о аккаунте CCXT непосредственно в файле настроек Claude Desktop (claude_desktop_config.json):

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

CCXT MCP Server

한국어 버전(Korean version)

CCXT MCP Server is a server that allows AI models to interact with cryptocurrency exchange APIs through the Model Context Protocol (MCP). This server uses the CCXT library to provide access to more than 100 cryptocurrency exchanges and their trading capabilities.

🚀 Quick Start

# Install the package globally
npm install -g @lazydino/ccxt-mcp

# Run with default settings
ccxt-mcp

# or run without installation
npx @lazydino/ccxt-mcp

Installation and Usage

Global Installation

# Install the package globally
npm install -g @lazydino/ccxt-mcp

Running with npx

You can run it directly without installation:

# Using default settings
npx @lazydino/ccxt-mcp

# Using custom configuration file
npx @lazydino/ccxt-mcp --config /path/to/config.json

View help:

npx @lazydino/ccxt-mcp --help

Configuration

Registering the MCP Server in Claude Desktop

  1. Open Claude Desktop Settings:

    • Go to the Settings menu in the Claude Desktop app
    • Find the “MCP Servers” section
  2. Add a New MCP Server:

    • Click the “Add Server” button
    • Server name: ccxt-mcp
    • Command: npx @lazydino/ccxt-mcp
    • Additional arguments (optional): --config /path/to/config.json
  3. Save and Test the Server:

    • Save the settings
    • Test the connection with the “Test Connection” button

Configuration Methods - Two Options

Option 1: Include Account Information Directly in Claude Desktop Settings (Basic Method)

This method includes CCXT account information directly in the Claude Desktop settings file (claude_desktop_config.json):

{
  "mcpServers": {
    "ccxt-mcp": {
      "command": "npx",
      "args": ["-y", "@lazydino/ccxt-mcp"],
      "mcpBearerToken": "YOUR_MCP_TOKEN",
      "accounts": [
        {
          "name": "bybit_main",
          "exchangeId": "bybit",
          "apiKey": "YOUR_API_KEY",
          "secret": "YOUR_SECRET_KEY",
          "defaultType": "spot"
        },
        {
          "name": "bybit_futures",
          "exchangeId": "bybit",
          "apiKey": "YOUR_API_KEY",
          "secret": "YOUR_SECRET_KEY",
          "defaultType": "swap"
        }
      ]
    }
  }
}
Открыть полный README на GitHub

Установка

npx -y @lazydino/ccxt-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "ccxt-mcp": { "command": "npx", "args": ["-y", "@lazydino/ccxt-mcp"], "mcpBearerToken": "YOUR_MCP_TOKEN", "accounts": [ { "name": "bybit_main", "exchangeId": "bybit", "apiKey": "YOUR_API_KEY", "secret": "YOUR_SECRET_KEY", "defaultType": "spot" }, { "name": "bybit_futures", "exchangeId": "bybit", "apiKey": "YOUR_API_KEY", "secret": "YOUR_SECRET_KEY", "defaultType": "swap" } ] } } }