F

Foundry Toolkit

Integrates with Foundry blockchain development toolkit to enable smart contract deployment, testing,...

68 views
2 installs
Updated Sep 9, 2025
Not audited
Integrates with Foundry blockchain development toolkit to enable smart contract deployment, testing, bytecode analysis, and transaction inspection across local Anvil instances and remote EVM networks.
  1. Obtain an Ethereum Private Key (optional, for sending transactions):

    • You can use any Ethereum wallet (such as MetaMask, Trust Wallet, or MyEtherWallet) to create a new wallet and export its private key.
    • Alternatively, generate a private key using command line tools (e.g., forge wallet new from Foundry) or Ethereum developer tools.
    • Make sure this private key does NOT contain mainnet funds. Use a testnet or a dedicated developer wallet.
  2. (Optional) Decide on your Default RPC URL:

    • You can use a public or local Ethereum JSON-RPC endpoint (e.g. from Alchemy, Infura, Ankr, QuickNode, or a local Anvil instance).
    • For local development, you may use: http://localhost:8545 (if running Anvil or another local node).
  3. Configure the FastMCP Connection:

    • In the FastMCP connection interface, click the “Install Now” button for Foundry MCP Server.
    • You will be prompted to fill environment values (ENVs):
      • RPC_URL (optional): The RPC endpoint URL. Example: http://localhost:8545 or https://mainnet.infura.io/v3/your-project-id
      • PRIVATE_KEY (optional): The Ethereum private key (in hexadecimal, starting with 0x). Example: 0x0123abcd...
    • Enter the appropriate values for your setup.
  4. Save and Apply:

    • Save the configuration in the FastMCP interface.
    • Restart or reconnect your MCP client if needed (e.g., Claude Desktop app requires a full restart to see new tools).

Note: Both RPC_URL and PRIVATE_KEY are optional. You only need the private key if you want to send transactions; otherwise, you can leave it empty or use a testnet key for experimental purposes. Always use test keys, never mainnet wallets with significant funds.

Quick Start

View on GitHub

More for Analytics and Data

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.