OnChain Agent

MCP Servers for Claude - On-Chain Capabilities

What I Built

Model Context Protocol (MCP) servers that give Claude Desktop on-chain capabilities: token swaps, lending/borrowing, bridging across chains, and smart contract interactions. Built on Coinbase AgentKit SDK, deployed as localhost MCP servers.

Supports Base, Ethereum, Polygon, Solana. Claude can execute DeFi operations, check balances, deploy contracts, and interact with protocols: all through natural language prompts backed by real wallet transactions.

What I Learned

  • MCP architecture: how Claude discovers and calls external tools via the Model Context Protocol, and why localhost servers are the current standard for agent extensions.
  • AgentKit patterns: Coinbase SDK abstracts wallet management and multi-chain complexity, but understanding the underlying primitives (EIP-712 signing, RPC endpoints) is necessary to debug edge cases.
  • Trust boundaries: giving an AI agent wallet access requires careful prompting and transaction limits. The line between "useful autonomy" and "footgun" is real.
  • Cross-chain complexity: even with AgentKit, each chain has subtle differences (gas mechanics, token standards, bridge protocols) that break abstractions.

Strategic Value

This positions me to evaluate agentic infrastructure: not just 'can AI do DeFi,' but 'what primitives enable that safely, and where are the trust/UX gaps?' When assessing agent-focused products or protocols, I can engage on the actual architecture rather than the pitch deck.