Base MCP Server logo

Base MCP Server

by base

The Base MCP Server provides onchain tools for AI applications, enabling interaction with the Base Network and Coinbase API. It extends MCP client capabilities by providing tools to perform various actions on Base.

View on GitHub

Last updated: N/A

What is Base MCP Server?

The Base MCP (Model Context Protocol) server is a tool that extends the capabilities of any MCP client by providing onchain tools for AI applications. It allows these applications to interact with the Base Network and Coinbase API, enabling them to perform various actions on the blockchain.

How to use Base MCP Server?

To use the Base MCP server, you can install it either from npm or from source. After installation, configure it with your Coinbase API credentials, wallet seed phrase, Coinbase Project ID, Alchemy API Key, and optionally, an OpenRouter API Key. Once configured, you can integrate it with applications like Claude Desktop by adding the server configuration to the Claude Desktop configuration file. The server provides a set of tools that can be accessed through natural language queries.

Key features of Base MCP Server

  • Retrieve wallet addresses

  • List wallet balances

  • Transfer funds between wallets

  • Deploy smart contracts

  • Interact with Morpho vaults for onchain lending

  • Call contract functions

  • Onramp funds via Coinbase

  • Manage ERC20 tokens

  • List and transfer NFTs (ERC721 and ERC1155)

  • Buy OpenRouter credits with USDC

Use cases of Base MCP Server

  • Integrating blockchain functionalities into AI applications like Claude Desktop and Cursor

  • Automating onchain transactions and interactions using natural language commands

  • Managing digital assets and identities on the Base Network

  • Building AI-powered tools for decentralized finance (DeFi) and NFT management

FAQ from Base MCP Server

What is an MCP server?

MCP stands for Model Context Protocol. An MCP server provides a standardized way for AI models to interact with external tools and data sources.

What is the Base Network?

Base is an Ethereum Layer 2 (L2) network developed by Coinbase, designed to offer a secure, low-cost, developer-friendly way for anyone to build decentralized applications.

What are the prerequisites for using Base MCP?

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

How do I add new tools to Base MCP?

Create a new directory in the src/tools directory, implement the tool with index.ts, schemas.ts, and handlers.ts files, add it to src/tools/index.ts, document it in the README, add examples, and write tests.

Where can I find examples of how to use the tools?

See the examples.md file for detailed examples of how to interact with the Base MCP tools.