A simple, lightweight and fast MCP (Model Context Protocol) server that provides Solidity development capabilities using the Foundry toolchain (Forge, Cast, and Anvil).

This server connects LLM assistants to the Foundry ecosystem, enabling them to:
- Interact with nodes (local Anvil instances or remote RPC endpoints)
- Analyze smart contracts and blockchain data
- Perform common EVM operations using Cast
- Manage, deploy, and execute Solidity code and scripts
- Work with a persistent Forge workspace
- Start and manage local Anvil instances
- Connect to any remote network (just specify the RPC)
- Get network/chain information
- Call contract functions (read-only)
- Send transactions to contracts (if
PRIVATE_KEYis configured) - Get transaction receipts
- Read contract storage
- Analyze transaction traces
- Retrieve contract ABIs and sources from block explorers
- Maintain a dedicated Forge workspace
- Create and edit Solidity files
- Install dependencies
- Run Forge scripts
- Deploy contracts