LumiCloud Sandboxes
Remote MCP server for Linux sandboxes: run commands and Python/JS, read and write files, open ports, pause and resume.
Hosted MCP Server
npx add-mcp 'https://mcp.lumicloud.dev/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Give Claude, Cursor or any MCP client tools to create sandboxes, run commands and code, and move files, with a LumiCloud API key.
Connect
The server is https://mcp.lumicloud.dev/mcp (Streamable HTTP). Authenticate with a LumiCloud 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 lumicloud https://mcp.lumicloud.dev/mcp \
--header "Authorization: Bearer $E2B_API_KEY"
Cursor (~/.cursor/mcp.json):
json{
"mcpServers": {
"lumicloud": {
"url": "https://mcp.lumicloud.dev/mcp",
"headers": { "Authorization": "Bearer <your LumiCloud key>" }
}
}
}
Other clients: the server's URL, transport Streamable HTTP (or "http"), and the header Authorization: Bearer <your LumiCloud key>.
Tools
| Tool | What it does |
|---|---|
| sandbox_create | Create 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_exec | Run a shell command and wait for it, or start it in the background with its output in a log file. |
| sandbox_run_code | Run Python or JavaScript in the kernel of code-interpreter-v1; variables stay between calls, charts come back as images. |
| sandbox_read_file | Read a text file, or an image to look at. |
| sandbox_write_file | Write a file, text or base64, up to 4 MiB. |
| sandbox_file_link | A signed URL to download a file or upload one, for big or binary files. |
| sandbox_port_link | The HTTPS URL of a port, and whether something listens on it. |
| sandbox_list | The account's sandboxes, running and paused, by state and metadata. |
| sandbox_pause | Pause a sandbox: files and memory kept, running no longer billed. |
| sandbox_kill | Delete a sandbox and its files. |
| sandbox_templates | The 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)