MCP server · Audited from source
Foundry MCP server
by praneshasp/foundry-mcp-serverMIT licenceAudited 6 Oct 2026 · source 2f8359351517
Is it safe? No — BLOCK, grade D (69/100). It exposes 16 tools: 11 read, 5 write and 0 destructive. The audit recorded 11 findings (0 critical, 2 high, 1 medium, 7 low). Maintainer's description: An experimental MCP Server for foundry built for Solidity devs
Cite
Cite this page
ModelsAtlas. “Foundry MCP server (praneshasp/foundry-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/praneshasp/foundry-1
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/tools/anvil/start.ts:65. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
2 MCP servers are called Foundry. You are viewing praneshasp/foundry-mcp-server. Compare all 2 →
- praneshasp/foundry-mcp-server★ 253✕BLOCK
- laurigates/foundryvtt-mcp★ 33✕BLOCK
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared5 observations
- NetworkDeclared3 observations
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (11)
Sorted by severity
HIGHCode injectioncode.eval_exec · src/tools/anvil/start.ts:65
const child = exec(command, (error, stdout, stderr) => {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHNetwork egressnet.tls_off · src/tools/forge/script.ts:20
async ({ scriptPath, sig = "run()", rpcUrl, broadcast = false, verify = false }) => {- Why
- certificate verification is disabled
- Fix
- leave verification on
MEDIUMInventory / provenanceinv.binary · bun.lockb
bun.lockb
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.traversal · src/tools/anvil/start.ts:4
import { checkFoundryInstalled, FOUNDRY_PATHS, FOUNDRY_NOT_INSTALLED_ERROR } from "../../utils/command.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/anvil/start.ts:5
import { getAnvilInfo } from "../../utils/rpc.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/anvil/status.ts:2
import { getAnvilInfo } from "../../utils/rpc.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/anvil/stop.ts:5
import { getAnvilInfo } from "../../utils/rpc.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/cast/balance.ts:3
import { checkFoundryInstalled, executeCommand, FOUNDRY_PATHS, FOUNDRY_NOT_INSTALLED_ERROR } from "../../utils/command.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @pranesh.asp/foundry-mcp-server, dotenv, typescript, zod, @types/bun
- Why
- 6 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · README.md:75
curl -L https://foundry.paradigm.xyz | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOInventory / provenanceinv.oversize · assets/analysis_gif.gif
assets/analysis_gif.gif
- Why
- 7169186 bytes not read
- Fix
- —
Tools it exposes
16 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
anvil_start | Start a new Anvil instance (local Ethereum node) | write |
anvil_stop | Stop a running Anvil instance | write |
cast_send | Send a transaction to a contract function | write |
create_solidity_file | Create or update a Solidity file in the workspace | write |
forge_script | Run a Forge script from the workspace | write |
anvil_status | Check if Anvil is running and get its status | read |
cast_balance | Check the ETH balance of an address | read |
cast_call | Call a contract function (read-only) | read |
cast_chain | Get information about the current chain | read |
cast_receipt | Get the transaction receipt | read |
convert_eth_units | Convert between Ethereum units (wei, gwei, ether) | read |
heimdall_cfg | Generate visual control flow graph for EVM bytecode using Heimdall | read |
heimdall_decode | Decode raw calldata without requiring ABI using Heimdall | read |
heimdall_decompile | Decompile EVM bytecode to Solidity source code and ABI using Heimdall | read |
heimdall_disassemble | Disassemble EVM bytecode into human-readable opcodes using Heimdall | read |
heimdall_inspect | Detailed inspection of Ethereum transactions including calldata decoding, trace analysis, and log visualization using Heimdall | read |
Safer alternatives
All finance & crypto servers →mcpdotdirect/evm-mcp-server
MCP server that provides LLMs with tools for interacting with EVM networks
klever-io/mcp-klever-vm
MCP server for Klever blockchain smart contract development
indexing-co/indexing-co-mcp
MCP server for streaming live blockchain data from Indexing Co pipelines into Claude Code
Audit history
- ✕BLOCK D 69 / 100
First audit ·
2f8359351517
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Foundry MCP server
What is the Foundry MCP server?
What tools does Foundry expose?
Is Foundry safe to connect to an agent?
What credentials does Foundry need?
How does Foundry run?
How current is this page?
Which Foundry MCP server is the right one?
I already installed Foundry. What should I do?
Can the verdict change?
Sources
- praneshasp/foundry-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 2f8359351517Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Foundry MCP server?
- What tools does Foundry expose?
- Is Foundry safe to connect to an agent?