# Runtime Cloud MCP server

> Provides Linux microVM sandboxes that allow AI agents to execute commands, manage files, and run processes in isolated environments.

- Repository: https://github.com/withruntime/runtime
- Page: https://hostedmcp.org/servers/withruntime/runtime
- Transport: stdio, remote
- Stars: 2
- License: Apache-2.0
- Latest version: 0.50.0

## Install

### Claude Code

```sh
claude mcp add runtime -- npx -y withruntime
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "runtime": {
      "command": "npx",
      "args": [
        "-y",
        "withruntime"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "runtime": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "withruntime"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"runtime","type":"stdio","command":"npx","args":["-y","withruntime"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "runtime": {
      "command": "npx",
      "args": [
        "-y",
        "withruntime"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add runtime -- npx -y withruntime
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.runtime]
command = "npx"
args = ["-y", "withruntime"]
```

### Gemini CLI

```sh
gemini mcp add -s user runtime npx -- -y withruntime
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "runtime": {
      "command": "npx",
      "args": [
        "-y",
        "withruntime"
      ]
    }
  }
}
```

## FAQ

### What are the resource limits for the free tier?

Free usage provides up to four concurrent sandboxes, each equipped with 2 vCPU, 4 GiB of memory, and a 4 GiB disk.

### How do I authenticate with the Runtime Cloud SDK?

You can use a RUNTIME_API_KEY environment variable or use the connection saved by the CLI via a one-time browser approval.

### Can I use Runtime Cloud behind a proxy?

Yes, the SDK, CLI, and MCP bridge support HTTPS_PROXY, HTTP_PROXY, and NO_PROXY environment variables.
