# 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.

[Blender MCP Setup Instructions](https://www.youtube.com/watch?v=neoK_WMq92g)

## Prerequisites[](https://blendermcp.org/setup/vscode#prerequisites)

Before you begin:

-   **Blender 3.0 or newer** — [Download from blender.org](https://www.blender.org/download/) . 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](https://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[](https://blendermcp.org/setup/vscode#step-1-install-uv-package-manager)

The Blender MCP server runs via `uvx` (part of the uv toolchain). Install it for your platform:

**macOS**

**Windows**

**Linux**

### macOS

```bash
brew install uv
```

Verify installation:

```bash
uv --version
```

### Windows

Open PowerShell and run:

```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```

Then add uv to your PATH (you may need to restart VSCode after):

```powershell
$localBin = "$env:USERPROFILE\.local\bin"
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
[Environment]::SetEnvironmentVariable("Path", "$userPath;$localBin", "User")
```

### Linux

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```

> Full uv installation docs: [docs.astral.sh/uv/getting-started/installation](https://docs.astral.sh/uv/getting-started/installation/)

## Step 2: Install Cline or Roo Code in VSCode[](https://blendermcp.org/setup/vscode#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**

1.  Open VSCode and go to the Extensions view (`Ctrl+Shift+X` or `Cmd+Shift+X`)
2.  Search for **“Cline”**
3.  Install the Cline extension (by Cline)
4.  Restart VSCode if prompted

**Option B: Roo Code**

1.  Open the Extensions view in VSCode
2.  Search for **“Roo Code”**
3.  Install the Roo Code extension
4.  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[](https://blendermcp.org/setup/vscode#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:

```json
{
  "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[](https://blendermcp.org/setup/vscode#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[](https://blendermcp.org/setup/vscode#download-the-addon)

Download `addon.py` from the [Blender MCP GitHub repository](https://github.com/ahujasid/blender-mcp) .

### Install in Blender[](https://blendermcp.org/setup/vscode#install-in-blender)

Open Blender → **Edit → Preferences → Add-ons** → Click **“Install…”** → Select the downloaded `addon.py` file.

### Enable the addon[](https://blendermcp.org/setup/vscode#enable-the-addon)

Check the box next to **“Interface: Blender MCP”** to activate it.

## Step 5: Connect and Create Your First 3D Model[](https://blendermcp.org/setup/vscode#step-5-connect-and-create-your-first-3d-model)

### Open the BlenderMCP panel[](https://blendermcp.org/setup/vscode#open-the-blendermcp-panel)

In Blender’s 3D Viewport, press **N** to open the sidebar, then find the **“BlenderMCP”** tab.

### Enable Poly Haven (optional)[](https://blendermcp.org/setup/vscode#enable-poly-haven-optional)

Turn on the Poly Haven checkbox if you want access to free HDRIs, textures, and 3D models from [polyhaven.com](https://polyhaven.com/) .

### Click “Connect to Claude”[](https://blendermcp.org/setup/vscode#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[](https://blendermcp.org/setup/vscode#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[](https://blendermcp.org/setup/vscode#troubleshooting)

### ”Connection refused” or “MCP server not found”[](https://blendermcp.org/setup/vscode#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-mcp` manually in the terminal — the extension manages the MCP server

### MCP tools don’t appear in the chat[](https://blendermcp.org/setup/vscode#mcp-tools-dont-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[](https://blendermcp.org/setup/vscode#first-command-doesnt-work)

The first command after connecting sometimes fails. Send a second message; it usually works from there.

### Timeout errors[](https://blendermcp.org/setup/vscode#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](https://blendermcp.org/server).

Using a different AI client?

[Claude Setup →](https://blendermcp.org/setup/claude)[Cursor Setup →](https://blendermcp.org/setup/cursor)[ChatGPT Setup →](https://blendermcp.org/setup/chatgpt)[Gemini Setup →](https://blendermcp.org/setup/gemini)[Ollama Setup →](https://blendermcp.org/setup/ollama)

## 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.

Configuration still not cooperating? That is the trade-off of the open-source path — you choose and manage the AI client, model, and config. 3D-Agent includes the AI and the toolset instead. [Compare Blender MCP with 3D-Agent →](https://blendermcp.org/compare/blender-mcp-vs-3d-agent)
