base-mcp  by base

LLM onchain tools for Base network interaction

created 5 months ago
275 stars

Top 93.9% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Model Context Protocol (MCP) server that enables AI applications to interact with the Base network and Coinbase API, offering on-chain functionalities for LLMs. It targets developers building AI agents that require blockchain interaction, simplifying complex operations like fund transfers, smart contract deployment, and NFT management.

How It Works

The server acts as a bridge, translating natural language requests from LLM clients into executable blockchain transactions and API calls. It leverages AgentKit ActionProviders to define specific tools, each with defined input schemas and associated logic for interacting with Base network protocols, Morpho vaults, and Coinbase services. This modular design allows for easy extension with new tools and data sources.

Quick Start & Requirements

  • Install: npm install -g base-mcp or npm install base-mcp locally.
  • Prerequisites: Node.js (v16+), npm/yarn, Coinbase API credentials, wallet seed phrase, Coinbase Project ID, Alchemy API Key, Neynar API Key. Optional: OpenRouter API Key.
  • Configuration: Create a .env file with API keys and seed phrase.
  • Integration: Configure Claude Desktop via claude_desktop_config.json.
  • Docs: CONTRIBUTING.md

Highlighted Details

  • Supports a wide range of on-chain actions: wallet management, fund transfers (ETH, ERC20), NFT operations (ERC721, ERC1155), smart contract deployment, and interaction with Morpho vaults.
  • Includes direct integration for onramping funds via Coinbase and resolving Farcaster usernames.
  • Designed for extensibility, allowing users to add custom tools and protocols.
  • Provides clear examples and integration instructions for AI assistants like Claude Desktop.

Maintenance & Community

The project is maintained by the Base team. Contributions are welcomed via pull requests, with detailed guidelines available in CONTRIBUTING.md.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

Sensitive credentials (API keys, seed phrases) require secure management. On-chain operations are irreversible, necessitating careful verification of transaction details before execution.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
0
Star History
15 stars in the last 30 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
4 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
created 1 year ago
updated 18 hours ago
Feedback? Help us improve.