An MCP server and agent skill for Blender 5.2. Your coding agent models, renders and checks mechanical parts on your machine: four tools, an AGENT_OK contract, and a 3D-print production gate. Specs are locked to millimeters. Exports are STL and glTF.
On Linux the binary is often /usr/bin/blender. The first tool will tell you if it cannot find it. If you use uv, uv run design-os-3d-blender from this repository starts the same server, with no need to publish a package.
Ask for a part in plain English. A typical pass validates a spec.json, runs a headless bpy script, and stops on one line: AGENT_OK or AGENT_FAIL.
What it makes
These are real builds from this repository, made in Blender 5.2 through the agent pipeline.
Build
What it is
In this repo
CK-001
A compact keyboard, from photo and spec to a printable kit
The MCP server exposes four tools. That is the count in src/design_os_3d_blender_mcp/server.py on this branch:
Tool
What it does
blender_runtime_status
Host, Python, and whether a Blender 5.2 binary is on the path. Call this first.
query_blender_knowledge
Search the verified bpy 5.2 knowledge base in knowledge/ before writing a script.
validate_part_spec
Check a spec.json: units in mm, target dimensions, tolerance, minimum wall.
execute_blender_pass
Run a headless pass and read the AGENT_OK or AGENT_FAIL line.
Two prompts (design_parametric_part, review_geometry_gate) and two resources (blender://knowledge/index, blender://specs/bracket-example) sit next to the tools. They are not extra tools.