Skip to main content
Glama
vkdnjznd

Crypto Trading MCP

by vkdnjznd

暗号通貨取引MCP(モデルコンテキストプロトコル)

ライセンス: MIT コードスタイル: 黒

複数の暗号通貨取引所間での価格検索と取引を行うためのシンプルなモデル コンテキスト プロトコル (MCP) サーバー。

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

要件

  • Python 3.10以上

Related MCP server: CCXT MCP Server

サポートされている取引所

現在はスポット取引のみサポートしています。

  • アップビット

  • ゲート.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

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    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.
    12
    9 npm
    16
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A Model Control Protocol (MCP) server that provides cryptocurrency trading interfaces for Binance exchange, enabling functions like real-time price fetching, account balance queries, order placement/cancellation, and automated arbitrage strategies.
    9
    13
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables LLMs to interact with cryptocurrency exchanges through CCXT, allowing for tasks like fetching balances, market data, creating orders, and trading operations in a standardized way.
    8
    MIT