Skip to content
Development
Skill

/metavr-cli

Provides the complete metavr (Meta VR CLI) reference for Meta VR and Horizon OS development — installation, device setup, command discovery, MCP server mode, documentation search, app deployment, device testing setup, audio control, screenshots, and performance analysis. Use

From plugin
meta-vr
24936 skills1 MCP

Claude Code

$ npx -y skills add meta-quest/agentic-tools --skill metavr-cli --agent claude-code

SKILL.md

metavr-cli.SKILL.md
name: metavr-cli
license: Apache-2.0
description: >-
  Provides the complete metavr (Meta VR CLI) reference for Meta VR
  and Horizon OS development — installation, device setup, command discovery,
  MCP server mode, documentation search, app deployment, device testing setup,
  audio control, screenshots, and performance analysis. Use when the user needs
  to install metavr, asks what commands are available, needs CLI syntax help, or
  wants to know what metavr can do. Build paths: all Meta VR app stacks; use
  hz-quest-verify-first if the build path is unclear.
allowed-tools: Bash(metavr:*), Bash(npx:*)

metavr CLI Reference

What metavr Does

metavr (Meta VR CLI) is a CLI for Meta VR and Horizon OS development. It wraps ADB and Meta developer APIs into higher-level commands for device management, app lifecycle, documentation lookup, screenshots, audio control, test-device preparation, MCP integration, and Perfetto performance analysis.

Keep this `SKILL.md` as the routing layer. For exact flags and complete command syntax, use the generated full CLI reference in `docs/metavr-cli.md` or run:

metavr --markdown-help

Installation

Install the `metavr` CLI first.

Standalone binary

The standalone binary goes on your PATH (no prerequisites):

# macOS and Linux
curl -fsSL https://developers.meta.com/horizon/install-cli/ | sh
# Windows (PowerShell)
iwr -useb https://developers.meta.com/horizon/install-cli/windows/ | iex

The installer adds `metavr` to your PATH (source your shell rc or open a new terminal to pick it up). If you installed the standalone binary, keep it current with `metavr update`.

npm distribution

The npm distribution requires Node.js 16 or newer, and needs no install of its own:

npx -y metavr --version

or install it globally with `npm install -g metavr` (update later with `npm update -g metavr`).

Examples in the rest of the documentation use the bare `metavr` command. If you use the npm distribution, prefix with `npx -y` (e.g. `npx -y metavr device list`).

Device Connection

Before using on-device commands:

1. Enable **Developer Mode** on your Meta VR device (Settings > System > Developer) 2. Enable **USB Debugging** when prompted 3. Connect your Meta VR device to your computer via USB-C

Verify the connection:

metavr device list

If no devices appear: try a different USB cable (data-capable, not charge-only), accept the USB debugging prompt on the headset, or connect wirelessly with `metavr device connect <ip>`.

Command Discovery

Use progressive disclosure:

1. Start with this skill for command groups and common workflows. 2. Open a focused reference file when the user is working in that area. 3. Use `docs/metavr-cli.md` or `metavr --markdown-help` for exact flags, arguments, and less common subcommands.

Current top-level command groups:

| Group | Use for | |---|---| | `adb` / `shell` | Low-level ADB-compatible commands and direct device shell access | | `app` | Install, list, launch, stop, clear, inspect, and detect the foreground app | | `asset` | Search Meta's 3D asset library | | `audio` | Read volume, set volume, mute, and unmute device audio | | `capture` | Capture screenshots from a connected headset | | `config` | Read, write, reset, and list metavr configuration | | `device` | List/connect devices, wait for ADB state, inspect controllers, configure test devices, run health checks, and manage proximity | | `docs` | Search/fetch Meta VR docs and API reference entries | | `files` | List, pull, push, remove, and create directories on the device | | `log` | View recent device logs; use `adb logcat` for advanced filters and streaming | | `mcp` | Start or install the metavr MCP server for AI tools | | `perf` | Capture, open, analyze, query, compare, and manage Perfetto traces |

MCP Server Mode

metavr includes a built-in MCP (Model Context Protocol) server with ~40 tools that enable AI agents to interact with Meta VR devices programmatically.

Add this command to any MCP configuration to use the MCP server:

metavr mcp server

The server exposes tools for device management, app lifecycle, performance trace analysis, documentation search, file operations, and 3D asset search.

Install MCP configuration into other AI tools:

metavr mcp install cursor
metavr mcp install claude-desktop
metavr mcp install vscode

For project-local agent setup, install the MCP config into the current repository:

cd your-project
metavr mcp install project

This is the best default when a coding agent already has repository access on the host machine and should be able to call metavr tools from that project.

Common Agent Workflow

If you are building a Meta VR-native developer tool or pairing a Meta VR headset UI with a host-side coding agent, keep the architecture simple:

  • Let the host-side coding agent own repository access, file edits, builds, tests,

and metavr tool calls

  • Let the headset app or browser experience act as a thin client for preview,

prompt capture, status, and approval

  • Prefer project-local MCP installation with `metavr mcp install project` so the

integration is explicit and travels with the repository

# 1. Verify the current docs before coding against an API or workflow
metavr docs search "spatial sdk panel"
metavr docs fetch https://developers.meta.com/horizon/documentation/...

# 2. Build and deploy your app
./gradlew assembleDebug
metavr app install app/build/outputs/apk/debug/app-debug.apk
metavr app launch com.example.app

# 3. Observe on-device behavior
metavr log --tag MyApp
metavr capture screenshot -o latest.png

# 4. Prepare a stable test device when running repeatable tests
metavr device health-check
metavr device configure-testing setup
# ...run tests...
metavr device configure-testing restore

Relationship to ADB

metavr wraps ADB and provides higher-level commands. You do not need t

Read more
@meta-quest
Ships withmeta-vr

Agentic skills and tools for Meta VR and Horizon OS development.

24936 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
249
Star history of meta-quest/agentic-tools on GitHub, a chart by star-history.com

Other skills on meta-vr.

hz-android-2d-porting

hz-android-2d-porting

Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…

@meta-quest@meta-questInstall Skill
hz-api-upgrade

hz-api-upgrade

Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog. Use when…

@meta-quest@meta-questInstall Skill
hz-immersive-designer

hz-immersive-designer

Guides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns,…

@meta-quest@meta-questInstall Skill
hz-iwsdk-webxr

hz-iwsdk-webxr

Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration,…

@meta-quest@meta-questInstall Skill
hz-metavrx-layout-sdk

hz-metavrx-layout-sdk

Build multi-window Meta Horizon OS experiences with the MetaVrx Layout SDK in Jetpack Compose or React Native. Covers framework…

@meta-quest@meta-questInstall Skill
hz-metavrx-ui-set

hz-metavrx-ui-set

Builds app UI for Meta VR and Horizon OS with the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers…

@meta-quest@meta-questInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about metavr-cli.

Which coding agents can use metavr-cli?
metavr-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.