Skip to main content
Glama

Foundry MCP Project

by lhemerly

🧠 파운드리 MCP 프로젝트

이 프로젝트는 Foundry 도구와 상호 작용하도록 설계된 모델 컨텍스트 프로토콜(MCP) 서버입니다. Foundry 프로젝트 관리, 테스트 실행, 계약 작성 등을 위한 도구와 유틸리티 세트를 제공합니다.


📂 프로젝트 구조

지엑스피1


🚀 특징

  • Foundry 프로젝트 생성 : 새로운 Foundry 프로젝트를 초기화합니다.
  • 계약 구축 : 다양한 옵션으로 Solidity 계약을 컴파일합니다.
  • 테스트 실행 : 세부적인 구성으로 테스트를 실행합니다.
  • 계약 검사 : ABI, 바이트코드 및 기타 메타데이터를 검색합니다.
  • 스크립트 실행 : Solidity 스크립트를 실행합니다.
  • 로컬 노드 시작 : 로컬 Ethereum 개발을 위해 Anvil이나 Chisel을 실행합니다.
  • 고급 캐스트 명령 : cast 사용하여 Ethereum 관련 명령을 실행합니다.

🛠️ 설치

  1. 저장소를 복제합니다.
    git clone <repository-url>
  2. 주조 도구( 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 파이썬 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 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 라이선스 파일을 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

자연어를 통해 Foundry 도구와 상호작용을 가능하게 하는 모델 컨텍스트 프로토콜 서버로, 이를 통해 사용자는 프로젝트를 생성하고, 계약을 구축하고, 테스트를 실행하고, Ethereum 개발 환경을 관리할 수 있습니다.

  1. 📂 프로젝트 구조
    1. 🚀 특징
      1. 🛠️ 설치
        1. 🏗️ 사용법
          1. MCP 서버 실행
          2. 사용 가능한 도구
        2. 📖 문서
          1. MCP 파이썬 SDK
        3. 🧪 개발
          1. 로컬 디버깅
          2. 런타임 실행
        4. 📜 라이센스

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A 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 -
            4
            Python
          • A
            security
            A
            license
            A
            quality
            A 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 -
            12
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A 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 -
            3
            Python
            • Apple
          • -
            security
            A
            license
            -
            quality
            A 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 -
            JavaScript
            ISC License
            • Apple

          View all related MCP servers

          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