drio
Open app

Base MCP Server 🔵

Source

A Model Context Protocol (MCP) server that provides onchain tools for LLMs, allowing them to interact with the Base network and Coinbase API.

Catalog onlyCatalog onlySTDIO

Overview

Base MCP Server is a Model Context Protocol (MCP) server designed to provide onchain tools for AI applications, enabling them to interact with the Base Network and Coinbase API.

To use Base MCP Server, install it via npm, configure your API credentials in a .env file, and integrate it with AI applications like Claude Desktop.

  • Retrieve wallet addresses - List wallet balances - Transfer funds between wallets - Deploy smart contracts - Interact with Morpho vaults for onchain lending - Onramp funds via Coinbase - Manage ERC20 tokens - Buy OpenRouter credits with USDC
  1. Managing cryptocurrency wallets and transactions.
  2. Deploying and interacting with smart contracts on the blockchain.
  3. Facilitating onchain lending through Morpho vaults.
  4. Integrating with AI applications for enhanced functionality.

Add to your AI client

Use these steps to connect Base MCP Server 🔵 in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "base-mcp-base": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "base-mcp-base": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "base-mcp-base": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "base-mcp-base": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "base-mcp-base": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "base-mcp-base": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-base-mcp-base"
      ]
    }
  }
}

FAQ

What are the prerequisites for using Base MCP Server?

You need Node.js, npm or yarn, Coinbase API credentials, a wallet seed phrase, and optionally an OpenRouter API Key.

Is Base MCP Server free to use?

Yes! Base MCP Server is open-source and free to use.

How do I secure my API credentials?

Store your credentials in a `.env` file and ensure it is not shared publicly.

Base MCP Server 🔵 — MCP Registry