fnf-blender-mcp

v0.2.2
fnf-blender-mcp Checked 3 days ago Published 2 months ago

Local MCP server for Blender with a background process and offline creative skills.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bl_execute Execute Python (bpy)

Run arbitrary Python inside this MCP session’s background Blender with full `bpy` access. Assign a JSON-serialisable value to `result` to return data. This is the escape hatch — prefer a specific bl_* tool when one exists.

ParameterTypeDescription
code *stringPython source executed inside this MCP session’s background Blender with full `bpy` access. To return data, assign a JSON-serialisable value to a variable named `result`.

bl_get_scene_summary Get Scene Summary

Return a compact summary of the active scene: name, current frame, render engine, and every object's name/type/location.

bl_add_primitive Add Primitive Mesh

Add a primitive mesh (cube, sphere, cylinder, cone, plane, torus, monkey) to the active scene at an optional world location (metres, Z up).

ParameterTypeDescription
kind *stringPrimitive type to add.
locationarrayWorld position [x, y, z] in metres (Z up). Default [0,0,0].
namestringRename the created object to this.

bl_delete_object Delete Object

Delete an object from the scene by exact name.

ParameterTypeDescription
name *stringExact name of the object to delete.

bl_set_transform Set Transform

Set any subset of an object's local location (scene units), rotation (radians, XYZ euler) and scale.

ParameterTypeDescription
name *stringExact object name to transform.
locationarrayParent-relative location [x, y, z] in scene units.
rotation_eulerarrayEuler rotation [x, y, z] in RADIANS (XYZ).
scalearrayScale factors [x, y, z] (1 = unchanged).

bl_set_material Set Material

Create and assign a Principled BSDF material (base colour RGBA 0-1, metallic, roughness) to an object.

ParameterTypeDescription
object *stringExact object name to receive the material.
colorarrayBase colour RGBA, each 0-1. Default opaque mid-grey.
material_namestringName for the created material.
metallicnumberMetallic 0-1.
roughnessnumberRoughness 0-1.

bl_import_model Import 3D Model

Import an absolute local glb/gltf/fbx/obj file into the scene. Download external assets first with the client's file tools.

ParameterTypeDescription
path *stringAbsolute local file path to import instead of a URL.
locationarrayMove the imported root to this world position.

bl_add_light Add Light

Add a POINT/SUN/SPOT/AREA light at a world position with an energy.

ParameterTypeDescription
type *stringLight type.
energynumberLight power/energy (watts). Default 1000 for POINT/SPOT/AREA, 5 for SUN.
locationarrayWorld position [x, y, z]. Default [0,0,5].
namestringRename the created light.

bl_add_camera Add Camera

Add a camera at a world position/rotation, optionally making it the active scene camera.

ParameterTypeDescription
locationarrayWorld position [x, y, z]. Default [7.36, -6.93, 4.96].
namestringRename the created camera.
rotation_eulerarrayEuler rotation [x, y, z] in RADIANS. Default a 3/4 view.
set_activebooleanMake this the active scene camera. Default true.

bl_set_active_camera Set Active Camera

Make an existing camera object the active scene camera.

ParameterTypeDescription
name *stringExact camera object name to make active.

bl_set_frame Set Current Frame

Set the scene's current frame.

ParameterTypeDescription
frame *integerFrame number to set as current.

bl_render Render Frame

Render the current camera frame to PNG with optional temporary resolution, engine and sample overrides. Returns a local path and an inline preview when small enough.

ParameterTypeDescription
output_path *stringAbsolute path for the PNG output.
enginestringRender engine. Default the scene's current engine.
overwritebooleanAllow replacing an existing output file.
resolutionarrayRender [width, height] in pixels. Default the scene's current setting.
samplesintegerCycles sample count; requires the CYCLES engine.

bl_get_object Get Object Detail

Detailed inspection of one object: transform, dimensions, bounding box, material slots, modifiers, parent, and mesh stats (verts/edges/faces).

ParameterTypeDescription
name *stringExact object name to inspect.

bl_health Inspect Blender

Start or inspect this MCP session’s background Blender. Returns its version, PID, active file and scene; does not inspect an open desktop window.

bl_save_project Save Blender Project

Save the current scene to an absolute .blend path. Existing files require overwrite=true.

ParameterTypeDescription
path *string
overwriteboolean

bl_open_project Open Blender Project

Replace the active project with an existing .blend file. Refuses unsaved changes unless discard_unsaved=true.

ParameterTypeDescription
path *string
discard_unsavedboolean

bl_insert_keyframe Insert Object Keyframe

Key the current location, Euler rotation or scale of a named object at a frame.

ParameterTypeDescription
frame *integer
name *string
property *string

bl_job_status Check Blender Job

Check a previously accepted job after timeout without repeating its mutations. Use the same MCP session. Results expire after 128 accepted jobs or reconnecting.

ParameterTypeDescription
job_id *string

bl_list_skills List Blender Skills

List bundled Blender skill names, descriptions, references and assets. Does not require Blender to be running.

bl_get_skill Read Blender Skill

Load a bundled Blender skill or one of its listed references. Start with blender-scene. Legacy topic names remain supported. Does not require Blender to be running.

ParameterTypeDescription
documentstring
namestring

bl_get_skill_asset Locate Blender Skill Asset

Return the absolute path and size of an asset bundled with a listed Blender skill. The path is local to the MCP host.

ParameterTypeDescription
name *string
path *string