68
/ 100
1 month ago
glama

foundry-mcp

An MCP server providing 80+ tools for Foundry Ethereum development, enabling AI assistants to compile, test, deploy smart contracts, interact with EVM chains, and manage local nodes via Forge, Cast, Anvil, and Chisel.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Tool descriptions don’t match what handlers do
31 tools describe read intent but their handlers mutate — cast_block (line 41: exec("cast", ["block", ...args])); cast_block_number (line 57: exec("cast", ["block-number", ...args])); cast_chain (line 73: exec("cast", ["chain", ...args]))
⚠️
Known vulnerabilities in dependencies: 1 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: PRIVATE_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 high

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.25.3GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configFOUNDRY_PROJECTPath to Foundry project Current directory
🔐 secretPRIVATE_KEYDefault private key for transactions (⚠️ testing only) -
configRPC_URLclaude mcp add --transport stdio --env =http://localhost:8545 foundry -- bunx @maxencerb/foundry-mcp
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 9 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/maxencerb-foundry-mcp-y8zsnz)](https://m8ven.ai/mcp/maxencerb-foundry-mcp-y8zsnz)
commit: dd423ef065f2a992fe73b52930a387d8acedea61
code hash: bedbe5616fd13bf8cd8232109fc51c57e9e5a467404b2ec681f87f009ad7457d
verified: 6/22/2026, 1:21:27 PM
view raw JSON →