octane-mcp
The octane-mcp server lets AI agents programmatically control Octane X (a 3D rendering engine) as a shared visual canvas, using a structured command queue and Lua bridge.
Status & Bridge Management
Check Octane X app status, bridge heartbeat, and command queue state
Run Lua bridge scripts (one-shot or persistent) via AppleScript; ping the bridge for connectivity
Schema & Validation
Retrieve the full supported command schema, validate individual JSON commands or entire queued command files before execution
Scene Building (Low-Level)
Import 3D geometry (OBJ, USD, FBX, Alembic) or create test cubes
Create and assign PBR materials (color, roughness, metallic, transmission, emission, textures)
Add native Octane lights (area, sun, point, spot, directional, environment, emissive)
Set camera position, target, and FOV; apply lighting presets
Start/restart renders with configurable resolution and sample settings
Save PNG previews with quality tiers and convergence controls
Scene Manifest Management
Save, load, and modify semantic scene manifests; add/update/remove objects; re-queue saved scenes
Build high-level conceptual scenes from natural language prompts
Preview QA & Diagnostics
Review saved PNGs for blank/clipped/low-contrast issues
Get automated camera and lighting fix suggestions from QA output
Data & Math Visualizations
3D bar charts from numeric data
Math surfaces from
z=f(x,y)expressionsScatter plots from XYZ points
GeoJSON extruded geometry (points, lines, polygons)
Network/knowledge graph topology scenes
Hermes geometric avatar face
Prebuilt Scene Recipes
Queue photoreal product studios, Earth/Saturn planet scenes, and other pre-built recipes
Browse, load, validate, and override checked-in recipes by slug
Self-Improving Knowledge Base
Read local field notes of successes, failures, and pitfalls
Record new lessons/patterns to the recipe book
Corpus / Grammar Search
Find the nearest reference corpus grammar to warm-start a new render subject (keyword + hue + era ranking, fully offline)
Allows Hermes Agent to use Octane X as a shared visual canvas for geometry, data, math, and concept visualization.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@octane-mcpCreate a 3D bar chart from data [4,2,8,5]"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OctaneX MCP
A local MCP server that lets Hermes Agent use Octane X as a shared visual canvas for geometry, data, math, and concept visualization.
Licence
This repository uses a scoped licence structure. Read
LICENSE-SCOPE.md for the authoritative file and directory
boundaries.
Core source code — Business Source License 1.1. The BSL Core is source-available for non-production use and converts to Apache 2.0 on 2030-07-10.
Agentic Canvas product — PolyForm Noncommercial 1.0.0. The Canvas host, UI, WebGL renderer, and original package assets are free for noncommercial use; commercial deployment, SaaS, resale, and redistribution require a separate agreement.
Original knowledge and documentation — CC BY-SA 4.0. Methods, research framing, conceptual grammar specifications, and tutorials remain available in a reciprocal knowledge commons.
Data, corpus, and derived acceptance material — CC BY-NC-SA 4.0, subject to every upstream asset's own licence and attribution requirements.
Commercial licensing, trademark reservation, and upstream third-party attributions are covered in COMMERCIAL-TERMS.md and NOTICE.
Hermes MCP tool call -> Python MCP server -> JSON command queue -> Octane Lua bridge -> Octane X viewport/render targetThe bridge intentionally avoids arbitrary Lua execution. The MCP server emits a small allowlisted command DSL, and the Octane-side Lua bridge validates and processes those commands inside Octane X.
Related MCP server: Hermes Blockchain Oracle
Example visual products
Photoreal product studio

