Skip to main content

A MCP server for Blender

Project description

BlenderStudioMCP MCP Server

A Model Context Protocol (MCP) server for Blender Studio integration.

Components

Blender Addon

The BlenderStudioMCP system consists of two parts:

  1. A Blender addon (blender_studio_addon.py) that runs inside Blender
  2. An MCP server that communicates with Claude and the Blender addon

Resources

The server is ready to be extended with custom resources.

Prompts

The server is ready to be extended with custom prompts.

Tools

The server provides the following tools:

  • check_blender_version: Get information about the current Blender installation

Installation

1. Install the Blender Addon

  1. Open Blender
  2. Go to Edit > Preferences > Add-ons
  3. Click "Install..."
  4. Navigate to and select blender_studio_addon.py
  5. Enable the addon by checking the box next to "Interface: BlenderStudioMCP"
  6. The addon will appear in the 3D Viewport's sidebar (press N to show)
  7. In the BlenderStudioMCP panel, click "Start Server"

2. Configure Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "BlenderStudioMCP": { "command": "uv", "args": [ "--directory", "E:\CursorAI\BlenderStudioMCP", "run", "blenderstudiomcp" ] } } ```
Published Servers Configuration ``` "mcpServers": { "BlenderStudioMCP": { "command": "uvx", "args": [ "blenderstudiomcp" ] } } ```

Usage

  1. Start Blender
  2. Enable the BlenderStudioMCP addon in the 3D Viewport sidebar (N key)
  3. Click "Start Server" in the BlenderStudioMCP panel
  4. Start Claude Desktop
  5. The check_blender_version tool will be available to use in Claude

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory E:\CursorAI\BlenderStudioMCP run blenderstudiomcp

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Testing the Blender Connection

  1. Start Blender and enable the addon
  2. Click "Start Server" in the BlenderStudioMCP panel
  3. Use the MCP Inspector to test the check_blender_version tool
  4. The response should include Blender version, build date, and Python version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blenderstudiomcp-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blenderstudiomcp-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file blenderstudiomcp-0.1.0.tar.gz.

File metadata

  • Download URL: blenderstudiomcp-0.1.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for blenderstudiomcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3b84aa30a63845f4a59e75f2a2ba84a8e0811ae7c2154b1fe9b04322e4cf196
MD5 1a3d4e992bc7b1cb5503e16f5900bd48
BLAKE2b-256 ddb96e5c55d3e48a02646c18fe394268230d8b88ab0c6623d97585d6fe67dab1

See more details on using hashes here.

File details

Details for the file blenderstudiomcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for blenderstudiomcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2883afb296126e7113c1ab098bc8242a83fb4c7f161dbc0b1e45a99e03f11c
MD5 63566be225bb311d7d466b4132e681ba
BLAKE2b-256 f727425b8448cdc47bebb03e0e3d1a709a4b57fc61f8b25be5f89dbe2542dcc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page