Skip to content
↑↓navigate↵openescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
Foundry MCP Server logo
#224 · of 445 · by weekly downloadsMCP server

Foundry MCP Server

Drives the Foundry toolchain — Anvil, Cast and Forge — so an agent can fork a chain, poke at it and deploy.

0
SaveVisit website ↗
Rank
#224
of 445 · by weekly downloads
Weekly downloads
30
npm + PyPI, last 7 days
GitHub stars
253
Repository on GitHub

Add it to your client

Community
Install
npx @pranesh.asp/foundry-mcp-server
mcpServers
{
  "mcpServers": {
    "foundry-mcp": {
      "command": "npx",
      "args": [
        "@pranesh.asp/foundry-mcp-server"
      ]
    }
  }
}
Transport
stdio
Runtime
Node
Auth
Not required
License
MIT
Stars
253
Tools
anvil_startanvil_stopcast_callcast_sendcast_storagecast_runcast_logs

Solidity work happens on the command line, and this server hands that command line to the model: start and stop Anvil instances, call and send against any RPC, read raw storage slots, replay a published transaction locally with cast run, and inspect the resulting trace. Forge files live in a persistent workspace at ~/.mcp-foundry-workspace, so a contract written in one turn is still there to compile and deploy in the next. If Heimdall is installed alongside it, the same session can disassemble bytecode, decode calldata without an ABI and decompile a verified-less contract back to readable Solidity. The author's own warning is worth repeating: point PRIVATE_KEY at a test key, never at funded mainnet keys.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar MCP servers

Report this comment

Why are you reporting this?