Skip to main content
Glama
Crypto Trading MCP

Crypto Trading MCP

by vkdnjznd

Crypto Trading MCP (Model Context Protocol)

License: MIT Code style: black

A simple Model Context Protocol (MCP) server for price lookup and trading across multiple cryptocurrency exchanges.

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

Requirements

  • Python 3.10 or higher

Related MCP server: CCXT MCP Server

Supported Exchanges

Currently supports spot trading only.

  • Upbit

  • Gate.io

  • Binance

More exchanges will be added in the future.

Environment Setup

Add the authentication information required by each exchange to the environment variables.

For example, Upbit is as follows:

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

Development Guide

Adding a New Exchange

  1. Create a new exchange class inheriting from CryptoExchange abstract class

  2. Implement required API methods

  3. Write test cases

  4. Register the new exchange in the factory class

Running Tests

# Install test dependencies
uv pip install -e ".[test]"

# Run tests
pytest

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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
      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
      D
      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