mcp-registry/base-mcp

    ==================
      
       /// MCP ///
      /// BAS ///
        
    ==================
        
    [server:online]
    [protocol:ready]

base-mcp

by base

A Model Context Protocol (MCP) server that supplies on-chain tools (wallet ops, contract deploy/call, NFTs, on-ramp, etc.) for AI agents such as Claude Desktop and Cursor to work with the Base network and Coinbase APIs.

262
83
Open Source

Installation

1. Prerequisites:
• Node.js >= 18
• pnpm, npm, or yarn package manager.
• An RPC endpoint for the Base network.
• (Optional) Coinbase API key/secret if you intend to enable Coinbase trading tools.
2. Clone & install:
git clone https://github.com/base/base-mcp.git cd base-mcp pnpm install # or npm install / yarn install
3. Build source (TypeScript → JavaScript):
pnpm build # runs tsc & bundles files
4. Configure environment variables by copying the template and filling in values:
cp .env.example .env # Edit .env BASE_RPC_URL="https://mainnet.base.org" # or your own PRIVATE_KEY="0x..." # signing key if sendTransaction is needed COINBASE_API_KEY="ck_..." COINBASE_API_SECRET="cs_..." PORT=8080
5. Start the MCP server:
pnpm start # production mode # or pnpm dev # hot-reload in development
6. Consume from an LLM:
Point your agent at `http://localhost:8080/mcp.json` (the auto-generated MCP manifest) and enable the tools returned by the manifest.

Documentation

License: MIT License
Updated 7/30/2025

Table of Contents