MCP ExplorerExplorer

Crypto Trading Mcp

@vkdnjzndon 10 months ago
3 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server for cryptocurrency trading that provides a unified interface for trading and market data monitoring across multiple exchanges.

Overview

What is Crypto Trading Mcp

Crypto-trading-mcp is a Model Context Protocol (MCP) server designed for cryptocurrency trading, providing a unified interface for trading and monitoring market data across multiple exchanges.

Use cases

Use cases include automated trading strategies, portfolio management across different exchanges, and real-time market data monitoring for informed trading decisions.

How to use

To use crypto-trading-mcp, set up the required environment variables with your exchange authentication details, implement any necessary API methods for new exchanges, and run the server to start trading and monitoring.

Key features

Key features include support for multiple exchanges (currently Upbit, Gate.io, and Binance), a simple interface for price lookup and trading, and the ability to easily add new exchanges through a defined development guide.

Where to use

Crypto-trading-mcp can be used in the cryptocurrency trading sector, particularly for traders and developers looking to integrate trading functionalities across various platforms.

Content

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

Supported Exchanges

Currently supports spot trading only.

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers