Skip to content
← All guides

Blender MCP server security: what it can access

BlenderMCP lets an AI agent run Python inside Blender. See the socket on port 9876, the execute_blender_code tool, safe mode and how to limit it.

4 min read

There is no official Blender MCP server. The most used one is BlenderMCP by Siddharth (ahujasid), a community project not affiliated with the Blender Foundation. It runs as a Blender add-on plus a local MCP server, and its execute_blender_code tool runs Python inside your open Blender session. That is arbitrary code on your Mac under your user account. The README’s own advice is to save your work first.

How it works

Two parts talk to each other. The Blender add-on (addon.py) runs a socket server inside Blender and executes the commands it receives. The MCP server (src/blender_mcp/server.py) speaks MCP to your agent and forwards to the add-on. The README says to start the server with uvx mcp-for-blender and notes that the older uvx blender-mcp still works. Other Blender MCP projects exist, so check which one you installed. This page covers the ahujasid repo, github.com/ahujasid/blender-mcp.

Nothing here signs in. The socket defaults to host localhost and port 9876, set with BLENDER_HOST, BLENDER_PORT or --port. The README warns that the socket has no authentication or encryption, so keep it on localhost or use an SSH tunnel, and don’t expose it on a network.

What the tools can do

ToolEffect
execute_blender_codeRuns Python in the live Blender session
get_scene_info, look, get_addon_statusRead the scene or the add-on state
search_assets, import_assetFind and import 3D assets
generate_3d, generate_gaussian_worldGenerate models or worlds through outside services
disable_telemetry, record_trajectory_feedbackTelemetry controls and feedback

The Python tool is the one that matters. The README describes it as arbitrary Python, so the risk goes beyond scene edits. The asset tools talk to Poly Haven, Sketchfab, Hyper3D and others. Sketchfab and Hyper3D keys live in Add-on Preferences or in BLENDERMCP_SKETCHFAB_API_KEY and BLENDERMCP_HYPER3D_API_KEY. Poly Haven needs no key.

Limit it

  • Set BLENDER_MCP_SAFE_MODE=1. The README says it checks scripts before they run and blocks risky code. Treat it as a filter, because it can’t cover every case.
  • Telemetry. The README says a minimal anonymous usage record is collected by default, and content such as prompts, generated code and screenshots is opt-in. DISABLE_TELEMETRY=true turns off all collection.
  • Close the add-on connection when you aren’t using it, and work in a scratch scene or a copy of the .blend file.
  • Don’t launch Blender from a shell session that holds cloud keys you don’t need for the task.

Risks that remain

  • Imported assets and scene text can carry instructions. An agent that reads a model’s name, description or attached script may follow it.
  • The README says the socket has no authentication, so another local process that connects to port 9876 while the add-on runs may be able to send it commands.
  • Generated or downloaded content goes to third-party services.

Limit it in Claude Code

claude mcp add --env BLENDER_MCP_SAFE_MODE=1 --transport stdio blender -- uvx mcp-for-blender

Claude Code names the tools mcp__blender__<tool>. Set ask or deny rules in .claude/settings.json or ~/.claude/settings.json. Deny rules are checked first, then ask, then allow.

{
  "permissions": {
    "ask": ["mcp__blender__execute_blender_code"],
    "deny": ["mcp__blender__generate_3d", "mcp__blender__generate_gaussian_world"]
  }
}

An ask rule shows you the code before it runs. Read it. The default local scope keeps the server in ~/.claude.json, so a project file doesn’t pull it in for teammates.

Limit it in Codex

[mcp_servers.blender]
command = "uvx"
args = ["mcp-for-blender"]
disabled_tools = ["execute_blender_code"]
 
[mcp_servers.blender.env]
BLENDER_MCP_SAFE_MODE = "1"

disabled_tools blocks the code tool for tasks that only need to inspect a scene. Codex also documents default_tools_approval_mode with prompt.

Checklist

  1. Save and copy your .blend file first.
  2. Turn on safe mode and consider turning off telemetry.
  3. Ask before execute_blender_code, and read what it will run.
  4. Keep the port on localhost.
  5. Keep cloud keys out of the shell that launches Blender.

Checked against the vendor documentation on November 25, 2026. BlenderMCP repo · Claude Code MCP · Claude Code permissions · Codex MCP

Where Excellent fits

Excellent’s free scan reads supported logs on the Mac and reports findings for review. It reads the session logs of Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code. It does not inspect MCP servers themselves. For a local report without installing an app, run the free scan. See a sample report.

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Agent coverage · pricing. Pro is US-only for now. Pro can also configure Claude Code and Codex’s native Mac sandboxes from your file and folder rules. Sandbox setup

Related guides

View all