Luxor Sandbox MCP
v0.4.4Disposable microVM sandboxes for AI agents: run code, read/write files, git, preview URLs.
Values you need
| Variable | What it is | |
|---|---|---|
LUXOR_API_KEY | required 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_ENDPOINT | optional | 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-mcpAdd 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
- Ask the user for: LUXOR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: tenki_auth_status.
- 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