three.ws Blender

v0.5.0
io.github.nirholas/blender-mcp Checked 8 hours ago Published 2 months ago

Drive a local Blender headlessly: inspect, convert, render and script 3D files.

Values you need

VariableWhat it is
BLENDER_PATHoptional Absolute path to the Blender 3.0+ executable. Leave unset to discover it on PATH and at the platform's standard install locations.
BLENDER_MCP_TIMEOUT_MSoptional Ceiling for one Blender job in milliseconds. Renders and heavy conversions are the slow ones. Default: 300000
BLENDER_MCP_WORKDIRoptional Directory for outputs written when a tool is called without an explicit output path.
BLENDER_MCP_ALLOW_PYTHONoptional Set to 0 to withdraw blender_run_python, which executes caller-supplied Python inside Blender, from the advertised tool list. Default: 1
BLENDER_MCP_INLINE_IMAGE_BYTESoptional Ceiling on inlined image bytes. Past this the image stays on disk and the response says where. Default: 1500000
BLENDER_MCP_INLINE_IMAGE_PXoptional Longest edge of the render copy returned inline in a tool result. The full-resolution PNG is always written to disk. Default: 768
BLENDER_MCP_MAX_CONCURRENCYoptional How many Blender processes may run at once. Further calls queue rather than compete for memory. Default: 2
THREE_WS_BASEoptional Base URL of the three.ws deployment backing blender_forge_import. Default: https://three.ws
THREE_WS_FORGE_TIMEOUT_MSoptional Ceiling for one text-to-3D generation in milliseconds. Default: 600000
THREE_WS_FORGE_PROVIDER_KEYoptional secret Meshy/Tripo API key for the bring-your-own-key geometry lane. The default image lane is free and needs no key.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add blender-mcp -- npx -y @three-ws/blender-mcp@0.5.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "blender-mcp": {
      "args": [
        "-y",
        "@three-ws/blender-mcp@0.5.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "blender-mcp": {
      "args": [
        "-y",
        "@three-ws/blender-mcp@0.5.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "blender-mcp": {
      "args": [
        "-y",
        "@three-ws/blender-mcp@0.5.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.blender-mcp]
command = "npx"
args = ["-y", "@three-ws/blender-mcp@0.5.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: blender_info, blender_scene_info, blender_convert, blender_optimize, blender_render, blender_forge_import, blender_run_python.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json