Sponsored by Deepsite.site

beeper-mcp

Created By
unibaseio10 months ago
A backend service for executing beeper transactions on Binance Smart Chain
Content

ATTENTION: This repo is moved to: https://github.com/intentos-labs/beeper-mcp

beeper-mcp

A backend service for executing beeper transactions on Binance Smart Chain (BSC). This service provides a set of tools for interacting with the BSC blockchain, including balance checking, balance transfers, token transfers, token swaps in Pancakeswap and beeper reward claims.

Features

  • Get BNB and token balances
  • Transfer BNB and tokens
  • Swap tokens in Pancakeswap
  • Get token prices
  • Buy and sell tokens
  • Claim rewards of beeper tokens
  • Manage default wallet and token addresses

Prerequisites

  • Python >=3.10
  • Access to BSC network (mainnet or testnet)
  • Wallet account and private key

Environment Variables

Create a .env file in the project root with the following variables:

MEMBASE_CHAIN=<bsc or bsc-testnet>
MEMBASE_ACCOUNT=<your-wallet-address>
MEMBASE_SECRET_KEY=<your-private-key>
MEMBASE_TARGET_TOKEN=<default-token-address>  # Optional

API Endpoints

The service exposes the following MCP tools:

Wallet and Token Management

  • get_default_wallet_address() -> str: Get the default wallet address
  • get_default_token_address() -> str: Get the default token address
  • switch_default_token_address(new_token_address: str) -> str: Switch to a new default token address

Balance Operations

  • get_balance(address: str) -> str: Get BNB balance of an address
  • get_token_balance(address: str, token_address: str) -> str: Get token balance of an address

Transfer Operations

  • transfer(recipient_address: str, amount: Decimal = 0.01) -> dict: Transfer BNB to an address
  • transfer_token(recipient_address: str, token_address: str, amount: Decimal = 0.01) -> dict: Transfer tokens to an address

Trading Operations

  • swap_token(token_in: str, token_out: str, amount: Decimal = 0.01) -> dict: Swap between tokens
  • get_token_price(token_address: str) -> float: Get token price in BNB
  • buy_token(token_address: str, amount: Decimal = 0.01) -> dict: Buy tokens with BNB
  • sell_token(token_address: str, amount: Decimal = 0.01) -> dict: Sell tokens for BNB

Reward Operations

  • claim_rewards(token_address: str) -> dict: Claim rewards for a token

Running the Service

git clone https://github.com/unibaseio/beeper-mcp.git
cd beeper-mcp
# start server over stdio
uv run src/beeper_mcp/server.py 
  • start using sse

The sse service will start on port 8000 by default. You can specify a different port using the --port argument:

uv run src/beeper_mcp/server.py --port 8008 --transport=sse

Configuration on Claude/Windsurf/Cursor/Cline

{
  "mcpServers": {
    "membase": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/beeper-mcp",
        "run", 
        "src/beeper_mcp/server.py"
        ],
      "env": {
        "MEMBASE_ACCOUNT": "your account, 0x...",
        "MEMBASE_SECRET_KEY": "your private key or in .env",
        "MEMBASE_TARGET_TOKEN": "default token address",
        "MEMBASE_CHAIN": "chain type <bsc/bsc-testnet>"
      }
    }
  }
}

Notes

  • All amounts are in native units (e.g., BNB, tokens)
  • Token addresses should be provided in the correct format
  • Make sure you have sufficient BNB for gas fees
  • The service supports both BSC mainnet and testnet
  • All operations return detailed response objects with transaction hashes and status information
  • The service includes built-in error handling and status tracking for transactions

Usage

call functions in llm chat

  • show wallet and buy tokens

show wallet and buy tokens

  • sell tokens

sell tokens

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
Playwright McpPlaywright MCP server
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server