🧠 ファウンドリーMCPプロジェクト
このプロジェクトは、Foundryツールと連携するように設計されたModel Context Protocol(MCP)サーバーです。Foundryプロジェクトの管理、テストの実行、コントラクトの構築などを行うためのツールとユーティリティのセットを提供します。
📂 プロジェクト構造
🚀 機能
- Foundry プロジェクトの作成: 新しい Foundry プロジェクトを初期化します。
- 契約の構築: さまざまなオプションを使用して Solidity 契約をコンパイルします。
- テストの実行: 詳細な構成でテストを実行します。
- 契約の検査: ABI、バイトコード、その他のメタデータを取得します。
- スクリプトの実行: Solidity スクリプトを実行します。
- ローカル ノードを起動: ローカル Ethereum 開発用に Anvil または Chisel を起動します。
- 高度なキャスト コマンド:
cast
を使用して Ethereum 関連のコマンドを実行します。
🛠️ インストール
- リポジトリをクローンします。
- 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
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -4Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -12PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables interaction with Shortcut (formerly Clubhouse) project management tool, allowing users to view and search projects, stories, epics, and objectives, as well as create new items through natural language.Last updated -3Python
- -securityAlicense-qualityA Model Context Protocol server that enables users to create, check status, and get details of projects on Loveable.dev, a platform for quickly creating applications.Last updated -JavaScriptISC 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