Cover image
Try Now
2025-04-05

这是一款MCP服务器,允许LLM直接与Rhino和Grasshopper进行交互。

3 years

Works with Finder

2

Github Watches

2

Github Forks

3

Github Stars

GH_mcp_server

GH_mcp_server provides an approach that allows designer to interact with Rhino and Grasshopper directly via LLMs, including to analyse .3dm file, do 3D modeling and generate GHPython automatically in Grasshopper based on user’s guidance.

This project is still under construction — and we’d love your help!

  • Feel free to open an issue if you encounter bugs or have ideas.
  • Pull requests are always welcome.
  • If you're interested in collaborating long-term, feel free to reach out to yizhuod@andrew.cmu.edu — we’d love to have you on the team!

Alt text

Requirements

Installation

1. Clone the repository

git clone git@github.com:veoery/GH_mcp_server.git
cd GH_mcp_server

2. Set up the environment

We recommend using uv:

macOS/Linux

uv venv
source .venv/bin/activate
uv pip install -e .

Windows

uv venv
.venv\Scripts\activate
uv pip install -e .

Make sure the virtual environment is activated before running or developing the project.

3. Configuration

  1. In the Claude Desktop, Navigate to Settings->Developer. You will see Edit Config.

  2. Click the Edit Config and open the file claude_desktop_config.json

  3. Place the following code to the json file:

    {
      "mcpServers": {
        "grasshopper": {
          "command": "path_to_GH_mcp_server/.venv/bin/python",
          "args": [
            "path_to_GH_mcp_server/run_server.py"
          ]
        }
      }
    }
    
  4. Restart the Claude Desktop. If you are able to see a hammer icon, the configuration is successful. Click the hammer icon to check all the attached MCP tools.

Usage

  1. Start Rhino

  2. Type command CodeListener. You should see VS Code Listener Started....

  3. Open the Claude Desktop and type the prompts to interact with GH_mcp_server tools. Please also check the file examples\zaha01.gh as a reference for interacting with Grasshopper. Here are some examples:

    Read the file "D:\test01.3dm" first and analyse the objects in this file.
    
    write GHpython to create a tower referring to zaha and write the ghpython code to "D:\zaha01.py"
    

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • rahulc0dy
  • 测试您的MCP服务器。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

    Reviews

    3 (1)
    Avatar
    user_Q0y3htMA
    2025-04-17

    As a loyal user of GH_mcp_server by veoery, I find this tool incredibly efficient and reliable for managing MCP applications. The GitHub repository is well-documented, making it easy to set up and integrate into existing workflows. Highly recommend it for those looking for a robust server solution! Check it out at: https://github.com/veoery/GH_mcp_server.