xrctl
CLI and stdio MCP server for controlling XREAL, VITURE, Rokid and RayNeo AR glasses
xrctl is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- macOS, Linux, CLI
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
In Claude Desktop → Settings → Extensions
https://github.com/raydeoliveira/xrctl/releases/download/v0.1.0/xrctl-0.1.0-macos-arm64.mcpbDownload the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.
Using several servers? Build one config file with the MCP config generator.
Configuration
XRCTL_LICENSE_KEYOptional Polar.sh Pro license key unlocking hardware writes and 1000Hz IMU streaming.
About xrctl
Command-line tool and MCP server that talks to AR glasses from four vendors over USB-HID and, for XREAL One models, a link-local TCP connection. It switches between 2D and side-by-side 3D, adjusts electrochromic lens tint, sets refresh rate and panel brightness, and reads the glasses' IMU and wear sensor.
Mutating commands are guarded: they refuse to run non-interactively without an explicit confirmation flag, support dry runs, and revert the display to 2D automatically if the change is not confirmed within 15 seconds. Every command can emit JSON for scripts and AI agents to consume.
It suits developers and power users on macOS or Linux/SteamOS who want scriptable control of their glasses or want to expose that control to an AI assistant. Hardware-free fixtures let it be exercised without attached devices, and the README states that live hardware exchanges were not yet tested.
What it does
- Multi-vendor device discovery
- Detects XREAL, VITURE, Rokid and RayNeo glasses and lists their known model profiles.
- 2D and 3D SBS switching
- Changes display mode with an atomic snapshot and automatic revert to 2D if unconfirmed.
- Electrochromic tint control
- Sets lens darkness using levels, percentages or named presets on supported models.
- Refresh rate and brightness
- Selects 60, 90 or 120 Hz and adjusts panel brightness within validated ranges.
- High-rate IMU streaming
- Reads motion sensor data at up to 1000 Hz with quaternion fusion and JSONL output.
- MCP server and JSON output
- Provides a built-in JSON-RPC MCP server and machine-readable output for every command.
Good for
- Scripting display mode changes for AR glasses on a development machine
- Letting an AI assistant adjust glasses tint, refresh rate or mode through MCP
- Streaming head-motion data from glasses for prototyping or research
- Testing AR display configurations with dry runs and fixtures before touching hardware
- Chaining EDID patch tooling into a 3D SBS mode change
Pricing
Freemium
Free core CLI; Pro unlocks hardware writes and 1000Hz IMU streaming for $19 one-time.
xrctl FAQ
Which operating systems are supported?
macOS on arm64 and Linux, including SteamOS, are supported. Homebrew installation is available on macOS.
Which glasses brands work with xrctl?
XREAL, VITURE, Rokid and RayNeo glasses are covered by device discovery and the command set.
Do I need a license to use xrctl?
The core commands are free. A Pro license key unlocks hardware writes and 1000 Hz IMU streaming.
What happens if a display mode change goes wrong?
If the change is not confirmed within 15 seconds, or the process receives SIGINT or SIGTERM, the display reverts to 2D.
Is xrctl free?
xrctl has a free plan, with paid plans for more usage or features.
What are the best alternatives to xrctl?
The closest alternatives to xrctl are Spatial 3D Display Oracle (Cloudflare Workers MCP), glass, RokuMCP, Remote Pc MCP and Serial Console MCP: AI for telecom equipment and any serial device.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.