mcpbeat Sign in

Metavr CLI Agent Skill

>- Provides the complete metavr (Meta VR CLI) reference for Meta Quest 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.

11k tokens
context cost
the whole folder, loaded on every use
6
files
instructions only
0
copies elsewhere
how many repositories repackaged it
173
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/meta-quest/agentic-tools --skill metavr-cli

The instruction itself

10 sections, as written by the author

metavr CLI Reference

What metavr Does

metavr (Meta VR CLI) is a CLI for Meta Quest 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/hzdb.md or run:

npx -y metavr --markdown-help

Installation

Requires Node.js 20 or newer.

Invoke via npx:

npx -y metavr --help
npx -y metavr --version

npx is the recommended path: it always pulls the latest published version, so

you don't end up running an outdated global install. Examples in the rest of

the documentation use the bare metavr command for brevity — substitute

npx -y metavr for any of them.

Alternatively, install metavr globally using:

npm install -g metavr

If you install globally, update regularly with npm update -g metavr.

Use npx -y metavr when you want the latest published version without

depending on a global install.

Device Connection

Before using on-device commands:

  • Enable Developer Mode on your Quest (Settings > System > Developer)
  • Enable USB Debugging when prompted
  • Connect your Quest 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:

  • Start with this skill for command groups and common workflows.
  • Open a focused reference file when the user is working in that area.
  • Use docs/hzdb.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 Quest 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 Quest 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 Quest-native developer tool or pairing a Quest 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 to use adb

directly for most Quest development tasks. metavr handles device selection, provides

structured output, and adds Quest-specific functionality (screenshots via metacam,

Perfetto trace analysis, doc search) that raw ADB does not support.

If you need raw shell access to the device, use metavr shell or metavr adb shell.

Full Command Reference

Use docs/hzdb.md for generated command details. Regenerate it with:

npx -y metavr --markdown-help > docs/hzdb.md

References

For detailed usage guides with workflows, examples, and troubleshooting:

  • Device Management — device commands, audio, screenshots, logs, test setup, health checks, shell access
  • App Management — app lifecycle, foreground app detection, crash debugging, common log tags
  • Agent Workflows — project-local MCP install, docs verification, safety, thin-client architecture
  • Performance Tools — trace capture, guided analysis, Perfetto UI, SQL queries, comparisons, GPU counters
  • Documentation Search — doc search, API search, category filtering

Other skills for the same job

different authors, same section of the catalogue
Pydicom
by christophacham
×3

Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.

13k tokens scripts
Pydicom
by ComeOnOliver
×3

Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.

15k tokens scripts
Remotion Best Practices
by ncklrs
×3

Best practices for Remotion - Video creation in React

19k tokens
Podcast Generation
by microsoft
vendor ×2

Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.

4k tokens scripts
Remotion Best Practices
by ComeOnOliver
×2

Best practices for Remotion - Video creation in React

23k tokens
Remotion To Hyperframes
by aiskillstore
×1

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

88k tokens scripts
Gemini API Dev
by lingxling
×1

Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage...

2k tokens
Github Issue Creator
by lingxling
×1

Turn error logs, screenshots, voice notes, and rough bug reports into crisp, developer-ready GitHub issues with repro steps, impact, and evidence.

1k tokens

How to use it

Copy the folder

Take meta-quest/metavr-cli from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm, npx. Without those the skill loads but fails at the first command.