Loading...

Base MCP server provides onchain tools for AI apps to interact with the Base Network and Coinbase API, enabling wallet management, contract deployment, and more.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Base MCP server provides onchain tools for AI apps to interact with the Base Network and Coinbase API, enabling wallet management, contract deployment, and more.
The Base MCP server offers powerful on-chain tools but carries significant risk due to its ability to manage funds and deploy contracts. It is safe when used with extreme caution, secure configuration practices, and a thorough understanding of the underlying blockchain operations. It's risky if secrets are exposed or if untrusted contract code is deployed.
Performance is limited by the speed of blockchain transactions and API responses from Coinbase, Alchemy, and OpenRouter. Expect delays for write operations.
Cost considerations include gas fees for blockchain transactions, API usage costs for Coinbase, Alchemy, and OpenRouter, and potential fees for on-ramping funds.
npm install -g{
"mcpServers": {
"base-mcp": {
"command": "npx",
"args": ["-y", "base-mcp@latest"],
"env": {
"COINBASE_API_KEY_NAME": "your_api_key_name",
"COINBASE_API_PRIVATE_KEY": "your_private_key",
"SEED_PHRASE": "your seed phrase here",
"COINBASE_PROJECT_ID": "your_project_id",
"ALCHEMY_API_KEY": "your_alchemy_api_key",
"PINATA_JWT": "your_pinata_jwt",
"OPENROUTER_API_KEY": "your_openrouter_api_key",
"CHAIN_ID": "optional_for_base_sepolia_testnet"
},
"disabled": false,
"autoApprove": []
}
}
}COINBASE_API_KEY_NAMECOINBASE_API_PRIVATE_KEYSEED_PHRASECOINBASE_PROJECT_IDALCHEMY_API_KEYOPENROUTER_API_KEYCHAIN_IDNEYNAR_API_KEYget-addressRetrieves the Ethereum address associated with the configured wallet.
Read-only operation, no side effects.
list-balancesLists the balances of various assets held in the configured wallet.
Read-only operation, no side effects.
transfer-fundsTransfers funds from the configured wallet to a specified destination address.
Irreversible write operation that can result in loss of funds.
deploy-contractDeploys a smart contract to the blockchain using provided Solidity code.
Irreversible write operation that can deploy malicious code.
check-address-reputationChecks the reputation of a given Ethereum address using external services.
Read-only operation, no side effects.
get_morpho_vaultsGets the available vaults for a given asset on the Morpho protocol.
Read-only operation, no side effects.
call_contractCalls a function on a deployed smart contract.
Can modify contract state depending on the function called.
get_onramp_assetsGets the assets available for onramping via Coinbase in a given region.
Read-only operation, no side effects.
onrampGenerates a URL for onramping funds via Coinbase.
Initiates a transaction that requires user confirmation.
erc20_balanceGets the balance of a specified ERC20 token for the configured wallet.
Read-only operation, no side effects.
erc20_transferTransfers a specified amount of an ERC20 token to a given address.
Irreversible write operation that can result in loss of tokens.
list_nftsLists the NFTs owned by a specified address.
Read-only operation, no side effects.
transfer_nftTransfers an NFT to another address.
Irreversible write operation that can result in loss of NFTs.
buy_openrouter_creditsBuys OpenRouter credits with USDC.
Transfers USDC to purchase credits.
Environment Variable
cloud
The Base MCP server offers powerful on-chain tools but carries significant risk due to its ability to manage funds and deploy contracts. It is safe when used with extreme caution, secure configuration practices, and a thorough understanding of the underlying blockchain operations. It's risky if secrets are exposed or if untrusted contract code is deployed.
This server provides full access to the configured wallet and blockchain operations. Exercise extreme caution when enabling autonomous mode, as destructive actions are possible.
Production Tip
Implement robust monitoring and alerting to detect and respond to errors or unexpected behavior in production.
It provides on-chain tools for AI applications to interact with the Base network and Coinbase API.
Node.js, npm/yarn, Coinbase API credentials, a wallet seed phrase, Coinbase Project ID, and Alchemy API Key are required.
Create a `.env` file with your API keys, seed phrase, and other configuration parameters.
Protect your API keys and seed phrase, be cautious when transferring funds or deploying contracts, and verify all transaction details before confirming.
Edit the Claude Desktop configuration file and add the server configuration with your credentials.
The risk level is high due to the ability to manage funds and deploy contracts, which are irreversible operations.
This server is specifically designed for the Base network, but could be adapted for other EVM-compatible chains with appropriate configuration.