LumiCloud Sandboxes

MCP server từ xa dành cho sandbox Linux: chạy lệnh và Python/JS, đọc và ghi tệp, mở cổng, tạm dừng và tiếp tục.

Máy chủ MCP được lưu trữ

npx add-mcp 'https://mcp.lumicloud.dev/mcp'

Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác

Tài liệu

Give Claude, Cursor or any MCP client tools to create sandboxes, run commands and code, and move files, with a LumiCage API key.

Connect

The server is https://mcp.lumicage.dev/mcp (Streamable HTTP). Authenticate with a LumiCage API key as a bearer token; the console's API keys page makes one. Sandboxes made through it are billed like any other, and the SDK sees them too.

Claude Code:

shclaude mcp add --transport http lumicage https://mcp.lumicage.dev/mcp \
  --header "Authorization: Bearer $E2B_API_KEY"

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

json{
  "mcpServers": {
    "lumicage": {
      "url": "https://mcp.lumicage.dev/mcp",
      "headers": { "Authorization": "Bearer <your LumiCage key>" }
    }
  }
}

Other clients: the server's URL, transport Streamable HTTP (or "http"), and the header Authorization: Bearer <your LumiCage key>.

Tools

ToolWhat it does
sandbox_createCreate a sandbox from a template (base by default) and return its ID. Options: timeout, pause or kill at the timeout, internet on or off, allowed destinations, environment variables, metadata.
sandbox_execRun a shell command and wait for it, or start it in the background with its output in a log file.
sandbox_run_codeRun Python or JavaScript in the kernel of code-interpreter-v1; variables stay between calls, charts come back as images.
sandbox_read_fileRead a text file, or an image to look at.
sandbox_write_fileWrite a file, text or base64, up to 4 MiB.
sandbox_file_linkA signed URL to download a file or upload one, for big or binary files.
sandbox_port_linkThe HTTPS URL of a port, and whether something listens on it.
sandbox_listThe account's sandboxes, running and paused, by state and metadata.
sandbox_pausePause a sandbox: files and memory kept, running no longer billed.
sandbox_killDelete a sandbox and its files.
sandbox_templatesThe public templates and the account's own.

How sandboxes live

  • A sandbox lives 15 minutes unless sandbox_create asks for another time, within the plan's longest run. Each call on it keeps it alive for at least 10 more minutes.
  • At the end of its time a sandbox is paused unless it was created to be killed. A paused sandbox resumes on the next call on it, or when its port link is opened.
  • Commands return at most 32 KiB of output, the start and the end kept; redirect bigger output to a file. A command or code runs at most 10 minutes; longer jobs go in the background.

Limits

Per API key: 120 tool calls a minute, 10 sandboxes created a minute, 8 calls at once. The plan's limits apply as with the SDK.

[

Next

Templates →](https://lumicloud.ai/docs/templates)