Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLENDER_HOSTNoHost address for Blender socket server (default: "localhost")localhost
BLENDER_PORTNoPort number for Blender socket server (default: 9876)9876
BLENDER_AUTH_TOKENNoOptional shared secret. If set in Blender (Addon Preferences) the MCP server must send the same token.
BLENDER_MCP_TOOL_PROFILENoControls how many MCP tools are exposed (default: "standard"). Profiles: minimal, standard, full.standard

Tools

Functions exposed to the LLM to take actions

NameDescription
assign_material

Assign a material to a mesh object slot.

create_primitive

Create a primitive mesh object.

execute_blender_code

Execute arbitrary Python code in Blender. Make sure to do it step-by-step by breaking it into smaller chunks.

Parameters:

  • code: The Python code to execute

execute_ops

Execute a validated allowlisted ops request (DSL v1) in Blender.

Parameters:

  • request: JSON object with {dsl_version, transaction, dry_run, ops}

get_capabilities

Return server/addon capabilities: DSL version, enabled integrations, supported ops/formats.

get_scene_info

Get detailed information about the current Blender scene

get_viewport_screenshot

Capture a screenshot of the current Blender 3D viewport.

Parameters:

  • max_size: Maximum size in pixels for the largest dimension (default: 800)

Returns the screenshot as an Image.

render_still

Render a still image to output_path (or temp).

select_objects

Select objects by name.

  • mode: replace|add|remove

  • active: optional active object

set_transform

Set object transform values.

Prompts

Interactive templates invoked by user choice

NameDescription
asset_creation_strategyDefines the preferred strategy for creating assets in Blender

Resources

Contextual data attached and managed by the client

NameDescription
help_indexStart here: how to set up and use BlenderMCP.
help_quickstartMinimal steps to connect Blender + MCP client and run a first command.
help_toolsHigh-signal tips for using BlenderMCP tools effectively.
help_troubleshootingCommon setup and runtime issues and what to try next.
help_securityKey safety considerations when using BlenderMCP.
example_ops_basicCreate a cube, make a material, assign it (DSL v1).
example_ops_modifiersAdd and apply a bevel modifier (DSL v1).
example_workflow_asset_strategyRecommended step-by-step workflow when creating assets/scenes.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IAmMarcellus/BlenderMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server