🧠 ファウンドリーMCPプロジェクト
このプロジェクトは、Foundryツールと連携するように設計されたModel Context Protocol(MCP)サーバーです。Foundryプロジェクトの管理、テストの実行、コントラクトの構築などを行うためのツールとユーティリティのセットを提供します。
📂 プロジェクト構造
🚀 機能
Foundry プロジェクトの作成: 新しい Foundry プロジェクトを初期化します。
契約の構築: さまざまなオプションを使用して Solidity 契約をコンパイルします。
テストの実行: 詳細な構成でテストを実行します。
契約の検査: ABI、バイトコード、その他のメタデータを取得します。
スクリプトの実行: Solidity スクリプトを実行します。
ローカル ノードを起動: ローカル Ethereum 開発用に Anvil または Chisel を起動します。
高度なキャスト コマンド:
cast
を使用して Ethereum 関連のコマンドを実行します。
🛠️ インストール
リポジトリをクローンします。
git clone <repository-url>Foundry ツール (
forge
、cast
、anvil
など) がインストールされ、PATH で使用可能であることを確認します。
🏗️ 使用方法
MCPサーバーの実行
MCP サーバーを起動するには:
利用可能なツール
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 サーバーを開発モードで実行します。
ランタイム実行
サーバーを実行するには:
📜 ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
自然言語を介して Foundry ツールとの対話を可能にし、ユーザーがプロジェクトを作成したり、契約を構築したり、テストを実行したり、Ethereum 開発環境を管理したりできるようにするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -75MIT License
- AsecurityAlicenseAqualityA 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.Last updated -4598MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, providing services like token transfers, contract interactions, and ENS resolution through a unified interface.Last updated -282,659320MIT License
- -security-license-qualityComprehensive Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, supporting token transfers, smart contract interactions, and ENS name resolution through a unified interface.Last updated -1MIT License
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