io.github.donnywin85/bsc-dex-spread

Official registry E-commerce

Cross-DEX price & spread for PancakeSwap v2+v3 on BSC via x402. Tool get_dex_spread(pair, fee?).

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package bsc-dex-spread-mcp
Claude Code
claude mcp add bsc-dex-spread -e 'EVM_PRIVATE_KEY=<your evm_private_key>' -e 'GATEWAY_URL=<GATEWAY_URL>' -- npx -y bsc-dex-spread-mcp@0.1.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "bsc-dex-spread": {
            "command": "npx",
            "args": [
                "-y",
                "bsc-dex-spread-mcp@0.1.0"
            ],
            "env": {
                "EVM_PRIVATE_KEY": "<your evm_private_key>",
                "GATEWAY_URL": "<GATEWAY_URL>"
            }
        }
    }
}

Environment variables

  • EVM_PRIVATE_KEY required secret Your Base-mainnet buyer wallet private key (0x-prefixed). Funded with a few dollars of USDC on Base; needs zero ETH. Pays $0.01 USDC per call.
  • GATEWAY_URL Optional override of the gateway base URL. Defaults to https://x402.donnyautomation.com

Frequently asked questions

What is io.github.donnywin85/bsc-dex-spread?

Cross-DEX price & spread for PancakeSwap v2+v3 on BSC via x402. Tool get_dex_spread(pair, fee?).

How do I install io.github.donnywin85/bsc-dex-spread?

It runs on your machine. In Claude Code: claude mcp add bsc-dex-spread -e 'EVM_PRIVATE_KEY=<your evm_private_key>' -e 'GATEWAY_URL=<GATEWAY_URL>' -- npx -y bsc-dex-spread-mcp@0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.donnywin85/bsc-dex-spread need an API key?

Yes. It expects EVM_PRIVATE_KEY, which you set in its configuration.

Is io.github.donnywin85/bsc-dex-spread open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.donnywin85/bsc-dex-spread?

It is published by donnywin85. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.