Developers

Build for spatial displays on the web, natively, or in an engine. You don't need a spatial display to start.

Recommended for most new content

3D on the web

A few lines of JavaScript with @displayxr/inline3d, shared with a URL. In the DisplayXR Browser the page is 3D; in every other browser it is the same page in 2D.

index.html
<canvas id="chair" width="960" height="640"></canvas>

<script type="module">
  import { createInline3D } from '@displayxr/inline3d';
  import { addModel } from '@displayxr/inline3d/model';

  // 3D in the DisplayXR Browser on a spatial display, 2D everywhere else
  const wall = await createInline3D();
  const canvas = document.getElementById('chair');
  addModel(wall, canvas, 'chair.glb', { environment: 'studio' });
</script>

Free · read-only · no sign-in

Use it with your AI assistant

Ask Claude, ChatGPT or Codex to build an inline 3D page, and let it check its own work. The DisplayXR inline 3D tools give the assistant an authoring guide, a starter template, a page checker and a glTF/GLB model check. The checker runs the page in a simulated DisplayXR Browser, rendering both eye views, and in a plain 2D browser, then reports pass, warn or fail for each rule. Check a page by URL, or send its files: nothing is hosted or kept.

Watch the 2-minute demo: one prompt in ChatGPT, from build to published page

A pass means the page works in a simulated 3D browser. Look at it on a Spatial Display before you ship it.

Claude

claude.ai · Claude Desktop · mobile · Claude Code

In Claude's connector directory. Open the DisplayXR inline 3D listing and choose Connect; the connector itself needs no sign-in.

Open in Claude

ChatGPT and Codex

Coming to the ChatGPT directory

Until it is listed, add it yourself. In ChatGPT, go to Plugins → Add → Add custom MCP server, enter the URL https://mcp.displayxr.org/mcp and set Authentication to None. In Codex:

terminal
codex mcp add displayxr-inline3d --url https://mcp.displayxr.org/mcp

The hosted checker reaches public pages only. To check a page on localhost, use a local plugin.

Local plugins

Run the checker on your own machine, so it can check pages on localhost too. You need Node.js and Chrome.

Claude Code
/plugin marketplace add DisplayXR/displayxr-web
/plugin install displayxr-inline3d@displayxr
Codex
codex plugin marketplace add DisplayXR/displayxr-web
codex plugin add displayxr-inline3d-codex@displayxr
Any MCP client, such as Cursor (stdio)
npx -y @displayxr/inline3d-tools mcp

Setup page · Source · Privacy · Terms

No spatial display? Develop on sim-display. DisplayXR ships a simulated spatial display: native apps build, run and self-test on an ordinary monitor, in an ordinary window. How

Native OpenXR apps

Start from a reference app, run it on sim-display, lint it, ship it. The recommended graphics API per platform:

Native quickstart

Unity and Unreal

Engine plug-ins with standard engine workflows, no custom forks.

Unity

Active

Plug-in v2.38.1 · Unity 2022.3 · Windows and macOS

Unreal

Beta

Plug-in v0.12.0 · UE 5.7.0 · Windows, macOS and Android

See them running in the demos. Building into a desktop app such as Blender or ParaView instead? See desktop apps on Platform Support.

Opt-in

Let an AI agent drive your app

With MCP enabled, the runtime hosts a Model Context Protocol server in each app, so an agent such as Claude Code can inspect it. With XR_DXR_mcp_tools your app adds its own tools (play_pause, load_model): calls arrive on the OpenXR event queue and you answer from your frame loop. Your app never links an MCP library.

Off unless MCP is enabled on the machine; with it off, the extension's calls return unsupported and the app carries on.

Go deeper

Full documentation lives with the code, in the runtime repo's docs.