Scenemodel

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026

驱动 Blender 场景:场景与对象信息、代码执行、资产与 3D 生成。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Drive Blender scenes: scene and object info, code execution, assets and 3D generation.

已验证STDIO仅桌面媒体与设计

概览

Scenemodel 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Scenemodel,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

scenemodel

scenemodel is a small MCP server and CLI for driving a Blender scene from an agent. It is a clean-room rebuild of a core subset — eight tools — from the documented surface of ahujasid/blender-mcp: scene and object info, arbitrary Blender Python execution, viewport screenshots, PolyHaven category browsing, search and download, and Hunyuan3D model generation.

The transport is the original's, unchanged: Blender runs an addon that listens on a TCP socket (default localhost:9876) and exchanges JSON commands of the shape {type, params} for JSON responses. scenemodel implements exactly that protocol behind an injectable socket function — one connection, one JSON request, one JSON response per call — with the host and port taken from BLENDER_HOST / BLENDER_PORT. When nothing is listening, calls fail honestly with the underlying connection error (ECONNREFUSED); scenemodel never invents scene data.

One documented gap: upstream, the screenshot tool returns image content. scenemodel returns an artifact summary instead — the image format plus its byte and base64 lengths — and never the image content block itself.

Deliberately omitted: the Hyper3D (Rodin) generation tools and their status checks, Hunyuan job status/polling beyond the generate call, the dedicated set_texture tool (texture setting stays reachable through asset download and code execution, as in the original), telemetry/user-id tools, and viewport scene manipulation beyond execute_blender_code.

The published container image bundles no Blender binary: the addon runs inside the user's own Blender install, so the image expects to reach a host Blender socket and says so in its Dockerfile.

Install

bash
npx @reneturcios/scenemodel get-scene-infodocker run -i ghcr.io/cloudcorprecords/scenemodel

Start Blender with the blender-mcp addon enabled first; it listens on localhost:9876 by default.

CLI

bash
scenemodel get-scene-infoscenemodel get-object-info <object_name>scenemodel execute-blender-code "import bpy; print(bpy.context.scene.name)"scenemodel get-viewport-screenshot [--max-size 1024]scenemodel get-polyhaven-categories [asset_type]scenemodel search-polyhaven-assets [asset_type] [categories]scenemodel download-polyhaven-asset <asset_id> <asset_type> [--resolution 2k] [--format gltf]scenemodel generate-hunyuan3d-model --text "a wooden chair"scenemodel --version

Exit codes: 0 success, 1 addon/socket error, 2 usage error.

MCP server

bash
npx -y @reneturcios/scenemodel mcp
json
{  "mcpServers": {    "scenemodel": {      "command": "npx",      "args": ["-y", "@reneturcios/scenemodel", "mcp"],      "env": { "BLENDER_HOST": "localhost", "BLENDER_PORT": "9876" }    }  }}

The env block is optional; the defaults are shown.

Tools

ToolInputAddon command
get_scene_info—get_scene_info
get_object_infoobject_name (required)get_object_info
execute_blender_codecode (required)execute_code
get_viewport_screenshotmax_size (optional)get_viewport_screenshot — returns a format/length summary, not image content
get_polyhaven_categoriesasset_type (optional)get_polyhaven_categories
search_polyhaven_assetsasset_type, categories (optional)search_polyhaven_assets
download_polyhaven_assetasset_id, asset_type (required), resolution, file_formatdownload_polyhaven_asset
generate_hunyuan3d_modeltext_prompt, input_image_url (one required)generate_hunyuan3d_model

Addon error envelopes and socket failures — a refused connection, a timeout, a malformed response — are reported as tool errors carrying the underlying message.

Development

bash
npm installnpm run buildnpm testnpm run dev

Tests run entirely on a fake socket function: command shaping, response unwrapping, screenshot summarisation, and error propagation. No live Blender instance is touched.

License

MIT — see LICENSE.

来源:README.md,提交 6fab7a3

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Nov 3, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分