
doggybee/mcp-server-ccxt 是从 https://github.com/doggybee/mcp-server-ccxt. 导入的 MCP 服务器候选。
概览
doggybee/mcp-server-ccxt 是从 https://github.com/doggybee/mcp-server-ccxt. 导入的 MCP 服务器候选。
概述(AI 翻译)
采用MCP(模型上下文协议)和CCXT实现高性能加密货币交易所集成。
特色
- 🚀 交易所支持:连接20+加密货币交易所
- 🔃 市场类型:支持现货、期货、掉期市场等
- 🔧 代理配置:通过代理访问交易所的选项
- 📊 快速且可靠:优化缓存和速率限制
- 🌐 MCP 标准:通过 MCP 兼容 Claude 和 GPT 等大型语言模型
CCXT MCP 服务器集成架构
CCXT MCP 服务器通过模型上下文协议将语言模型与加密货币交易所连接起来。它作为桥梁,使大型语言模型能够访问实时市场数据并通过统一的 API 执行跨多个交易所的交易操作。
建筑包括:
- 发送请求的LLM客户端(Claude及其他兼容MCP的型号)
- 标准化通信的模型上下文协议(MCP)
- 处理请求和管理交换交互的CCXT MCP服务器
- CCXT 库,提供对交换 API 的统一访问
- 连接多个加密货币交易所
CCXT MCP 服务器代码架构
本页由 AI 翻译,技术细节请以原文为准。
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"
}
}
}