Luxor Sandbox MCP

v0.4.4
io.github.LuxorLabs/luxor-mcp Checked 1 hour ago Published 14 days ago

Disposable microVM sandboxes for AI agents: run code, read/write files, git, preview URLs.

Values you need

VariableWhat it is
LUXOR_API_KEYrequired secret Luxor API key (starts with lx_; tk_ is still accepted). Alternatively set LUXOR_AUTH_TOKEN (an ory_st_ session token or session cookie); the header is chosen by token prefix. TENKI_* names are still accepted.
LUXOR_API_ENDPOINToptional Override the control-plane endpoint. Defaults to https://api.luxor.ai (the same API as https://api.tenki.cloud).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add luxor-mcp -e 'LUXOR_API_KEY=<LUXOR_API_KEY>' -- npx -y --package=@luxorai/mcp@0.4.4 luxor-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "luxor-mcp": {
      "args": [
        "-y",
        "--package=@luxorai/mcp@0.4.4",
        "luxor-mcp"
      ],
      "command": "npx",
      "env": {
        "LUXOR_API_KEY": "<LUXOR_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "luxor-mcp": {
      "args": [
        "-y",
        "--package=@luxorai/mcp@0.4.4",
        "luxor-mcp"
      ],
      "command": "npx",
      "env": {
        "LUXOR_API_KEY": "<LUXOR_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LUXOR_API_KEY",
      "id": "luxor-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "luxor-mcp": {
      "args": [
        "-y",
        "--package=@luxorai/mcp@0.4.4",
        "luxor-mcp"
      ],
      "command": "npx",
      "env": {
        "LUXOR_API_KEY": "${input:luxor-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.luxor-mcp]
command = "npx"
args = ["-y", "--package=@luxorai/mcp@0.4.4", "luxor-mcp"]
env = { "LUXOR_API_KEY" = "<LUXOR_API_KEY>" }

For AI agents

  1. Ask the user for: LUXOR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: tenki_auth_status.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json