What runtime and tools does Foundry MCP Server require?
Node.js v18+, the Foundry toolchain (Forge, Cast, Anvil), and optionally Heimdall-rs for contract analysis.
@PraneshASP
Basic information
An experimental MCP Server for foundry built for Solidity devs
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"foundry-mcp-server": {
"command": "npx",
"args": [
"@pranesh.asp/foundry-mcp-server"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Foundry MCP Server is a lightweight MCP server that connects LLM assistants to the Foundry toolchain (Forge, Cast, Anvil), enabling Solidity development and onchain operations. It is designed for developers who want to interact with Ethereum nodes, analyze smart contracts, and manage Solidity code through natural language interfaces.
Install globally via npm install -g @pranesh.asp/foundry-mcp-server or run directly with npx @pranesh.asp/foundry-mcp-server. Configure your MCP client (e.g., Claude Desktop, Cursor) by adding a "foundry" entry under mcpServers in your client’s configuration file, providing the command npx with arguments and optional environment variables RPC_URL and PRIVATE_KEY. The server uses STDIO transport and requires Node.js v18+, the Foundry toolchain, and optional Heimdall-rs for advanced analysis.
~/.mcp-foundry-workspaceNode.js v18+, the Foundry toolchain (Forge, Cast, Anvil), and optionally Heimdall-rs for contract analysis.
No, the `PRIVATE_KEY` environment variable is optional. If set, it enables sending transactions. The README strongly advises against using keys with mainnet funds due to LLM hallucination risks.
It maintains a persistent Forge workspace at `~/.mcp-foundry-workspace` for all Solidity files, scripts, and dependencies.
Add a JSON entry under `mcpServers` with command `npx`, arguments `["@pranesh.asp/foundry-mcp-server"]`, and optional environment variables for `RPC_URL` and `PRIVATE_KEY`. Ensure valid JSON syntax.
It uses STDIO transport, as shown in the MCP client configuration examples.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
A curated list of references for MLOps
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
Comments