Enable --api --listen in webui-user.bat #5

Closed
opened 2026-03-21 00:41:56 +01:00 by claude · 0 comments
Owner

Configure the WebUI to start with API access enabled and listening on all interfaces by default.

Why

The MCP server on alcatraz (/srv/services/sd-mcp/) connects to http://caymans:7860 to generate images remotely. This requires --api (enables REST API) and --listen (binds to 0.0.0.0 instead of localhost).

Steps

  1. Edit webui-user.bat
  2. Set COMMANDLINE_ARGS=--api --listen (add to existing args if any)
  3. Restart the webui
  4. Verify from alcatraz: curl http://caymans:7860/sdapi/v1/options
Configure the WebUI to start with API access enabled and listening on all interfaces by default. ## Why The MCP server on alcatraz (`/srv/services/sd-mcp/`) connects to `http://caymans:7860` to generate images remotely. This requires `--api` (enables REST API) and `--listen` (binds to 0.0.0.0 instead of localhost). ## Steps 1. Edit `webui-user.bat` 2. Set `COMMANDLINE_ARGS=--api --listen` (add to existing args if any) 3. Restart the webui 4. Verify from alcatraz: `curl http://caymans:7860/sdapi/v1/options`
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
frankenbit/stable-diffusion-webui#5
No description provided.