Skip to main content
Glama

Crypto Trading MCP

by vkdnjznd

加密交易 MCP(模型上下文协议)

一个简单的模型上下文协议 (MCP) 服务器,用于跨多个加密货币交易所进行价格查找和交易。

https://github.com/user-attachments/assets/34f3a431-9370-4832-923e-ab89bf1d4913

要求

  • Python 3.10 或更高版本

支持的交易所

目前仅支持现货交易。

  • Upbit
  • Gate.io
  • 币安

未来将增加更多的交易所。

环境设置

将每个交易所需要的认证信息添加到环境变量中。

例如,Upbit 如下:

UPBIT_ACCESS_KEY="your-access-key" UPBIT_SECRET_KEY="your-secret-key"

开发指南

添加新的交易所

  1. 创建一个新的交易所类,继承自CryptoExchange抽象类
  2. 实现所需的 API 方法
  3. 编写测试用例
  4. 在工厂类中注册新的交易所

运行测试

# Install test dependencies uv pip install -e ".[test]" # Run tests pytest
-
security - not tested
A
license - permissive license
-
quality - not tested

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、Gate.io 和 Binance)进行价格查询和交易。

  1. 要求
    1. 支持的交易所
      1. 环境设置
        1. 开发指南
          1. 添加新的交易所
          2. 运行测试

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
          Last updated -
          3
          70
          27
          TypeScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.
          Last updated -
          9
          14
          9
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data, enabling AI applications to retrieve cryptocurrency listings, quotes, and detailed information.
          Last updated -
          3
          10
          Python
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Updated to use Coin Cap API v3
          Last updated -
          3
          227
          TypeScript
          MIT License
          • Apple

        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/vkdnjznd/crypto-trading-mcp'

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