How to Set Up Blender MCP in VSCode (Roo Cline / Cline)
Visual Studio Code doesn’t have built-in MCP support like Cursor. To use Blender MCP in VSCode, you need an MCP-compatible extension such as Cline or Roo Code. Both provide an AI chat interface that can connect to MCP servers like Blender MCP. This guide walks you through the full setup so you can use natural language to create and edit 3D scenes in Blender from VSCode.
Prerequisites
Before you begin:
- Blender 3.0 or newer — Download from blender.org . Blender 4.x recommended.
- Python 3.10 or newer — Usually bundled with your OS. Check with
python3 --version. - Visual Studio Code — Download from code.visualstudio.com .
- Cline or Roo Code — MCP-capable extension. Install from the VSCode marketplace.
You must install the uv package manager before proceeding. The MCP server will not work without it.
Step 1: Install uv Package Manager
The Blender MCP server runs via uvx (part of the uv toolchain). Install it for your platform:
macOS
brew install uvVerify installation:
uv --versionFull uv installation docs: docs.astral.sh/uv/getting-started/installation
Step 2: Install Cline or Roo Code in VSCode
VSCode does not include native MCP support. You need an extension that acts as an MCP client:
Option A: Cline
- Open VSCode and go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for “Cline”
- Install the Cline extension (by Cline)
- Restart VSCode if prompted
Option B: Roo Code
- Open the Extensions view in VSCode
- Search for “Roo Code”
- Install the Roo Code extension
- Restart VSCode if prompted
Both extensions add an AI chat panel and support connecting to MCP servers. Choose whichever fits your workflow; the Blender MCP configuration is the same.
Step 3: Configure the Blender MCP Server
Add the Blender MCP server to your MCP configuration. The format is the same as for Claude Desktop.
If using Cline: Open Cline settings (usually via the Cline panel or Command Palette) and add an MCP server.
If using Roo Code: Open Roo Code settings and add an MCP server in the configuration section.
Manual configuration: If your extension uses a config file (e.g. mcp.json or in your user settings), add:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": ["blender-mcp"]
}
}
}Alternative quick install: The Blender MCP GitHub repository may offer an “Install in VS Code” badge. Clicking it can pre-configure the MCP server in compatible extensions. The underlying config is the same as above.
Restart VSCode (or reload the window) after changing MCP settings so the Blender server is picked up.
Step 4: Install the Blender Addon
The Blender addon runs a socket server inside Blender that receives commands from the MCP server.
Download the addon
Download addon.py from the Blender MCP GitHub repository .
Install in Blender
Open Blender → Edit → Preferences → Add-ons → Click “Install…” → Select the downloaded addon.py file.
Enable the addon
Check the box next to “Interface: Blender MCP” to activate it.
Step 5: Connect and Create Your First 3D Model
Open the BlenderMCP panel
In Blender’s 3D Viewport, press N to open the sidebar, then find the “BlenderMCP” tab.
Enable Poly Haven (optional)
Turn on the Poly Haven checkbox if you want access to free HDRIs, textures, and 3D models from polyhaven.com .
Click “Connect to Claude”
This starts the socket server inside Blender. (The button label refers to Claude, but it works for all MCP clients, including Cline and Roo Code.) You should see a status message confirming the connection.
Open the AI chat in VSCode
In VSCode, open the Cline or Roo Code chat panel. You should see Blender MCP tools available. Try prompts like:
- “Create a red metallic sphere floating above a blue cube”
- “Create a low poly dungeon scene with a dragon guarding a pot of gold”
- “Set up studio lighting and point the camera at the scene with an isometric view”
Only run one MCP server instance at a time. If you have Blender MCP running in both Cursor and Claude Desktop, you’ll get connection conflicts. Pick one client.
Troubleshooting
”Connection refused” or “MCP server not found”
- Ensure the Blender addon server is running (check the BlenderMCP sidebar panel)
- Restart VSCode after editing the MCP config
- Verify uv is installed:
uv --version - Do NOT run
uvx blender-mcpmanually in the terminal — the extension manages the MCP server
MCP tools don’t appear in the chat
- Confirm Cline or Roo Code is installed and enabled
- Check that the MCP config was saved and VSCode was reloaded
- On Windows, ensure uv’s bin directory is in your PATH
First command doesn’t work
The first command after connecting sometimes fails. Send a second message; it usually works from there.
Timeout errors
- Break complex scenes into smaller, sequential prompts
- Avoid very large or heavy operations in a single request
For a deeper look at how the server works, see our MCP Server architecture guide.
Using a different AI client?
FAQ
Does VSCode support Blender MCP natively?
No. VSCode does not have built-in MCP support. You need an MCP-compatible extension such as Cline or Roo Code. These add an AI chat panel and support connecting to MCP servers like Blender MCP.
What is the MCP config for Blender in VSCode?
The config is the same as for Claude Desktop: {"mcpServers":{"blender":{"command":"uvx","args":["blender-mcp"]}}}. Add this in your Cline or Roo Code MCP settings.
Cline vs Roo Code for Blender MCP?
Both support MCP and work with Blender MCP. The configuration is identical. Choose based on which extension's UI and features you prefer.
Can I use Blender MCP in VSCode without Cline or Roo Code?
No. Without an MCP client extension, VSCode cannot connect to MCP servers. Cursor has native MCP support; if you prefer that workflow, see our Cursor setup guide instead.
Get Started with Blender MCP
Blender MCP is free, open-source, and community-driven. Star the repo, report issues, or contribute — all on GitHub.
View on GitHub →