Bitpin Mcp Server

Bitpin Mcp Server

This repository provides a comprehensive implementation of the Bitpin cryptocurrency exchange API through an MCP (Model Context Protocol) server.

Kamyab7

Developer Tools
Visit Server

README

Bitpin Exchange MCP Server Tools

This repository provides an MCP server implementation for the Bitpin cryptocurrency exchange. The server exposes several tools for interacting with the Bitpin API, such as retrieving wallet balances, market data, order details, and executing various types of orders like limit orders, market orders, stop-limit orders, and OCO (One Cancels the Other) orders.

📺 Demo

Check out a live demo of the Bitpin MCP Server in action, showcasing LLM-powered crypto trading:

Watch the demo

Features

The MCP server provides the following tools:

  • GetWalletsListAsync: Retrieve a list of wallet balances for various cryptocurrencies.
  • GetMarketsListAsync: Retrieve a list of all supported trading markets.
  • GetTickersListAsync: Retrieve the current price list of Bitpin's markets.
  • GetCurrenciesAsync: Retrieve a list of supported cryptocurrencies with details such as symbol, name, and tradability status.
  • GetOrderbooksAsync: Retrieve the open orders in a specific trading market.
  • GetMatchesAsync: Retrieve the latest executed trades for a specific market.
  • CreateLimitOrderAsync: Place a limit order to buy or sell a cryptocurrency at a specified price.
  • CreateMarketOrderAsync: Place a market order to instantly buy or sell at the best available price.
  • CreateStopLimitOrderAsync: Place a stop-limit order to buy or sell once a specific stop price is reached.
  • CreateOcoOrderAsync: Place an OCO (One Cancels the Other) order to manage both limit and stop-limit orders simultaneously.
  • GetOrdersAsync: Retrieve your list of orders.
  • GetCompeletedOrdersAsync: Retrieve details of your completed orders (executed trades).
  • GetOrderByIdAsync: Retrieve a specific order by its order ID.
  • CancelOrderByIdAsync: Cancel a specific order by its order ID.

Prerequisites

  • .NET 9 or higher
  • The BitpinClient NuGet package
  • Access to the Bitpin API (API Key and Secret)

Setting Up the Server

  1. Install Dependencies
    Ensure that your project references the required BitpinClient package and all necessary dependencies for MCP server tools.

  2. Configure Bitpin API Settings
    Set up your API Key and Secret for the Bitpin API in the BitpinClientSettings:

    var settings = new BitpinClientSettings()
    {
        Key = "****",  // Replace with your Bitpin API Key
        Secret = "****",  // Replace with your Bitpin API Secret
    };
    
  3. MCP Server Configuration
    Add the MCP server configuration to your application settings:

    {
        "mcpServers": {
            "BitpinExchange": {
                "command": "dotnet",
                "args": [
                    "run",
                    "--project",
                    "D:\\projects\\bitpin-mcp-server\\src\\MCPServer\\MCPServer.csproj",
                    "--no-build"
                ]
            }
        }
    }
    
  4. Configure Services in Program.cs

    Use the following configuration to add the BitpinClient service and set up the MCP server:

    using BitpinClient;
    using Microsoft.Extensions.DependencyInjection;
    using Microsoft.Extensions.Hosting;
    
    var builder = Host.CreateEmptyApplicationBuilder(settings: null);
    
    var settings = new BitpinClientSettings()
    {
        Key = "****", // Replace with your API Key
        Secret = "****", // Replace with your API Secret
    };
    
    builder.Services.AddBitpinClient(settings);
    
    builder.Services.AddMcpServer()
        .WithStdioServerTransport()
        .WithToolsFromAssembly();
    
    var app = builder.Build();
    
    await app.RunAsync();
    

Conclusion

This MCP server provides an easy way to integrate with the Bitpin API and interact with your wallets, orders, and markets. You can place orders, retrieve market data, and manage your assets efficiently using these tools.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python