# xrctl

> xrctl is a freemium MCP server for developer tools. CLI and stdio MCP server for controlling XREAL, VITURE, Rokid and RayNeo AR glasses. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** macOS, Linux, CLI, API
- **Repository:** https://github.com/raydeoliveira/xrctl
- **MCP Registry name:** io.github.raydeoliveira/xrctl
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/raydeoliveira/xrctl/releases/download/v0.1.0/xrctl-0.1.0-macos-arm64.mcpb
```

Download 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.

## 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.

## Alternatives

- [Spatial 3D Display Oracle (Cloudflare Workers MCP)](https://ai-powered.com/mcp/spatial-3d-display-oracle-cloudflare-workers-mcp): Spatial 3D Display Oracle (Cloudflare Workers MCP) is an MCP server for cloud and infrastructure.
- [glass](https://ai-powered.com/mcp/glass): glass is an open-source MCP server for developer tools.
- [RokuMCP](https://ai-powered.com/mcp/rokumcp): RokuMCP is an MCP server for developer tools.
- [Remote Pc MCP](https://ai-powered.com/mcp/remote-pc-mcp): Remote Pc MCP is a free MCP server for developer tools.
- [Serial Console MCP: AI for telecom equipment and any serial device](https://ai-powered.com/mcp/serial-console-mcp-ai-for-telecom-equipment-and-any-serial-d): Serial Console MCP: AI for telecom equipment and any serial device is an open-source MCP server for developer tools.
- [iphone-cli (iph)](https://ai-powered.com/mcp/iphone-cli-iph): iphone-cli (iph) is an open-source MCP server for developer tools.
- [Divlens](https://ai-powered.com/mcp/divlens): Divlens is an open-source MCP server for developer tools.
- [Clawtouch MCP](https://ai-powered.com/mcp/clawtouch-mcp): Clawtouch MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xrctl
