Skip to content
MCP server

Luxor Sandbox MCP

Disposable microVM sandboxes for agents: run code, edit files, use git and preview URLs

Runs locallyStatus and history
Install
Pricing
Paid
Platforms
CLI, API
Runs
Locally
Version
0.4.3
Listing updated
3 days ago

About Luxor Sandbox MCP

Luxor Sandbox MCP is a paid MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

This server, from the team behind Tenki Cloud, gives an agent a throwaway Linux microVM instead of access to your own machine. Inside it the agent can run code, read and write files, use git and open preview URLs. It runs over stdio from the @luxorai/mcp package and needs a Luxor API key.

The vendor describes its sandboxes as booting in under a second and billing per second, at roughly $0.00276 a minute. The same company also sells GitHub Actions runners at about $0.002 per vCPU minute and an AI code reviewer at $1 per review, which are separate products from this server.

Older TENKI_ variable names are still accepted, and the API endpoint can be overridden. The control plane defaults to api.tenki.cloud, which is the same API as api.luxor.ai.

Install

Run in a terminal

claude mcp add luxor-mcp --env LUXORAI_API_KEY='<LUXORAI_API_KEY>' -- npx -y @luxorai/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "luxor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@luxorai/mcp"
      ],
      "env": {
        "LUXORAI_API_KEY": "<LUXORAI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "luxor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@luxorai/mcp"
      ],
      "env": {
        "LUXORAI_API_KEY": "<LUXORAI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "luxor-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@luxorai/mcp"
      ],
      "env": {
        "LUXORAI_API_KEY": "<LUXORAI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "luxor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@luxorai/mcp"
      ],
      "env": {
        "LUXORAI_API_KEY": "<LUXORAI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "luxor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@luxorai/mcp"
      ],
      "env": {
        "LUXORAI_API_KEY": "<LUXORAI_API_KEY>"
      }
    }
  }
}

Configuration

  • LUXORAI_API_KEYLuxor API key (starts with lx_; tk_ is still accepted). Alternatively set LUXORAI_AUTH_TOKEN (an ory_st_ session token or session cookie); the header is chosen by token prefix. TENKI_* names are still accepted.Required
  • LUXORAI_API_ENDPOINTOverride the control-plane endpoint. Defaults to https://api.tenki.cloud (the same API as https://api.luxor.ai).

What it does

Disposable microVMs
Isolated Linux sandboxes for untrusted code.
File access
Read and write files inside the sandbox.
Git support
Clone and work with repositories in the VM.
Preview URLs
Expose a running app for inspection.
Per-second billing
Usage-based pricing starting around $0.00276 per minute.
CLI and SDKs
Also drivable from Go, TypeScript and Python.

Good for

  • Run untrusted generated code safely
  • Test a build in a clean machine
  • Preview a web app an agent wrote
  • Give agents root without risking your laptop

Pricing

Paid

Sandbox about $0.00276 per minute

Prices change. Check luxor.ai before you buy.

Luxor Sandbox MCP FAQ

What credentials are needed?

A Luxor API key, set as LUXORAI_API_KEY.

How is it billed?

The vendor lists sandbox usage at about $0.00276 per minute.

How fast do sandboxes start?

The vendor says under a second.

Are the old Tenki variable names supported?

Yes, TENKI_ names are still accepted.

Is Luxor Sandbox MCP free?

No. Luxor Sandbox MCP is a paid product.

How do I add Luxor Sandbox MCP to Claude Code?

Run this command in your terminal: claude mcp add luxor-mcp --env LUXORAI_API_KEY='<LUXORAI_API_KEY>' -- npx -y @luxorai/mcp

What are the best alternatives to Luxor Sandbox MCP?

The closest alternatives to Luxor Sandbox MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Luxor Sandbox MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools