# Luxor Sandbox MCP

> Luxor Sandbox MCP is a paid MCP server for cloud and infrastructure. Disposable microVM sandboxes for agents: run code, edit files, use git and preview URLs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Website:** https://luxor.ai
- **Repository:** https://github.com/luxorlabs/tenki-mcp
- **MCP Registry name:** io.github.LuxorLabs/luxor-mcp
- **Categories:** cloud and infrastructure, developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/luxor-sandbox-mcp
