SI

show2instruct/ifc-bonsai-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

70 stars 16 forks Качество 78 Тренд 4MIT

show2instruct/ifc-bonsai-mcp является кандидатом на сервер MCP, импортированным из https://github.com/show2instruct/ifc-bonsai-mcp.

Обзор

show2instruct/ifc-bonsai-mcp является кандидатом на сервер MCP, импортированным из https://github.com/show2instruct/ifc-bonsai-mcp.

Обзор (машинный перевод)

IFC-Bonsai-MCP - это MCP-сервер, который соединяет модели языка AI с надстройкой Bonsai Blender для чтения, создания и редактирования моделей IFC непосредственно с помощью вызовов инструментов высокого уровня.

Для более обновленной версии с более сильным акцентом на генерацию кода ознакомьтесь с нашим новым репо:

*** Основные моменты:** AI-Driven BIM: Используйте естественный язык для создания и редактирования элементов IFC, таких как стены, двери, крыши и лестницы непосредственно в Blender. RAG-Powered Knowledge: Используйте систему Retrieval-Augmented Generation с локальным векторным индексом для мгновенного семантического поиска в документации IFC и IfcOpenShell. Передовая генерация геометрии: создание сложной 3D-геометрии с использованием Python и Trimesh, с инструментами для преобразования процедурных сеток в нативные элементы IFC. ** Расширяемый инструментарий**: Комплексный набор из более чем 50 инструментов MCP для анализа сцены, манипулирования объектами, параметрического создания и поиска знаний.

Руководство по установке

Предпосылки

  • Blender 4.4+ с Bonsai Addon 0.8.2+ Python 3.10+ (убедитесь, что он в вашем PATH) УФ-менеджер пакетов: pip install uv Claude Desktop или любой MCP-совместимый клиент

###Быстрая установка

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

IFC Bonsai MCP

IFC-Bonsai-MCP is an MCP server that connects AI language models with the Bonsai Blender add-on to read, create, and edit IFC models directly via high-level tool calls.

For a more updated version with a stronger focus on code generation, check out our new repo: https://github.com/Show2Instruct/bonsai-mcp

🚀 Highlights:

  • AI-Driven BIM: Use natural language to create and edit IFC elements like walls, doors, roofs, and stairs directly within Blender.
  • RAG-Powered Knowledge: Leverage a Retrieval-Augmented Generation system with a local vector index for instant, semantic search across IFC and IfcOpenShell documentation.
  • Advanced Geometry Generation: Create complex 3D geometry using Python and Trimesh, with tools to convert procedural meshes into native IFC elements.
  • Extensible Toolset: A comprehensive set of over 50 MCP tools for scene analysis, object manipulation, parametric creation, and knowledge retrieval.

Installation Guide

Prerequisites

Quick Installation

This is a quick overview of installation steps in the global Python environment. For more details or virtual environment setup, check the section below.

# 1. Clone and setup
git clone [REPOSITORY_URL] && cd [REPOSITORY_NAME]

# 2. Install dependencies
pip install uv
uv sync

# 3. Install Blender packages (automatic)
python scripts/install_blender_packages.py

# 4. Create the zip file of blender_addon folder manually or use the helper script:
python scripts/install.py --create-addon-zip
# Then: Blender → Edit → Preferences → Add-ons → Install → blender_addon.zip
# After installing the add-on: Go to Blender UI → Sidebar Add-On Panel → BlenderMCP → Click "Connect to MCP server"

# 5. Configure Claude Desktop (Edit Config in Settings → Developer)
# Add: 
# {
#   "mcpServers": {
#     "blender": {
#       "command": "python",
#       "args": ["-m", "blender_mcp.server"],
#     }
#   }
# }

# 6. (Optional) Setup knowledge base
uv run python scripts/init_knowledge_base.py
uv run python scripts/embedding_server.py --model sentence-transformers/all-MiniLM-L6-v2 --host 127.0.0.1 --port 8080 --normalize

Here is the workflow diagram in Claude Desktop for reference:

If there are any issues, please refer to the detailed installation steps below.

Step-by-Step Installation

  • Step 1: Clone and navigate to the project

    git clone [REPOSITORY_URL]
    cd [REPOSITORY_NAME]
    
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

# 1. Clone and setup git clone [REPOSITORY_URL] && cd [REPOSITORY_NAME] # 2. Install dependencies pip install uv uv sync # 3. Install Blender packages (automatic) python scripts/install_blender_packages.py # 4. Create the zip file of blender_addon folder manually or use the helper script: python scripts/install.py --create-addon-zip # Then: Blender → Edit → Preferences → Add-ons → Install → blender_addon.zip # After installing the add-on: Go to Blender UI → Sidebar Add-On Panel → BlenderMCP → Click "Connect to MCP server" # 5. Configure Claude Desktop (Edit Config in Settings → Developer) # Add: # { # "mcpServers": { # "blender": { # "command": "python", # "args": ["-m", "blender_mcp.server"], # } # } # } # 6. (Optional) Setup knowledge base uv run python scripts/init_knowledge_base.py uv run python scripts/embedding_server.py --model sentence-transformers/all-MiniLM-L6-v2 --host 127.0.0.1 --port 8080 --normalize