MCP.so
Sign In
>_

Microsoft NVXOfficial

@microsoft

Details

Category

Developer tools

Command

nvx

Maintainer

microsoft

Type

Developer tool

About Microsoft NVX

NVX is a Microsoft research micro-VM sandbox built on OpenVMM. It targets developers exploring hardware-isolated execution for agentic workloads, with Linux running inside the guest.

The repository includes pinned components, guest sources and benchmarks. This is a local runtime rather than an MCP server or a hosted AI subscription; the host must supply a supported hypervisor.

#nvx#developer-tools#developer-tool#official#agent-ready

How to install Microsoft NVX

1. Get the official repository; install Git and Rust/Cargo first.

git clone https://github.com/microsoft/nvx.git
cd nvx

Log in and authenticate

  1. 1
    cargo build --release --locked --features cli --manifest-path nvx/Cargo.toml --target-dir nvx/target

    2. Build the CLI. This Linux example requires read/write access to /dev/kvm.

  2. 2
    nvx/target/release/nvx run

    3. Start the guest; first run downloads prebuilt guest/OpenVMM artifacts. Exit inside the guest with /sbin/nvx-exit 0.

What it does

Boot Linux guests

Select guest userlands

Use supported host hypervisors

Common commands

  1. 1
    nvx/target/release/nvx run --guest ubuntu

    Boot Ubuntu userland with the NVX kernel.

  2. 2
    nvx/target/release/nvx run --guest azurelinux

    Select the packaged Azure Linux userland.

  3. 3
    nvx/target/release/nvx run --hypervisor mshv

    Use MSHV only on a configured host with /dev/mshv access.

Notes and limits

  • Can it run on every laptop? No. Linux needs KVM or MSHV access; Windows needs Windows Hypervisor Platform. Do not infer macOS support from the term cross-platform.
  • Does every guest component require a local build? No. The CLI can download release artifacts; building all sources is a separate workflow requiring the OpenVMM submodule.
  • Why do older examples use Python? Cached documentation may refer to scripts/nvx.py. The current README quick start builds the Rust nvx CLI; follow the checked-out revision.
  • Requirements and limits: Git, Rust/Cargo, network access plus curl/tar for artifact downloads. Releases are development artifacts; review compatibility before use. MIT source licensing is not a hosted-service SLA or a guarantee against every escape.
  • Official source checked 2026-11-23. No installation, virtualization benchmark or containment test was performed for this guide.

Sources

Checked against the official documentation on 2026-11-23.

Comments

More Developer tools CLIs