The recipe library starts with copyable visual targets, not just prose. The headline example above is a photoreal/PBR product-studio setup with glass, metal, softbox reflections, camera intent, material notes, and a native-render validation checklist. See examples/recipes/photoreal-product-studio/ for the reusable OBJ/MTL scene and MCP command metadata.
Current recipe previews
The public showcase now points at current, reproducible recipe directions rather
than the older exploratory rows. Legacy space/data/demo recipes still exist in
examples/recipes/ for reference, but they are no longer the README headline or
active benchmark-harness targets unless they have been reconciled and re-gated.
Wristwatch | Desk fan | Headphones studio |
|
|
|
Two-tone steel/gold case, blue dial, gold numerals, sphere hour markers, linked bracelet. | Native Octane desk-fan prop with tubular cage, cord, plug, and prongs. | Opposing cylindrical cups, spiral path-following cord, multi-material binding. |
Ancient temple | Bowl of fruit | Photoreal vase studio |
|
|
|
Columned structure with proper lighting and bounds-aware framing. | Generated fruit cluster on a reflective surface. | Multi-vase photoreal studio with soft lighting. |
Oceananigans shallow water | Dam-break splash | Cloth drape contact |
|
|
|
Source-backed Julia/Oceananigans shallow-water export rendered as scalar bands and velocity glyphs. | SPlisHSPlasH-style liquid/foam particle fixture with native material groups. | Mass-spring cloth over a rigid sphere with explicit contact geometry. |
Kelvin-Helmholtz slice | Rigid stack contacts | N-body divergence |
|
|
|
Shear-layer scalar field fixture for fluid instability visualisation. | Contact-force vectors over stacked rigid bodies. | Three-body trajectory divergence rendered as a physical-simulation recipe. |
See docs/recipe-library.md for the full catalogue (40 recipes) with reusable OBJ/MTL scenes and MCP command metadata.
What this is for
Use this project when an agent needs to turn an explanation into a rendered scene:
data as 3D bar charts or future chart grammars;
math as surfaces and geometric objects;
concepts as simple staged scenes;
Hermes' avatar as a visual guide inside a render;
quick render/preview/review loops for local visual R&D.
The documentation is written for rapid agentic learning, including smaller local models: start with the workflow cards below, then copy the exact examples.
Current status
Verified or implemented:
octanex-mcpstdio MCP server.Hermes MCP config pattern for
mcp_servers.octanex.Octane X sandbox/container workspace path.
Ordered JSON command queue plus
inbox.jsoncompatibility fallback.Versioned typed command schema, structured validation error codes, queue validation,
processing/state, and per-command result JSON files.One-shot Lua bridge that drains
queue/*.jsonand exits.Persistent Lua bridge window with manual
Process next/Drain queuecontrols and timer fallback notes.On-demand bridge control helpers: status checks plus AppleScript-backed one-shot/persistent script launch attempts for macOS workflows.
Parity tests keep one-shot and persistent scene-command handlers semantically aligned; they should differ only in scheduling/UI behavior.
Scene operations: import mesh, create material, assign material, set camera, set lighting, start/restart render, save preview.
Visual tools: bar chart, math surface, Hermes avatar face.
Generated visual assets include bounds metadata and use bounds-aware camera placement for more reliable framing.
Visual iteration protocol for target-matching recipes: native Octane preview evidence, local
qwen3-vl:2b(orglm-ocr) review, bounded patch plans, and bundled final render/assets.Self-improving recipe book tools: agents can read and append successes, failures, partials, and pitfalls.
Known constraints:
Octane X is sandboxed on macOS. Hermes must write to the real app-container path, not the apparent
~/OctaneMCPpath.Persistent Lua UI can block Octane's viewport refresh. Prefer one-shot queue draining for batches when the viewport looks stale.
The core Python package stays lightweight: only
mcpis required. Heavier geometry/science packages should be optional.
Install and run
From this repo:
uv sync
PYTHONPATH= uv run octanex-mcp init
PYTHONPATH= uv run octanex-mcp doctor
PYTHONPATH= uv run octanex-mcp --self-testHermes config in ~/.hermes/config.yaml (merge into the existing mcp_servers key):
mcp_servers:
octanex:
# Use the bundled launcher, NOT bare `uv run` — it strips the Hermes
# runtime PYTHONPATH so the server uses its own .venv (with
# mcp/pydantic_core) instead of Hermes' broken one, which would crash
# the server on import.
command: "/path/to/octanex-mcp/run_octanex_mcp.sh"
args: []
timeout: 180
connect_timeout: 30
# Only if your workspace/app paths differ from the defaults the server
# resolves. Hermes strips unlisted env vars from the subprocess, so any
# custom path MUST be declared here explicitly.
# env:
# OCTANEX_MCP_WORKSPACE: "/Users/craig/Library/Containers/com.otoy.rndrviewer/Data/OctaneMCP"
# OCTANEX_APP_PATH: "/Applications/Octane X.app"For another checkout location, point command at that checkout's run_octanex_mcp.sh (the --project path is baked into the launcher), or set OCTANEX_MCP_REPO before running the server.
MCP servers are discovered at Hermes startup; restart Hermes (or use /reload-mcp in-session) after config changes, then verify:
hermes mcp list # shows `octanex` (✓ enabled)
hermes mcp test octanexWorkspace paths
By default, Hermes writes to the real Octane X sandbox container path for the current macOS user:
~/Library/Containers/com.otoy.rndrviewer/Data/OctaneMCP/Octane Lua may appear to use this path in scripts:
~/OctaneMCP/For reliability, generated scripts use the real container path directly. Override paths with environment variables when needed:
export OCTANEX_MCP_WORKSPACE="$HOME/Library/Containers/com.otoy.rndrviewer/Data/OctaneMCP"
export OCTANEX_MCP_REPO="/path/to/octane-mcp"
export OCTANEX_APP_PATH="/Applications/Octane X.app"
PYTHONPATH= uv run octanex-mcp init
PYTHONPATH= uv run octanex-mcp doctoroctanex-mcp init creates the workspace folders, writes octanex-mcp.config.json in the workspace, writes octane_lua/config.generated.lua, and generates portable bridge copies with the resolved workspace path injected. See docs/octane-bridge.md for bridge lifecycle and parity rules.
Required Octane X Preferences setup
Octane X must be told where to find the Octane MCP Lua bridge scripts. After running octanex-mcp init, open Octane X and set the Lua scripts directory:
Open Octane X.
Open Preferences.
Find the Scripts path setting.
Set Scripts path to this checkout's Lua script directory:
/path/to/octane-mcp/octane_luaFor this repository checkout, that is the octane_lua/ folder containing:
hermes_bridge_oneshot.generated.lua
hermes_bridge_persistent.generated.luaIf OCTANEX_MCP_REPO points somewhere else, use $OCTANEX_MCP_REPO/octane_lua. Restart Octane X after changing this preference if the scripts do not appear immediately.
Important files:
.../OctaneMCP/inbox.json latest command fallback
.../OctaneMCP/queue/*.json ordered command queue
.../OctaneMCP/processing/*.json command currently being handled
.../OctaneMCP/processed/*.json successful processed commands
.../OctaneMCP/failed/*.json failed command payloads
.../OctaneMCP/results/*.json per-command success/error/result metadata
.../OctaneMCP/artifacts/ generated non-OBJ/preview artifacts
.../OctaneMCP/assets/ generated OBJ assets
.../OctaneMCP/renders/ preview/render outputs
.../OctaneMCP/scenes/ saved semantic scene manifests
.../OctaneMCP/status.json bridge status/heartbeat
.../OctaneMCP/bridge.log bridge logOctane-side bridge scripts
Preferred batch fallback: one-shot bridge
Open Octane X and run:
/path/to/octane-mcp/octane_lua/hermes_bridge_oneshot.generated.luaThis drains all ordered queue/*.json commands and exits so Octane's viewport/render loop can repaint. It also falls back to inbox.json for older single-command workflows.
Persistent bridge window
Open Octane X and run:
/path/to/octane-mcp/octane_lua/hermes_bridge_persistent.generated.luaLeave the Hermes Octane MCP Bridge window open while using Hermes. If the timer mode is unavailable, use Process next for one command or Drain queue for a batch. Do not add sleep loops to Octane Lua; they run on the UI thread and can freeze Octane X.
If the persistent bridge closes with status released after start_render, that is intentional: it gives Octane's renderer a chance to repaint.
MCP tool catalogue
Status and learning
Tool | Purpose |
| App existence, queue, processed/failed files, bridge status. |
| Octane process state, generated bridge paths, script readiness, and bridge heartbeat age. |
| Run |
| Run |
| Validate one JSON command envelope. |
| Return supported command operations, limits, path rules, and examples. |
| Validate queued command files in the workspace. |
| Read local field notes for successes, failures, and pitfalls. |
| Append a lesson to |
| List checked-in recipe examples with normalized metadata and preview/native verification status. |
| Load a recipe's command sequence and resolved asset paths by slug. |
| Queue a checked-in recipe command sequence by slug. |
| Validate checked-in recipe files, metadata, previews, and command payloads. |
Low-level scene commands
Tool | Purpose |
| Queue a bridge ping. |
| Generate a cube OBJ and queue import. |
| Queue OBJ/USD/FBX/Alembic import. |
| Queue material create/update with extended PBR fields (unsupported Octane pins are acked with a warning by the bridge). |
| Queue material assignment. |
| Queue camera placement. |
| Queue lighting preset. |
| Queue native light creation ( |
| Queue render restart and resolution update. |
| Queue render-ready PNG preview save. |
| Review saved PNG previews with metrics, diagnosis, likely causes, and recommended actions. |
| Suggest a camera patch from preview QA and asset bounds. |
| Suggest a lighting/render patch from preview QA. |
Higher-level visual tools
Tool | Purpose |
| Build a 3D bar chart OBJ and queue a full scene. |
| Build a restricted |
| Build a 3D scatter plot OBJ from xyz triples and queue a full scene. |
| Show Hermes' geometric avatar face. |
| Save a semantic scene manifest and queue validated scene commands. |
| Save a semantic scene manifest without queueing commands. |
| Deterministic MVP concept scaffold. |
Workflow cards for agents
Card 1: Is the bridge alive?
Call
octane_status().If
bridge_seenis false, ask the user to run one of the Lua bridge scripts in Octane X.If queue grows but processed does not, run the one-shot bridge.
Record any non-obvious fix with
octane_record_recipe(...).
Card 2: Show a simple object
Call
octane_create_test_cube(name="agent_cube", size=1.0).Call
octane_start_render(samples=128)if needed, thenoctane_save_preview().In Octane X, run
hermes_bridge_oneshot.generatedfrom the Script menu once to drain the full pipeline.Call
octane_review_preview()and verifyok=truebefore claiming success.
Card 3: Visualize data quickly
Call
octane_visualize_bars(values=[3, 1, 4, 1, 5], name="pi_digits").Run/drain the Lua bridge in Octane X.
Save a preview.
Call
octane_review_preview(); if it reports blank/clipped/low-contrast output, adjust the generator or camera and record the lesson.
Card 4: Visualize a math surface
Call
octane_visualize_surface(expression="sin(r) / max(r, 0.25)", steps=36).Drain the queue with the one-shot bridge.
Save/inspect preview.
Keep expressions restricted to
x,y,r,sin,cos,tan,sqrt,log,exp,pow,min,max,abs,pi, ande.
Card 5: Self-improve after use
After any successful, failed, or surprising run, append a concise recipe:
octane_record_recipe(
title="One-shot bridge fixed stale viewport after bar chart import",
outcome="success",
context="Persistent bridge processed queue but Octane viewport stayed stale.",
steps=[
"Queued octane_visualize_bars with five values.",
"Ran hermes_bridge_oneshot.generated from Octane X's Script menu.",
"Restarted render and saved preview."
],
signals=["queue/ drained", "processed/ gained command files", "preview PNG existed"],
follow_ups=["Prefer one-shot bridge for multi-command visual scenes"]
)Keep entries small and operational. A future local model should be able to copy the pattern directly.
Development smoke tests
cd /path/to/octane-mcp
PYTHONPATH= uv run octanex-mcp --self-test
PYTHONPATH= uv run python -m octanex_mcp.client_smoke
PYTHONPATH= uv run python -m compileall src
hermes mcp test octanexPYTHONPATH= avoids accidentally importing packages from Hermes' own runtime venv when developing inside the Hermes desktop terminal.
More docs
docs/agent-quickstart.md— short examples designed for small/local models.docs/recipe-library.md— broad example scenes with reusable OBJ files, command metadata, and preview renders.docs/recipe-book.md— self-improving successes, failures, partials, and pitfalls.docs/canvas-roadmap.md— visual canvas roadmap.docs/local-model-rich-moa.md— local visual R&D process.
Example recipe library
Reusable sample scenes live under examples/recipes/. Each recipe directory contains:
README.md— prompt, purpose, steps, and variations;scene.obj— reusable geometry;scene.json— camera and MCP command sequence metadata;preview.pngorphotoreal-preview.png— preview/target render for quick review.
Start with docs/recipe-library.md when exploring applications beyond the built-in bars/surface/avatar tools.
Animated examples live under examples/animations/. The first example, orbit-reveal, includes a GitHub-friendly GIF, MP4, PNG frame sequence, OBJ frame states, and storyboard metadata. The current robust animation pattern is frame-by-frame scene generation plus ffmpeg encoding; native Octane timeline control can be added later.
Links
X / Twitter: @nobulart
Support: Buy me a coffee
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nobulart/octane-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server











