Foundry MCP Server
by praneshasp
EVM-compatible blockchain toolkit for AI agents, enabling smart contract analysis, deployment and interaction via Foundry.
What it does
This server integrates LLM assistants directly with the Foundry toolchain, allowing them to manage a persistent Solidity development environment. It enables AI agents to interact with local Anvil instances or remote RPC endpoints to analyze, deploy, and execute smart contracts.
Tools
anvil_start/stop/status: Manage local Ethereum nodes.cast_call/send/balance/receipt: Execute read/write operations on-chain.forge_script: Execute Solidity scripts from the workspace.heimdall_disassemble/decode/decompile: Perform deep bytecode analysis and reverse engineering.create_solidity_file/read_file: Manage source code within a dedicated Forge workspace.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"foundry": {
"command": "npx",
"args": ["@pranesh.asp/foundry-mcp-server"],
"env": {
"RPC_URL": "http://localhost:8545",
"PRIVATE_KEY": "your-key-here"
}
}
}
}
Supported hosts
- claude
- cursor
- windsurf
Quick install
npx @pranesh.asp/foundry-mcp-serverInformation
- Pricing
- free
- Published
- 4/14/2026
- stars






