# Blender MCP (MCP Server)

> Control Blender 3D scenes and assets with an LLM

- Type: MCP server
- Publisher: Siddharth Ahuja
- Categories: Design, Media & Entertainment
- Website: https://github.com/ahujasid/mcp-for-blender
- Source: https://github.com/ahujasid/mcp-for-blender
- Transport: stdio
- Launch command: uvx mcp-for-blender
- Sign-in: none
- Environment variables: BLENDER_HOST
- GitHub stars: 29808
- Listed: 2025-03-07

## About

Community MCP server and Blender add-on (PyPI package mcp-for-blender, formerly blender-mcp) that lets LLMs inspect and modify Blender scenes, execute Python in Blender, and import assets from Poly Haven, Sketchfab and AI 3D generators. Requires the bundled add-on running in Blender.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add blender --env BLENDER_HOST=YOUR_BLENDER_HOST -- uvx mcp-for-blender
   ```

   config.toml:

   ```toml
   [mcp_servers.blender]
   command = "uvx"
   args = ["mcp-for-blender"]
   
   [mcp_servers.blender.env]
   BLENDER_HOST = "YOUR_BLENDER_HOST"
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Blender MCP",
       params={"command": "uvx", "args": ["mcp-for-blender"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "Create a low-poly beach scene with palm trees")
       print(result.final_output)
   ```

## Tools

- `get_scene_info`
- `get_object_info`
- `get_viewport_screenshot`
- `execute_blender_code`
- `search_polyhaven_assets`
- `download_polyhaven_asset`
- `set_texture`
- `search_sketchfab_models`
- `download_sketchfab_model`
- `generate_hyper`
- `export_scene`

## Example prompts

- "Create a low-poly beach scene with palm trees"
- "Describe the objects in my current scene"
- "Apply a Poly Haven wood texture to the table"
- "Take a viewport screenshot"

## Related

- [Excalidraw](https://chatgptplugins.directory/mcp/excalidraw.md): Draw hand-drawn Excalidraw diagrams live inside ChatGPT, Claude and VS Code
- [shadcn/ui](https://chatgptplugins.directory/mcp/shadcn-ui.md): Browse, search and install shadcn/ui components and registry blocks
- [Figma](https://chatgptplugins.directory/mcp/figma.md): Bring Figma design context into code and write designs back to the canvas
- [ElevenLabs](https://chatgptplugins.directory/mcp/elevenlabs.md): Build and manage ElevenLabs voice agents and generate speech
- [21st MCP (Magic MCP)](https://chatgptplugins.directory/mcp/21st-magic.md): Search and generate React/Tailwind UI components from your editor
- [MCP for Unity](https://chatgptplugins.directory/mcp/unity.md): Bridge AI assistants to the Unity Editor for game development

---
Source: https://chatgptplugins.directory/mcp/blender · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
