
doggybee/mcp-server-ccxt
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
doggybee/mcp-server-ccxt — это кандидат на MCP-сервер, импортированный из https://github.com/doggybee/mcp-server-ccxt.
Обзор
doggybee/mcp-server-ccxt — это кандидат на MCP-сервер, импортированный из https://github.com/doggybee/mcp-server-ccxt.
Обзор (машинный перевод)
Высокопроизводительная интеграция криптовалютных бирж с использованием MCP (Model Context Protocol) и CCXT.
Особенности
- 🚀 Поддержка биржи: Подключается к 20+ криптовалютным биржам
- 🔃 Типы рынков: поддерживают спот, фьючерсы, свопы и другие рынки
- 🔧 Конфигурация прокси: Варианты доступа к биржам через прокси
- 📊 Быстро и надёжно: Оптимизированное кэширование и ограничение скорости
- 🌐 MCP Standard: Совместим с LLM, такими как Claude и GPT, через MCP
Архитектура интеграции сервера CCXT MCP
CCXT MCP Server соединяет языковые модели с криптовалютными биржами через протокол Model Context Protocol. Он служит мостом, позволяющим LLM получать рыночные данные в реальном времени и выполнять торговые операции на нескольких биржах через единый API.
Архитектура включает:
- LLM-клиенты (Claude и другие модели, совместимые с MCP), которые отправляют запросы
- Протокол контекста модели (MCP), который стандартизирует коммуникацию
- Сервер CCXT MCP, который обрабатывает запросы и управляет взаимодействиями обмена
- Библиотека CCXT, обеспечивающая унифицированный доступ к API обмена
- Подключения к нескольким криптовалютным биржам
Архитектура кода сервера CCXT MCP
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
CCXT MCP Server
High-performance cryptocurrency exchange integration using MCP (Model Context Protocol) and CCXT.
Features
- 🚀 Exchange Support: Connects to 20+ cryptocurrency exchanges
- 🔃 Market Types: Supports spot, futures, swap markets and more
- 🔧 Proxy Configuration: Options for accessing exchanges through proxies
- 📊 Fast & Reliable: Optimized caching and rate limiting
- 🌐 MCP Standard: Compatible with LLMs like Claude and GPT via MCP
CCXT MCP Server Integration Architecture
The CCXT MCP Server connects language models to cryptocurrency exchanges through the Model Context Protocol. It serves as a bridge that allows LLMs to access real-time market data and execute trading operations across multiple exchanges through a unified API.
The architecture includes:
- LLM clients (Claude and other MCP-compatible models) that send requests
- The Model Context Protocol (MCP) that standardizes communication
- The CCXT MCP Server that processes requests and manages exchange interactions
- The CCXT Library that provides unified access to exchange APIs
- Connections to multiple cryptocurrency exchanges
CCXT MCP Server Code Architecture
The server is organized into three main modules for better maintainability and extensibility:
- Exchange: Manages exchange instances, credentials, and symbol validation
- Utils: Provides caching, rate limiting, and logging functionality
- Tools: Implements MCP tools and resources for exchange interaction
Quick Start
Installing via Smithery
To install mcp-server-ccxt for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doggybee/mcp-server-ccxt --client claude
NPM Package (Recommended)
You can install CCXT MCP Server from npm:
# Install globally
npm install -g @mcpfun/mcp-server-ccxt
# Start the server
mcp-server-ccxt
Or run directly:
npx @mcpfun/mcp-server-ccxt
Manual Installation
Alternatively, you can clone and build the repository:
# Clone the repository
git clone https://github.com/doggybee/mcp-server-ccxt.git
cd mcp-server-ccxt
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm start
Configuration
- Create an environment file
Установка
npx -y @smithery/cli install @doggybee/mcp-server-ccxt --client claudeКонфигурация
{
"mcpServers": {
"ccxt": {
"command": "mcp-server-ccxt"
}
}
}