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 | |
|---|---|---|
TENKI_API_KEY | required secret | Luxor API key (starts with lx_; tk_ is still accepted). Alternatively set TENKI_AUTH_TOKEN (an ory_st_ session token or session cookie); the header is chosen by token prefix. LUXOR_* names are read first. |
TENKI_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 tenki-mcp -e 'TENKI_API_KEY=<TENKI_API_KEY>' -- npx -y --package=@tenkicloud/mcp@0.4.4 luxor-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"tenki-mcp": {
"args": [
"-y",
"--package=@tenkicloud/mcp@0.4.4",
"luxor-mcp"
],
"command": "npx",
"env": {
"TENKI_API_KEY": "<TENKI_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"tenki-mcp": {
"args": [
"-y",
"--package=@tenkicloud/mcp@0.4.4",
"luxor-mcp"
],
"command": "npx",
"env": {
"TENKI_API_KEY": "<TENKI_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TENKI_API_KEY",
"id": "tenki-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"tenki-mcp": {
"args": [
"-y",
"--package=@tenkicloud/mcp@0.4.4",
"luxor-mcp"
],
"command": "npx",
"env": {
"TENKI_API_KEY": "${input:tenki-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.tenki-mcp]
command = "npx"
args = ["-y", "--package=@tenkicloud/mcp@0.4.4", "luxor-mcp"]
env = { "TENKI_API_KEY" = "<TENKI_API_KEY>" }For AI agents
- Ask the user for: TENKI_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_whoami, tenki_run_code, tenki_create_sandbox, tenki_get_sandbox, tenki_get_sandbox_metrics, tenki_list_sandboxes, tenki_terminate_sandbox, tenki_pause_sandbox, ….
- 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