blender-optics-simulator
v0.24.4Build, align & render a real optical bench in Blender; drivable by an AI agent over MCP.
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
OPTICS_BRIDGE_PORT | optional | TCP port of the add-on's localhost bridge inside Blender (Optics > Simulation > Start MCP Bridge). Default: 9765 |
OPTICS_BRIDGE_HOST | optional | Host of the add-on bridge. Default: 127.0.0.1 |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add blender-optics-simulator -- uvx --with 'mcp<2' blender-optics-mcp==0.24.4Add to
claude_desktop_config.json{
"mcpServers": {
"blender-optics-simulator": {
"args": [
"--with",
"mcp<2",
"blender-optics-mcp==0.24.4"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"blender-optics-simulator": {
"args": [
"--with",
"mcp<2",
"blender-optics-mcp==0.24.4"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"blender-optics-simulator": {
"args": [
"--with",
"mcp<2",
"blender-optics-mcp==0.24.4"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.blender-optics-simulator]
command = "uvx"
args = ["--with", "mcp<2", "blender-optics-mcp==0.24.4"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: capabilities, get_state, build_example, trace_beam, diagnose, propose_corrections, inspect_beam, inspect_element, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json