# Web Server

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Web & LAN. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/web_server/

## What It Is

Web Server lets you open your local chats and model configurations from a browser on a computer or another device on the same LAN, with no extra desktop client to install.

## How to Enable

Open **Settings → Connections & advanced → Web Server** and toggle the switch on to start the service; toggle it off again to stop it. Once stopped, browsers can no longer connect.

If you start and stop it frequently, add the 2×2 **Web Server** desktop card (available in **Transparent** and **Standard** styles) to your home screen. You can toggle the server on or off in the background and check its status and port with one tap without leaving the home screen or opening the app. LAN access requires configuring an access password in settings first; if no password is set, the card shows **Set up** to take you straight to this page.

## Access Scope & URLs

- **Localhost**: Open in a browser on this device. You can choose password-free access or turn on password protection.
- **LAN**: Allow computers or tablets on the same Wi-Fi network to connect. Switching to LAN for the first time walks you through setting an access password. If you need Public IPv6 access, enable it separately under **LAN** while keeping password protection on.
- After starting the server, tap the access URL at the top of the page to copy it.

## Port & Password

Tap **Access password** or **Port** to open the configuration sheet. While the server is running, password-protection changes apply immediately. Changing the port or switching the access scope automatically restarts the server; copy the updated URL and reload after changing the port.

## Using with Desktop Agents

Desktop agents such as Claude Code and Codex can also read and write memories and system prompts directly through Web Server—see **"Desktop Agent Migration"** for details.
