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 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