codex3d
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex3d Create a simple scene with a glowing sphere and render a preview"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex3D
Create and refine Blender scenes in ordinary language, with structured tools, persistent identity, visual validation, and reversible edits.
Codex3D is a local-first creative 3D agent for designers and first-time Blender users. Codex turns a user's intent into allowlisted MCP tools; a localhost bridge executes those actions on Blender's main thread, then returns scene inspection and render evidence for the next feedback turn.

Unofficial Codex-inspired concept demo. Codex3D is not endorsed by OpenAI and does not reproduce an official logo.
Why It Is Different
Structured, inspectable execution. No arbitrary Python,
eval,exec, shell MCP tool, or model-writtenbpyscript.Persistent identity and safe recovery. Blender objects carry stable UUIDs; snapshots are session-bound, fingerprinted, and restored with an automatic safety snapshot.
Visual delivery gates. Render validation checks framing, visibility, unwanted objects, luminance, overexposure, active camera, and animation metadata before delivery.
Related MCP server: Blender MCP
60-Second Quick Start
Supported reference setup: macOS arm64, Blender 5.1.1, Python 3.10+ (validated on 3.13.9), Codex CLI 0.135.0, and optional Homebrew FFmpeg 8.1.2.
python scripts/build_blender_extension.pyIn Blender, use Edit -> Preferences -> Extensions -> Install from Disk, select the ZIP in dist/, enable Codex3D, open the 3D View sidebar, and click Connect. Export the displayed one-time token only in the terminal that launches the MCP adapter:
export CODEX3D_BRIDGE_HOST=127.0.0.1
export CODEX3D_BRIDGE_PORT=9876
export CODEX3D_BRIDGE_TOKEN='your-panel-token'
export PYTHONPATH=packages/protocol:apps/api:apps/mcp
python -m codex3d_mcpSee Blender add-on installation and Codex MCP setup for verified commands and troubleshooting.
Judge Path
Judges do not need to rebuild the connector source:
Install
codex3d-blender-extension-0.1.0.zipfrom the release bundle.Connect the Blender sidebar on
127.0.0.1.Configure the local STDIO MCP command from
docs/codex_mcp.md.Ask:
Inspect the scene, create a small glowing six-orbit emblem, render a preview, then make a snapshot before changing it.For a no-Blender smoke path, run:
PYTHONPATH=packages/protocol:apps/api:connectors/blender_addon \
python examples/hackathon_sprint_01_demo.pyExpected smoke result: 31 planned actions, 31 successes, and 16 inspected fake-backend objects.
Three-Minute Demo
Start with an isolated blank Blender scene and describe the intended kinetic emblem.
Watch Codex call structured MCP tools while geometry appears progressively.
Give an aesthetic follow-up; inspect and rerender.
Reject a deliberately bad edit and restore the accepted snapshot.
Deliver the validated PNG, H.264 MP4, and versioned
.blendcheckpoint.
The recording script and fallback plan are in DEMO_SCRIPT.md.
Architecture
flowchart LR
U["Natural-language user"] --> C["Codex / GPT-5.6"]
C --> M["STDIO MCP adapter"]
M --> S["Authenticated localhost bridge"]
S --> Q["Blender main-thread queue"]
Q --> B["Structured bpy backend"]
B --> V["Inspection, render validation, snapshot/restore"]
V --> CThe MCP and API layers never import bpy. The socket thread never mutates Blender. All live scene access is pumped through bpy.app.timers on Blender's main thread.
Codex and GPT-5.6
The primary build task is 019f7749-0bc7-7733-9d9a-17a37e273539. Local Codex session records show gpt-5.6-sol applied repeatedly during the core implementation period beginning July 18, 2026. Codex accelerated protocol design, bridge/main-thread boundaries, MCP schemas, test generation, isolated Blender automation, failure diagnosis, and approval-safe restore/save design.
Human decisions remained explicit: Blender-first modular architecture; allowlisted Actions instead of arbitrary Python; localhost-only HMAC transport; stable UUIDs; artifact-root path confinement; reversible snapshots; and synthetic-test claims that do not overstate human usability.
The required /feedback result is still pending and is not the same as the task ID above. Run /feedback in that primary build task before submission.
Evidence
Default suite: 153 passed, 3 skipped.
Unchanged nine-turn synthetic novice test: SYNTHETIC_PASS 100/100.
Real Blender: snapshot/restore, render, H.264 MP4, stable UUID, and GUI Timeline acceptance passed.
Synthetic testing proves repeatable multi-turn execution, not human comprehension, trust, or satisfaction.
Security Model
Bridge binds only to
127.0.0.1and authenticates with a one-time HMAC token.Tokens are excluded from logs, responses, release assets, and Git.
Artifact writes are confined to an explicit root; traversal and overwrite are rejected.
Restore is limited to registered session snapshots and creates a safety snapshot first.
The extension exposes structured actions only, never arbitrary Python or shell execution.
See SECURITY.md for the threat boundary and reporting guidance.
Tests
python -m pytest
python -m compileall apps packages connectors examples scripts testsReal Blender and long-running synthetic tests are opt-in through their documented environment flags. The default test run does not launch Blender.
Known Limits
The full nine-turn synthetic creative flow takes about 17.5 minutes.
Broad mutation batches may require approval; granular structured tools are the validated path.
There is no Web UI.
Stable UUID support exists, but full Scene IR reconciliation and long-term history do not.
The tested platform is macOS arm64 with Blender 5.1.1; other platforms are not yet verified.
License
MIT. See LICENSE and THIRD_PARTY_NOTICES.md.
Available Tools
23 toolsblender_assign_materialA
Create or reuse a basic Principled BSDF material and assign it to an existing mesh. Colors use linear RGBA in [0,1].
Inputs: metallic (required), roughness (required), base_color (required), material_name (required), +6 more.
blender_configure_sceneB
Configure a bounded Eevee render scene: square or rectangular resolution, samples, transparency, FPS, and timeline range.
Inputs: fps (required), engine (required), samples (required), frame_end (required), +4 more.
blender_configure_worldA
Set the Blender World background color and strength using linear RGB values.
Inputs: color (required), strength (required).
blender_create_cameraA
Create and activate a camera. Location is meters, focal_length is millimeters, and look_at accepts a target point or object name.
Inputs: name (required), look_at (required), location (required), active, +2 more.
blender_create_curveA
Create a general 3D polyline or Bezier curve. Points and bevel depth are meters. Cyclic curves form closed loops; this is a general curve tool, not a logo generator.
Inputs: name (required), points (required), scale, cyclic, +8 more.
blender_create_primitiveA
Create one allowlisted Blender primitive. Location and dimensions are meters; rotation is Euler radians. For meshes, dimensions define final physical size and take precedence over scale. light is valid only for point_light.
Inputs: name (required), primitive (required), light, scale, +6 more.
blender_create_snapshotC
Create a restorable .blend snapshot under CODEX3D_ARTIFACT_ROOT with a canonical scene fingerprint and stable object UUID inventory.
Inputs: snapshot_id, source_turn, source_action_id.
blender_delete_objectADestructive
Delete exactly one existing Blender object by name. Does not clear unrelated scene objects.
Inputs: target_name (required).
blender_delete_snapshotADestructive
Delete one snapshot .blend and metadata record from the configured artifact root.
Inputs: snapshot_id (required).
blender_execute_batchADestructive
Execute an ordered, fail-fast batch of allowlisted Codex3D Action objects, then inspect the final scene. Supports creation, transform, material, parenting, scene/world configuration, keyframes, render, and checkpoint actions.
Inputs: actions (required).
blender_inspect_sceneARead-onlyIdempotent
Inspect Blender with a compact collection-oriented summary by default. Filter by collection, UUID, semantic group, or scene. Use full mode only when all object transforms are genuinely needed. Returns the current fingerprint and accepted snapshot metadata.
Inputs: mode, collection, scene_name, object_uuid, +1 more.
blender_keyframe_objectC
Insert transform and/or Principled emission-strength keyframes. Animation is evaluated by Blender Timeline; cycle adds a cycles modifier when supported.
Inputs: keyframes (required), target_name (required), cycle, interpolation.
blender_list_snapshotsARead-onlyIdempotent
List snapshots stored inside the configured artifact root. Takes no arguments.
Inputs: no named parameters.
blender_pingARead-onlyIdempotent
Check the authenticated localhost Blender bridge and report connector/backend versions. Takes no arguments.
Inputs: no named parameters.
blender_reconcile_object_idsADestructiveIdempotent
Assign stable codex3d_uuid properties to legacy objects with an explicit name prefix. Does not rename or modify geometry.
Inputs: prefix (required).
blender_rename_objectA
Rename an existing Blender object. The old name stops resolving after success.
Inputs: new_name (required), target_name (required).
blender_renderAIdempotent
Render a still PNG or an animation MP4 under CODEX3D_ARTIFACT_ROOT. Returns only validated relative paths and render statistics; still PNG may also be returned as MCP image content.
Inputs: kind (required), path (required).
blender_restore_snapshotA
Reversibly restore a snapshot registered by the current session. Requires the live and target fingerprints, creates a non-overwriting pre-restore safety snapshot first, then returns inspection and scene diff.
Inputs: snapshot_id (required), current_fingerprint (required), snapshot_fingerprint (required).
blender_save_checkpointB
Create a new, versioned .blend delivery under CODEX3D_ARTIFACT_ROOT. The tool never overwrites an existing file and verifies that saving did not change the live scene.
Inputs: path (required).
blender_set_lightB
Update color, energy, and optional area size on an existing Point or Area light.
Inputs: target_name (required), size, color, energy.
blender_set_parentA
Parent one existing object to another while preserving its world transform by default.
Inputs: parent_name (required), target_name (required), keep_transform.
blender_set_point_lightA
Update color and/or energy on an existing point-light object. Color is linear RGB [0,1]; energy is non-negative Blender watts.
Inputs: target_name (required), color, energy.
blender_transform_objectA
Update only supplied transform fields. Prefer stable target_uuid; target_name is a readable fallback. Location/dimensions are meters, rotation is Euler radians, scale is unitless.
Inputs: scale, look_at, location, rotation, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools are clearly targeted, but blender_set_point_light substantially overlaps with blender_set_light, which also handles point lights. blender_create_snapshot and blender_save_checkpoint also have very similar save-a-.blend behavior, so an agent could easily pick the wrong one without careful reading.
All tools share the blender_ prefix and mostly follow a verb_noun snake_case pattern. Minor deviations like blender_ping and blender_render lacking an object noun, plus the confusing set_point_light vs set_light pair, keep it from being perfectly consistent.
At 23 tools, this is in the heavy range for a single server. The Blender domain is broad enough to justify many operations, but some tools could be consolidated, especially the light-update and snapshot/checkpoint-saving pairs.
Core workflows are covered: scene inspection, object creation/editing, materials, animation, rendering, and snapshot restore. Notable gaps remain, though: area lights can be updated but not created, materials cannot be modified after assignment, and checkpoints have no list/restore counterpart.
Maintenance
Related MCP Connectors
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Build editable 3D scenes, direct characters and cameras, and export AI video references with MCP.
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Multiple MCP tools, persistent graph memory, token-saving data pointers, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables any MCP client to drive Blender 5.2 LTS through natural language, with tools for scene inspection, object creation and transformation, material and modifier handling, rendering, viewport capture, and guarded Python execution.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables any MCP client to control Blender 5.2 LTS via natural language, including scene creation, object manipulation, material assignment, rendering, and Python execution.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural language control of Blender 3D through local AI models, allowing MCP clients to create, modify, and render scenes, apply materials, and execute Python code in Blender.-
- AlicenseCqualityBmaintenanceEnables controlling local Blender 5.2 through natural language, providing 159 tools for modeling, materials, shaders, lighting, animation, cameras, rendering, import/export, UV, geometry, rigging, assets, and more via an MCP server.1596MIT