
Frugal Blender MCP
io.github.mohakmalviya由 GitHub 帳號 mohakmalviya 發布v0.2.0更新於 Oct 24, 2026
Let AI agents build Blender scenes with four compact tools: discover, execute, inspect, capture.
概覽
節省 token 的 Blender MCP 伺服器,提供 discover、execute、inspect、capture 四個工具,讓代理建構、製作動畫並算圖 3D 場景。
- 可以做什麼
- 查詢操作參數契約,並依名稱分頁檢視場景資料
- 建立與編輯場景:基本幾何體、陣列、變換、材質、燈光、攝影機、刪除
- 以任意修改器或 RNA 屬性細修,並用關鍵影格與影格做動畫
- 擷取預覽圖、算圖靜態影像或動畫、儲存 .blend 副本
- 啟用後可透過同一個 execute 呼叫執行任意 bpy Python 程式碼
- 適用情境
- 適合想讓 AI 代理在桌機上創作或修改 Blender 場景,同時盡量壓低固定工具定義所佔上下文的情況,前提是願意執行 Blender 並啟用配套外掛橋接。
- 執行需求
- 在桌機上透過 uvx(Python/uv)啟動的本機程序;需要 Blender 4.2+ 並安裝 Frugal Blender MCP 外掛且啟動橋接;橋接僅監聽本機回環位址,每次啟動使用新的隨機權杖;僅在同時執行多個橋接時才需要 BLENDER_COMPACT_CONNECTION。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Frugal Blender MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Frugal Blender MCP
Let your AI agent build Blender scenes. All of Blender, four tools, 338 tokens.
[Checks] [PyPI] [Blender 4.2+] [MCP] [MIT]
Quick start · How it saves tokens · Benchmark · Safety · Example
[A stylized lighthouse island at sunset with a rotating beam, a bobbing sailboat and moving ocean waves]Five execute calls (109 operations) written by Claude, rendered with Cycles in Blender 5.1.
Replay the exact calls: they run in under a second.
Why it matters
Every MCP client sends each server's tool definitions to the model on every request, before you type anything. Most Blender servers expose 26 to 31 tools and spend thousands of tokens that way. That's context your agent can't use for your scene, your code or its own reasoning.
Frugal Blender MCP exposes four tools, discover, execute, inspect and capture,
and still reaches the whole Blender API.
Quick start
1. Install the Blender add-on
In Blender, open Edit → Preferences → Add-ons and enable Frugal Blender MCP. Then press N in
the 3D Viewport, open the Frugal MCP tab and click Start bridge.
2. Connect your agent
If a desktop app can't find uvx, use its absolute path (which uvx or where uvx).
3. Ask for something
Build a small lighthouse island at golden hour: a red-and-white tower, a keeper's house, a few pines, rocks and a sailboat. Batch your edits, then capture a preview.
How four tools reach all of Blender
Most servers ship one tool per action, and every definition rides along with every request. This server keeps the menu short and hands the details over only when the agent asks for them:
The five calls behind the animation above, and what each one added:
[The lighthouse scene after each of the five execute calls]Benchmark
[Fixed context per request: Frugal Blender MCP 338 tokens, Blender Lab official 4,722 tokens, ahujasid 7,464 tokens]Tool definitions plus server instructions from each server's real initialize and
tools/list responses, tokenized with tiktoken o200k_base.
Method, raw data, discovery costs and caveats.
What the agent can do
Safety
Blender stays in control. You choose permissions in the add-on panel when you start the bridge, and the agent can't change them.
- Write and render are on by default. Delete, save and python are off.
- Python is unrestricted local code execution. Turn it on only for agents you trust.
- The bridge listens on loopback only and needs a fresh random token each time you start it.
- Deletes need
confirm: true. Saves and renders never overwrite existing files. - Interactive sessions get an undo checkpoint before every batch.
- No telemetry.
Details: SECURITY.md.
How it compares
Choose by what you need, not just context size:
- Blender Lab's official server also searches Blender's manual and API docs, which helps agents
write correct
bpy. - ahujasid's server bundles asset providers (Poly Haven, Sketchfab, Hyper3D and others).
- This server keeps the fixed context small, batches edits, gates risky actions behind
permissions, and still reaches the whole API through
pythonwhen you allow it.
More
CLI: drive Blender from scripts with the same code path
PowerShell can pipe a file instead of quoting JSON:
Get-Content -Raw examples/lighthouse/01-sky-and-sea.json | uvx --from frugal-blender-mcp frugal-blender execute --params -
Captures, renders and saves go to the bridge's exports/ folder, and the CLI prints the filename.
Multiple Blender instances
Each running bridge writes a connection descriptor. If more than one exists, set
BLENDER_COMPACT_CONNECTION to the one you want:
- Windows:
%LOCALAPPDATA%/blender-compact-mcp/connection-<pid>.json - Linux/macOS:
${XDG_STATE_HOME:-~/.local/state}/blender-compact-mcp/connection-<pid>.json
Ambiguous discovery fails rather than picking a scene at random. Opening a different file stops the bridge. After a crash, delete only the stale descriptor.
Install without uvx
- Add-on: download
frugal-blender-mcp-addon-<version>.zipfrom Releases and use Install from Disk in Blender's add-on preferences, or runuvx frugal-blender-mcp install-addon --zip addon.zip. - Server from source: clone the repository, run
uv sync --frozen, and point your client atuv run --directory /absolute/path/to/frugal-blender-mcp frugal-blender-mcp.
Configs that use the old blender-astra-mcp or blender-compact-mcp commands keep working.
Architecture
Blender's timer accepts bounded socket input and runs operations on Blender's main thread. No
background thread touches Blender data. discover returns readable argument contracts, and the add-on
validates every batch again before running it. A batch that fails partway reports which step failed
and what already ran. See design.
Development
Tests that need Blender skip unless BLENDER_EXE points at a Blender executable. Set
BLENDER_TEST_UI=1 to also test interactive timers and undo. They launch separate factory-startup
Blender processes and never touch your scenes or preferences. Results:
validation.
scripts/demo_host.py runs a headless bridge on an empty scene for replaying examples/.
scripts/bench_tool_context.py and scripts/context_chart.py reproduce the benchmark and chart.
If this saves your agent some tokens, a ⭐ helps other people find it.
MIT licensed. Independent project, not affiliated with the Blender Foundation or any model provider.
來源:README.md,提交 36c6b10
工具
0版本歷史
1- v0.2.0最新Oct 15, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分