{"id":26517465,"url":"https://github.com/dhakalnirajan/blender-open-mcp","last_synced_at":"2026-04-30T22:35:04.854Z","repository":{"id":282389887,"uuid":"948419501","full_name":"dhakalnirajan/blender-open-mcp","owner":"dhakalnirajan","description":"Open Models MCP for Blender Using Ollama","archived":false,"fork":false,"pushed_at":"2025-09-21T18:31:08.000Z","size":55,"stargazers_count":72,"open_issues_count":11,"forks_count":23,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-03T14:35:22.045Z","etag":null,"topics":["blender","blender-addon","blender3d","mcp","mcp-server","model-context-protocol","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhakalnirajan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-14T09:58:21.000Z","updated_at":"2026-03-02T05:57:26.000Z","dependencies_parsed_at":"2025-09-18T03:14:32.660Z","dependency_job_id":"4591ed54-642a-41d8-b004-6239eb80f466","html_url":"https://github.com/dhakalnirajan/blender-open-mcp","commit_stats":null,"previous_names":["dhakalnirajan/blender-open-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dhakalnirajan/blender-open-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhakalnirajan%2Fblender-open-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhakalnirajan%2Fblender-open-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhakalnirajan%2Fblender-open-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhakalnirajan%2Fblender-open-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhakalnirajan","download_url":"https://codeload.github.com/dhakalnirajan/blender-open-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhakalnirajan%2Fblender-open-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blender","blender-addon","blender3d","mcp","mcp-server","model-context-protocol","python"],"created_at":"2025-03-21T08:27:20.316Z","updated_at":"2026-04-30T22:35:04.818Z","avatar_url":"https://github.com/dhakalnirajan.png","language":"Python","funding_links":[],"categories":["Media Processing MCP Servers","🤖 AI/ML","Content Creation","Art \u0026 Culture"],"sub_categories":["How to Submit"],"readme":"# blender-open-mcp\n\n`blender-open-mcp` is an open source project that integrates Blender with local AI models (via [Ollama](https://ollama.com/)) using the Model Context Protocol (MCP). This allows you to control Blender using natural language prompts, leveraging the power of AI to assist with 3D modeling tasks.\n\n## Features\n\n- **Control Blender with Natural Language:** Send prompts to a locally running Ollama model to perform actions in Blender.\n- **MCP Integration:** Uses the Model Context Protocol for structured communication between the AI model and Blender.\n- **Ollama Support:** Designed to work with Ollama for easy local model management.\n- **Blender Add-on:** Includes a Blender add-on to provide a user interface and handle communication with the server.\n- **PolyHaven Integration (Optional):** Download and use assets (HDRIs, textures, models) from [PolyHaven](https://polyhaven.com/) directly within Blender via AI prompts.\n- **Basic 3D Operations:**\n  - Get Scene and Object Info\n  - Create Primitives\n  - Modify and delete objects\n  - Apply materials\n- **Render Support:** Render images using the tool and retrieve information based on the output.\n\n## Installation\n\n### Prerequisites\n\n1. **Blender:** Blender 3.0 or later. Download from [blender.org](https://www.blender.org/download/).\n2. **Ollama:** Install from [ollama.com](https://ollama.com/), following OS-specific instructions.\n3. **Python:** Python 3.10 or later.\n4. **uv:** Install using `pip install uv`.\n5. **Git:** Required for cloning the repository.\n\n### Installation Steps\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/dhakalnirajan/blender-open-mcp.git\n   cd blender-open-mcp\n   ```\n\n2. **Create and Activate a Virtual Environment (Recommended):**\n\n   ```bash\n   uv venv\n   source .venv/bin/activate  # On Linux/macOS\n   .venv\\Scripts\\activate  # On Windows\n   ```\n\n3. **Install Dependencies:**\n\n   ```bash\n   uv pip install -e .\n   ```\n\n4. **Install the Blender Add-on:**\n\n   - Open Blender.\n   - Go to `Edit -\u003e Preferences -\u003e Add-ons`.\n   - Click `Install...`.\n   - Select the `addon.py` file from the `blender-open-mcp` directory.\n   - Enable the \"Blender MCP\" add-on.\n\n5. **Download an Ollama Model (if not already installed):**\n\n   ```bash\n   ollama run llama3.2\n   ```\n\n   *(Other models like **`Gemma3`** can also be used.)*\n\n## Setup\n\n1. **Start the Ollama Server:** Ensure Ollama is running in the background.\n\n2. **Start the MCP Server:**\n\n   ```bash\n   blender-mcp\n   ```\n\n   Or,\n\n   ```bash\n   python src/blender_open_mcp/server.py\n   ```\n\n   By default, it listens on `http://0.0.0.0:8000`, but you can modify settings:\n\n   ```bash\n   blender-mcp --host 127.0.0.1 --port 8001 --ollama-url http://localhost:11434 --ollama-model llama3.2\n   ```\n\n3. **Start the Blender Add-on Server:**\n\n   - Open Blender and the 3D Viewport.\n   - Press `N` to open the sidebar.\n   - Find the \"Blender MCP\" panel.\n   - Click \"Start MCP Server\".\n\n## Usage\n\nInteract with `blender-open-mcp` using the `mcp` command-line tool:\n\n### Example Commands\n\n- **Basic Prompt:**\n\n  ```bash\n  mcp prompt \"Hello BlenderMCP!\" --host http://localhost:8000\n  ```\n\n- **Get Scene Information:**\n\n  ```bash\n  mcp tool get_scene_info --host http://localhost:8000\n  ```\n\n- **Create a Cube:**\n\n  ```bash\n  mcp prompt \"Create a cube named 'my_cube'.\" --host http://localhost:8000\n  ```\n\n- **Render an Image:**\n\n  ```bash\n  mcp prompt \"Render the image.\" --host http://localhost:8000\n  ```\n\n- **Using PolyHaven (if enabled):**\n\n  ```bash\n  mcp prompt \"Download a texture from PolyHaven.\" --host http://localhost:8000\n  ```\n\n## Available Tools\n\n| Tool Name                  | Description                            | Parameters                                            |\n| -------------------------- | -------------------------------------- | ----------------------------------------------------- |\n| `get_scene_info`           | Retrieves scene details.               | None                                                  |\n| `get_object_info`          | Retrieves information about an object. | `object_name` (str)                                   |\n| `create_object`            | Creates a 3D object.                   | `type`, `name`, `location`, `rotation`, `scale`       |\n| `modify_object`            | Modifies an object’s properties.       | `name`, `location`, `rotation`, `scale`, `visible`    |\n| `delete_object`            | Deletes an object.                     | `name` (str)                                          |\n| `set_material`             | Assigns a material to an object.       | `object_name`, `material_name`, `color`               |\n| `render_image`             | Renders an image.                      | `file_path` (str)                                     |\n| `execute_blender_code`     | Executes Python code in Blender.       | `code` (str)                                          |\n| `get_polyhaven_categories` | Lists PolyHaven asset categories.      | `asset_type` (str)                                    |\n| `search_polyhaven_assets`  | Searches PolyHaven assets.             | `asset_type`, `categories`                            |\n| `download_polyhaven_asset` | Downloads a PolyHaven asset.           | `asset_id`, `asset_type`, `resolution`, `file_format` |\n| `set_texture`              | Applies a downloaded texture.          | `object_name`, `texture_id`                           |\n| `set_ollama_model`         | Sets the Ollama model.                 | `model_name` (str)                                    |\n| `set_ollama_url`           | Sets the Ollama server URL.            | `url` (str)                                           |\n| `get_ollama_models`        | Lists available Ollama models.         | None                                                  |\n\n## Troubleshooting\n\nIf you encounter issues:\n\n- Ensure Ollama and the `blender-open-mcp` server are running.\n- Check Blender’s add-on settings.\n- Verify command-line arguments.\n- Refer to logs for error details.\n\nFor further assistance, visit the [GitHub Issues](https://github.com/dhakalnirajan/blender-open-mcp/issues) page.\n\n---\n\nHappy Blending with AI! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhakalnirajan%2Fblender-open-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhakalnirajan%2Fblender-open-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhakalnirajan%2Fblender-open-mcp/lists"}