binance-mcp

suraj-yadav-aiml/binance-mcp

3.2

If you are the rightful owner of binance-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Streamable Binance MCP Server provides real-time cryptocurrency prices using the Binance API, designed to run in a Docker container.

Tools
1
Resources
0
Prompts
0

Streamable Binance MCP Server

This project provides a simple, streamable MCP (Model-Context-Protocol) server that allows you to fetch the current price of cryptocurrencies from the Binance API.

The server is built with Python using the FastMCP library and is designed to be run as a Docker container.

Getting Started

Prerequisites

  • Docker must be installed on your system.

Build and Run with Docker

You can build and run the server using the provided Dockerfile.

  1. Build the Docker Image: Open your terminal and run the following command from the project's root directory to build the image:

    docker build -t binance-mcp .
    
  2. Run the Docker Container: Once the image is built, run the following command to start the server:

    docker run -p 8000:8000 binance-mcp
    

    This will start the MCP server, and it will be accessible at http://localhost:8000.

Usage

To use this MCP server with a compatible coding agent (like Cursor or an Open-Source Claude Code interpreter), you need to add it to the agent's configuration.

Add the following JSON configuration to your agent's settings where it accepts MCP servers:

{
  "mcpServers": {
    "remote-binance-mcp-server": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

Once configured, the agent will be able to use the get_price tool provided by this server to fetch cryptocurrency prices.