Skip to content
VS Code

blender optics simulator for VS Code

io.github.emircbngl/blender-optics-simulator

Build, align & render a real optical bench in Blender; drivable by an AI agent over MCP.

client:VS Code transport:stdio runtime:pypi

Install blender optics simulator in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "optics-bridge-port",
      "description": "OPTICS_BRIDGE_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "optics-bridge-host",
      "description": "OPTICS_BRIDGE_HOST",
      "password": true
    }
  ],
  "servers": {
    "blender-optics-simulator": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "blender-optics-mcp"
      ],
      "env": {
        "OPTICS_BRIDGE_PORT": "${input:optics-bridge-port}",
        "OPTICS_BRIDGE_HOST": "${input:optics-bridge-host}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

blender optics simulator in other clients