Developer builds AI-powered MCP (Model Context Protocol) server on Cloudflare that dynamically exposes Stellar smart contract interfaces to LLMs, enabling voice-controlled token deployment and contract interaction without manual signing or XLM management.
A developer demonstrates building a Model Context Protocol (MCP) server using Cloudflare's serverless infrastructure to connect AI models like Claude with Stellar smart contracts. The MCP server dynamically generates tools from contract specs, allowing users to deploy fungible tokens, track contract addresses, and invoke contract methods through natural language. Key features include automatic tool generation from contract interfaces, integration with smart wallets for non-custodial signing, and the ability to chain multiple MCP servers together. The demo shows deploying a meme token, querying contract data, and accessing Blend V2 protocol methods entirely through conversational AI. The approach leverages Stellar's contract comments and specs baked into WebAssembly, XDR JSON decoding for big integer handling, and Cloudflare's durable objects for user session storage.