Skip to content

A Model Context Protocol (MCP) server for cryptocurrency trading that provides a unified interface for trading and market data monitoring across multiple exchanges.

License

Notifications You must be signed in to change notification settings

vkdnjznd/crypto-trading-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

demo.mp4

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

About

A Model Context Protocol (MCP) server for cryptocurrency trading that provides a unified interface for trading and market data monitoring across multiple exchanges.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages