The Foundry MCP Server provides LLM assistants with Solidity development and blockchain interaction capabilities by wrapping the Foundry toolchain (Forge, Cast, Anvil) and Heimdall-rs analysis tools. It exposes tools for managing local or remote EVM networks, deploying and interacting with smart contracts, analyzing bytecode and transactions, and executing Solidity code within a persistent Forge workspace. The server solves the problem of enabling AI models to directly perform smart contract development, testing, and on-chain operations without requiring separate integrations or manual tool invocation.
claude mcp add --transport stdio praneshasp-foundry-mcp-server uvx foundry-mcp-server