Skip to main content
Glama

Crypto Trading MCP

by vkdnjznd

Crypto Trading MCP (Model Context Protocol)

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

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

A Model Context Protocol server that enables price lookup and trading across multiple cryptocurrency exchanges including Upbit, Gate.io, and Binance.

  1. Requirements
    1. Supported Exchanges
      1. Environment Setup
        1. Development Guide
          1. Adding a New Exchange
          2. Running Tests

        Related MCP Servers

        • 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
          3
          12
          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
          33
          Python
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          A cryptocurrency price query service based on Model Context Protocol that provides tools for retrieving virtual currency prices, market trends, detailed information, and K-line data.
          Last updated -
          2
          Python
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that exposes Binance cryptocurrency exchange data to LLMs, allowing agents to access real-time prices, order books, and historical market data without requiring API keys.
          Last updated -
          11
          Python
          MIT License

        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