Foundry MCP Project
🧠 Foundry MCP-Projekt
Dieses Projekt ist ein Model Context Protocol (MCP)-Server, der für die Interaktion mit Foundry-Tools entwickelt wurde. Es bietet eine Reihe von Tools und Dienstprogrammen zur Verwaltung von Foundry-Projekten, zum Ausführen von Tests, zum Erstellen von Verträgen und mehr.
📂 Projektstruktur
pyproject.toml # Project configuration file
README.md # Project documentation
uv.lock # Dependency lock file
LLM/ # Documentation and SDK usage
src/eth_wh_mcp/ # Source code for the MCP serverRelated MCP server: AMOCA Solana MCP Server
🚀 Funktionen
Foundry-Projekte erstellen : Initialisieren Sie neue Foundry-Projekte.
Verträge erstellen : Erstellen Sie Solidity-Verträge mit verschiedenen Optionen.
Tests ausführen : Führen Sie Tests mit detaillierter Konfiguration aus.
Verträge prüfen : ABI, Bytecode und andere Metadaten abrufen.
Skripte ausführen : Solidity-Skripte ausführen.
Lokale Knoten starten : Starten Sie Anvil oder Chisel für die lokale Ethereum-Entwicklung.
Erweiterte Cast-Befehle : Führen Sie Ethereum-bezogene Befehle mit
castaus.
🛠️ Installation
Installation über Smithery
So installieren Sie Foundry MCP Server für Claude Desktop automatisch über Smithery :
npx -y @smithery/cli install @lhemerly/foundry-mcp --client claudeManuelle Installation
Klonen Sie das Repository:
git clone <repository-url>Stellen Sie sicher, dass Gießereiwerkzeuge (
forge,cast,anvilusw.) installiert und in Ihrem PATH verfügbar sind.
🏗️ Verwendung
Ausführen des MCP-Servers
So starten Sie den MCP-Server:
python src/eth_wh_mcp/main.pyVerfügbare Tools
Die folgenden Tools sind im MCP-Server verfügbar:
create_project : Initialisieren Sie ein neues Foundry-Projekt.
build_project : Erstellen Sie das aktuelle Foundry-Projekt.
test_project : Führen Sie Tests im Foundry-Projekt aus.
clone_contract : Klonen Sie einen Vertrag von Etherscan.
run_script : Führen Sie ein Solidity-Skript aus.
run_cast_command : Führen Sie einen
cast-Befehl aus.start_anvil_with_options : Starten Sie den lokalen Ethereum-Knoten von Anvil.
start_chisel_with_options : Starten Sie das Chisel Solidity REPL.
inspect_contract : Vertragsmetadaten prüfen.
snapshot_project : Erstellen Sie einen Snapshot des Gasverbrauchs.
coverage_project : Testabdeckung anzeigen.
📖 Dokumentation
MCP Python SDK
Ausführliche Informationen zur Verwendung des MCP Python SDK, einschließlich Serveraufbau, Tools, Eingabeaufforderungen und Kontextverarbeitung, finden Sie in der Datei LLM/python-mcp-sdk.md.
🧪 Entwicklung
Lokales Debuggen
Führen Sie den MCP-Server im Entwicklungsmodus aus:
mcp dev src/eth_wh_mcp/main.py --with-editable .Laufzeitausführung
So führen Sie den Server aus:
python src/eth_wh_mcp/main.py📜 Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie in der Datei LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.544114MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.5MIT
- AlicenseNot gradedqualityAmaintenanceA Model Context Protocol server that integrates with FoundryVTT, allowing AI assistants to interact with tabletop gaming sessions through natural language to query actors, roll dice, generate content, and manage game worlds.4329MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server providing Ethereum blockchain tools, including vanity address generation and Cast command functionality for interacting with Ethereum networks through natural language.14118MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Appeared in Searches
- Executing Operations and Maintenance Tasks, Such as Deployment and Upgrades
- A server for EVM (Extended Virtual Machine) MCP
- MCP to Control CAD Tools for Building Models and Automating Manufacturing
- Guidance on Writing Git Commit Messages for Pushing to GitHub
- Automating web browser searches using Chrome
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lhemerly/foundry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server