Foundry MCP Project
🧠 ファウンドリーMCPプロジェクト
このプロジェクトは、Foundryツールと連携するように設計されたModel Context Protocol(MCP)サーバーです。Foundryプロジェクトの管理、テストの実行、コントラクトの構築などを行うためのツールとユーティリティのセットを提供します。
📂 プロジェクト構造
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
🚀 機能
Foundry プロジェクトの作成: 新しい Foundry プロジェクトを初期化します。
契約の構築: さまざまなオプションを使用して Solidity 契約をコンパイルします。
テストの実行: 詳細な構成でテストを実行します。
契約の検査: ABI、バイトコード、その他のメタデータを取得します。
スクリプトの実行: Solidity スクリプトを実行します。
ローカル ノードを起動: ローカル Ethereum 開発用に Anvil または Chisel を起動します。
高度なキャスト コマンド:
castを使用して Ethereum 関連のコマンドを実行します。
🛠️ インストール
リポジトリをクローンします。
git clone <repository-url>Foundry ツール (
forge、cast、anvilなど) がインストールされ、PATH で使用可能であることを確認します。
🏗️ 使用方法
MCPサーバーの実行
MCP サーバーを起動するには:
python src/eth_wh_mcp/main.py利用可能なツール
MCP サーバーでは次のツールが利用できます。
create_project : 新しい Foundry プロジェクトを初期化します。
build_project : 現在の Foundry プロジェクトをビルドします。
test_project : Foundry プロジェクトでテストを実行します。
clone_contract : Etherscan からコントラクトを複製します。
run_script : Solidity スクリプトを実行します。
run_cast_command :
castコマンドを実行します。start_anvil_with_options : Anvil ローカル Ethereum ノードを起動します。
start_chisel_with_options : Chisel Solidity REPL を起動します。
inspect_contract : 契約メタデータを検査します。
snapshot_project : ガス使用量のスナップショットを作成します。
coverage_project : テストカバレッジを表示します。
📖 ドキュメント
MCP Python SDK
サーバー構築、ツール、プロンプト、コンテキスト処理など、MCP Python SDK の詳細な使用方法については、 LLM/python-mcp-sdk.mdファイルを参照してください。
🧪 開発
ローカルデバッグ
MCP サーバーを開発モードで実行します。
mcp dev src/eth_wh_mcp/main.py --with-editable .ランタイム実行
サーバーを実行するには:
python src/eth_wh_mcp/main.py📜 ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
This server cannot be deployed
Maintenance
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
The OpenZeppelin Solidity Contracts MCP server integrates OpenZeppelin's security and style rules into AI-driven development workflows, enabling AI assistants to generate safe, correct, and production-ready smart contracts. It automatically validates generated code against OpenZeppelin standards (including imports, modifiers, naming conventions, and security checks) and supports various contract types including ERC-20, ERC-721, ERC-1155, Stablecoins, RWA, Governor, and Account contracts through prompt-driven workflows.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
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.5428 npm14MIT
- 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.52 npm34MIT
- 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.1422 npmMIT
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