blender-mcp
Provides tools to inspect and control an open Blender scene: check status, list scene objects and metadata, create primitives, set transforms and materials, delete objects, and execute Python inside Blender.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Blender MCP
A local bridge between an MCP client (Cursor, Claude, or anything that speaks the Model Context Protocol) and a Blender scene that is already open.
MCP client --stdio--> blender-mcp --TCP JSON lines--> Blender add-onThe add-on listens on 127.0.0.1:9876 and runs commands on Blender's main thread. The MCP server is a separate process. It does not run inside Blender, and it does not import bpy.
This is an initial scene bridge: inspect the scene, add primitives, move them, color them, delete them, or run a Python script. It does not ship asset libraries or a viewport app.
It is not the blender-mcp package on PyPI, which is a different project. Run this one from a checkout with uv, as below, not with uvx blender-mcp.
Requirements
Blender 4.2 or later. Checked with Blender 5.2.
uv. It installs Python 3.12 for the server if you do not have it.
Related MCP server: blender-server-mcp-docker
Run it
Get the code.
git clone https://github.com/albertshkhyan/blender-mcp.git cd blender-mcpBuild and install the add-on. Quit Blender first if it is already open.
blender --command extension build \ --source-dir addon/blender_mcp \ --output-filepath blender_mcp-0.1.0.zip blender --command extension install-file -r user_default -e blender_mcp-0.1.0.zipYou can also use Edit → Preferences → Extensions → Install from Disk and choose that zip.
Open a scene. In the 3D Viewport press
Nand open the MCP tab. The server starts with Blender and listens on127.0.0.1:9876.Connect an MCP client. Then ask it what is in the Blender scene.
Blender has to be open before a tool call. The MCP process itself can start earlier; it connects on the first call.
Cursor
This repo includes .cursor/mcp.json. Open the folder in Cursor and start a new chat.
Claude Code
From the repo folder:
claude mcp add blender -- uv --directory "$PWD" run blender-mcpClaude Desktop and other clients
Add this to the client's MCP config, with the absolute path to your checkout:
{
"mcpServers": {
"blender": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/blender-mcp", "run", "blender-mcp"]
}
}
}Another port
If port 9876 is already taken (the other public Blender MCP add-on uses it too), change the port in the MCP tab and pass the same port to the server:
"args": ["--directory", "/absolute/path/to/blender-mcp", "run", "blender-mcp", "--port", "9877"]BLENDER_HOST and BLENDER_PORT do the same job as --host and --port.
Tools
Tool | What it does |
| Check that Blender is reachable |
| List the scene, frame, and objects |
| Transform, dimensions, materials, vertex count |
| Cube, sphere, cylinder, cone, or plane |
| Replace location, rotation, or scale |
| Principled BSDF color, components from 0 to 1 |
| Remove one object |
| Run Python in Blender. Assign |
Distances are meters. Rotation is Euler XYZ in radians. The tools see the current scene only: objects that live only in another scene of the file are not listed and cannot be edited by name. get_scene_info lists at most 200 objects and says when the list is truncated.
Security
The socket has no authentication. The default bind address is loopback, so only programs on this computer can connect. execute_python runs with Blender's privileges and can change or delete the open file's data.
A web page can send an HTTP request to 127.0.0.1. The add-on closes any connection whose line is not a JSON object, so the request line of an HTTP request ends it before its body is read.
Allow Remote lets the add-on listen on another address. Anyone who can reach that address can run Python inside Blender. Leave it off unless you are on a network you trust, and do not expose the port to the internet.
A command that times out is not rolled back if Blender had already started it.
Project layout
addon/blender_mcp/ Blender extension (install this)
src/blender_mcp/ MCP server and TCP client
scripts/blender_smoke.py
tests/The wire format is one UTF-8 JSON object per line:
{"type": "get_scene_info", "params": {}}
{"status": "success", "result": {}}Development
The server needs Python 3.12. The add-on uses Blender's own Python.
uv sync
uv run pytest
blender --background --factory-startup --python-exit-code 1 --python scripts/blender_smoke.pyCI runs pytest and uv build on pushes to main and on pull requests. The Blender smoke test needs a local Blender, so run it before you change the add-on.
uv run blender-mcp speaks MCP on stdin and stdout. Logs go to stderr.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Blender tools for your 3D models over MCP: prepare, decimate, unwrap, convert. Each file is checked.
Cloud Blender for AI agents: build, inspect, render and animate 3D scenes over remote MCP. Keep editable .blend projects and export GLB or STL. Make your first 3D asset free—30 compute minutes per UTC month, no credit card. First 100 eligible Free account owners to use all 30 minutes in one UTC month by December 31, 2026 UTC receive one calendar month of beta free: 4 compute hours per UTC month, 2 concurrent workers per deployment, 2 deployments, 2048×2048 renders at up to 256 samples, and 10 GiB storage. Existing usage counts toward the 4-hour allowance. Limited to 100 rewards; expires January 1, 2027 00:00 UTC. Free resumes afterward without an automatic charge. Examples, eligibility and terms: https://sceneplane.online/launch?utm_source=glama&utm_medium=directory&utm_campaign=first100
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects MCP-compatible clients to a live Blender scene for AI-assisted 3D workflows, enabling inspection and controlled operations on objects, materials, cameras, lights, render settings, animation, UVs, Geometry Nodes, imports, exports, and Python execution.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables remote control of Blender through MCP, allowing code execution, scene manipulation, rendering, and file transfer in a containerized environment.1-
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to control Blender for modeling, materials, animation, physics, rendering, scene inspection, documentation search, and asset/generation service integration. It exposes a stdio endpoint with many Blender operations for creating and editing 3D content.AGPL 3.0
- AlicenseCqualityBmaintenanceEnables an external MCP client to inspect and model in Blender through a local bridge, with typed operations scheduled on Blender's main thread and approval/credential checks for scene changes.171MIT