SB

seehiong/blender-mcp-bridge

Developer tools

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

89 stars 19 forks Качество 79 Тренд 9MIT

seehiong/blender-mcp-bridge - кандидат на сервер MCP, импортированный из https://github.com/seehiong/blender-mcp-bridge.

Обзор

seehiong/blender-mcp-bridge - кандидат на сервер MCP, импортированный из https://github.com/seehiong/blender-mcp-bridge.

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

Дать ИИ-агенту практический контроль над Blender: строить геометрию, применять материалы; Отрисуйте и проверьте, что сетка может быть напечатана — 98 инструментов поверх контекста модели Протокол.

Работает с Claude Desktop, Claude Code, n8n или любым клиентом MCP.

Это и есть сервер. Это приводит в движение небольшой аддон внутри Blender, который фактическая работа — см. Установка, разовый шаг.

Системная архитектура

Два компонента, намеренно разделенные:

  1. Blender MCP Addon: установлен плагин внутри Blender. Местный Движок исполнения — он получает команды и управляет 3D-сценой.
  2. MCP Bridge Server: автономный сервер Python ([T0]) как ворота. Клиенты MCP подключаются к Мосту, который пересылает команды на Бегущий аддон Blender.

Правила проектирования для печатной геометрии

data/design-rules.json имеет правила 3D-печати — навесные ограничения, стена минимумы, клиренсы — извлеченные из видеоисточников братом [[Т2]] Проект, каждый со ссылкой на Видео и второе, откуда оно пришло. Это простой автономный JSON: нет базы данных, нет зависимости от этого проекта. Время выполнения.

Три MCP-инструмента читают его, и они отвечают только из файла - нет LLM, нет

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

README

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

Blender MCP Bridge

Give an AI agent hands-on control of Blender: build geometry, apply materials, render, and check that a mesh is printable — 98 tools over the Model Context Protocol.

Works with Claude Desktop, Claude Code, n8n, or any MCP client.

uvx blender-mcp-bridge serve

That is the server. It drives a small addon inside Blender, which does the actual work — see Installation, a one-time step.

System Architecture

Two components, deliberately separate:

  1. Blender MCP Addon: a plugin installed inside Blender. The local execution engine — it receives commands and manipulates the 3D scene.
  2. MCP Bridge Server: a standalone Python server (blender_mcp_bridge/) that acts as the gateway. MCP clients connect to the Bridge, which forwards commands on to the running Blender addon.
graph LR
    Client[Claude / n8n / any MCP client] -- "MCP (HTTP Streamable)" --> Bridge[MCP Bridge Server]
    Bridge -- "Local TCP socket" --> Addon[Blender MCP Addon]
    Addon -- "Python API" --> Blender[Blender Engine]

Design rules for printable geometry

data/design-rules.json carries 3D-printing design rules — overhang limits, wall minimums, clearances — extracted from video sources by the sibling print-kb project, each citing the video and second it came from. It is plain self-contained JSON: no database, no dependency on that project at runtime.

Three MCP tools read it, and they answer from the file alone — no LLM, no embedding model, no network call, and no print-kb checkout. A lookup returns in milliseconds:

Tool Use it for
check_design Describe a part in prose; get the rules bearing on it.
get_design_rules Filter by keyword, topic or unit.
list_design_topics What the knowledge base covers, before asking it.

These are the before-modelling half of the toolset, and an agent will happily skip them unless told not to, so say so:

Call check_design for a snap-fit enclosure lid in PLA with a 0.4 mm nozzle, tell me the clearances it returns, then model to those numbers.

Two things worth knowing when a dimension matters. Each rule carries a value_source: source means the number was stated in the cited video, default means it is a conventional FDM value filled in where the source gave none. Only about a tenth of the rules are attested, so the tools return only those unless you pass allow_defaults=true; when they hold rules back they report a withheld count rather than just returning a shorter list. And the rules are advisory — they do not check your geometry. check_mesh_for_printing verifies a mesh is manifold, which is a different question from whether two parts fit; for that, measure the mating faces.

DESIGN_RULES_PATH overrides the location; otherwise it is

Открыть полный README на GitHub

Установка

npx -y mcp-remote http://127.0.0.1:8008/mcp/ --allow-http
Новичок в MCP? Начните с руководства на mcpskill.org →

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

{ "mcpServers": { "blender": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:8008/mcp/", "--allow-http"] } } }