Base Network MCP Server
The Base Network MCP Server enables LLMs to perform blockchain operations on the Base network using natural language commands. You can:
Process natural language commands for wallet management, balance checking, and transactions (e.g., "Send 0.1 ETH to 0x123...").
Create new wallets on the Base network, with optional naming.
Check balances of specific wallets (by name or address) or the primary wallet by default.
List all available wallets and their details.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Base Network MCP Server check my wallet balance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
base-network-mcp-server
This is an MCP server for the Base network. It allows LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.
This server works with both Base Mainnet and Base Sepolia testnet.
Tools
The following tools are available:
process_command
Processes a natural language command for Base network operations. It accepts the following arguments:
command: The natural language command to process (e.g., "Send 0.5 ETH to 0x1234...")
It returns a structured response with the result of the operation, including transaction details for send operations, balance information for balance checks, and wallet details for wallet creation.
create_wallet
Creates a new wallet on the Base network. It accepts the following arguments:
name: (Optional) A name for the wallet
It returns an object containing the wallet address, name, and other details.
check_balance
Checks the balance of a wallet on the Base network. It accepts the following arguments:
wallet: (Optional) The wallet name or address to check (defaults to the primary wallet)
It returns the wallet balance in ETH.
list_wallets
Lists all available wallets.
It returns an array of wallet objects, each containing the wallet address, name, and other details.
Related MCP server: Base MCP Server
Usage
With Claude Desktop
Claude Desktop is a popular LLM client that supports the Model Context Protocol. You can connect your Base MCP server to Claude Desktop to perform blockchain operations via natural language commands.
You can add MCP servers to Claude Desktop via its config file at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
To add your Base MCP server to Claude Desktop, add the following configuration to the mcpServers object in the config file:
{
"mcpServers": {
"base": {
"command": "npx",
"args": [
"-y",
"base-network-mcp-server"
],
"env": {
"BASE_PROVIDER_URL": "https://api.developer.coinbase.com/rpc/v1/base/YOUR_API_KEY",
"WALLET_PRIVATE_KEY": "your_private_key_here"
},
"disabled": false,
"autoApprove": []
}
}
}Configuration
BASE_PROVIDER_URL: The URL of the Base network provider (Mainnet or Sepolia)WALLET_PRIVATE_KEY: Your wallet private key for authentication and transaction signingDEFAULT_GAS_PRICE: (Optional) Default gas price in Gwei
Programmatically (custom MCP client)
If you're building your own MCP client, you can connect to the Base MCP server programmatically using your preferred transport. The MCP SDK offers built-in stdio and SSE transports.
Installation
npm i base-network-mcp-server
# or
yarn add base-network-mcp-server
# or
pnpm add base-network-mcp-serverExample
The following example uses the StreamTransport to connect directly between an MCP client and server:
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamTransport } from '@modelcontextprotocol/sdk/client/stream.js';
import { BaseMcpServer } from 'base-network-mcp-server';
// Create a stream transport for both client and server
const clientTransport = new StreamTransport();
const serverTransport = new StreamTransport();
// Connect the streams together
clientTransport.readable.pipeTo(serverTransport.writable);
serverTransport.readable.pipeTo(clientTransport.writable);
const client = new Client(
{
name: 'MyClient',
version: '0.1.0',
},
{
capabilities: {},
}
);
// Create and configure the Base MCP server
const server = new BaseMcpServer({
providerUrl: 'https://api.developer.coinbase.com/rpc/v1/base/YOUR_API_KEY',
privateKey: 'your_private_key_here',
});
// Connect the client and server to their respective transports
await server.connect(serverTransport);
await client.connect(clientTransport);
// Call tools
const output = await client.callTool({
name: 'process_command',
arguments: {
command: 'Check my wallet balance',
},
});
console.log(output);
// Example output:
// {
// "success": true,
// "message": "Balance of wallet \"default\": 1.5 ETH",
// "balance": "1.5",
// "wallet": "default"
// }Example Commands
Once integrated, you can use natural language commands like:
"Create a new wallet for savings"
"Check my wallet balance"
"What's the balance of my savings wallet?"
"Send 0.1 ETH to 0x1234567890123456789012345678901234567890"
"Transfer 0.5 ETH from my savings wallet to 0xABCD..."
Security Considerations
Since this implementation interacts with real blockchain networks and handles private keys:
Private Key Security: Store private keys securely and never commit them to version control
Use Testnet First: Start with Base Sepolia testnet before moving to mainnet
Transaction Validation: Always validate transaction parameters before sending
Error Handling: Implement robust error handling for network issues
Rate Limiting: Be aware of API rate limits when making frequent requests
Available Tools
4 toolscheck_balanceC
Check wallet balance
Inputs: wallet.
create_walletC
Create a new wallet
Inputs: name.
list_walletsB
List all available wallets
Inputs: no named parameters.
process_commandC
Process a natural language command for Base network operations
Inputs: command (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Three tools have clearly distinct purposes (check_balance, create_wallet, list_wallets) with no overlap, but process_command is ambiguous as it could potentially duplicate or overlap with the functionality of the other tools through natural language interpretation, creating some confusion in tool selection.
Three tools follow a consistent verb_noun pattern (check_balance, create_wallet, list_wallets), but process_command deviates slightly by using a more abstract verb and including 'command' instead of a specific noun, breaking the pattern and reducing overall consistency.
With 4 tools, the count is reasonable and well-scoped for a wallet management server, though it feels slightly thin as it lacks tools for operations like updating or deleting wallets, which are common in such domains.
The toolset covers basic wallet operations (create, list, check balance) and includes a general command processor, but there are notable gaps such as missing update_wallet, delete_wallet, or transaction-related tools, which are typical for network operations and could lead to agent workarounds or failures.
Maintenance
Related MCP Connectors
OpenAI-compatible LLM MCP (7 tools); chat via balance key or x402 USDC on Base
Programmatic web-scraping MCP server powered by x402 micro-transactions on Base.
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for AI agents to discover campaigns by humans and donate USDC directly on Base.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.MIT
- AlicenseNot gradedqualityFmaintenanceAn MCP server that provides onchain tools for Claude AI to interact with the Base blockchain and Coinbase API, enabling wallet operations, testnet ETH, balance checks, fund transfers, and smart contract deployment.22 npm4MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that bridges AI models with Ethereum blockchains via all JSON-RPC calls, enabling natural language queries for block numbers, balances, transactions, and smart contract data.7 npm21MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI-driven on-chain interactions with the Zora Protocol on Base, supporting token queries, swaps, and transfers via natural language.22 npm2MIT