# Server

Source: https://zshot-cli.com/reference/flags/server/
Markdown: https://zshot-cli.com/reference/flags/server/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/)

## Flags

| Flag | Description |
| --- | --- |
| [`--cdp`](https://zshot-cli.com/reference/flags/server/cdp/) | Serve as a CDP browser for Playwright, Puppeteer and other CDP clients (Pro) |
| [`--cdp-webdriver`](https://zshot-cli.com/reference/flags/server/cdp-webdriver/) | Allow chromedriver's attach for WebDriver clients such as Selenium and Nightwatch (Pro) |
| [`--server`](https://zshot-cli.com/reference/flags/server/server/) | Run as an HTTP server (Pro) |
| [`--server-additional-asset-expiration`](https://zshot-cli.com/reference/flags/server/server-additional-asset-expiration/) | Lifetime for additional render assets |
| [`--server-basic-auth`](https://zshot-cli.com/reference/flags/server/server-basic-auth/) | Basic auth requirement for requests |
| [`--server-bind-address`](https://zshot-cli.com/reference/flags/server/server-bind-address/) | Bind address or path for server |
| [`--server-bind-port`](https://zshot-cli.com/reference/flags/server/server-bind-port/) | Bind port for server |
| [`--server-cache`](https://zshot-cli.com/reference/flags/server/server-cache/) | Cache successful render results on disk (Enterprise) |
| [`--server-cache-size-limit`](https://zshot-cli.com/reference/flags/server/server-cache-size-limit/) | Maximum cache size in bytes (Enterprise) |
| [`--server-cache-ttl`](https://zshot-cli.com/reference/flags/server/server-cache-ttl/) | How long a cached render stays fresh (Enterprise) |
| [`--server-enable-mcp`](https://zshot-cli.com/reference/flags/server/server-enable-mcp/) | Enable /mcp HTTP endpoint |
| [`--server-enable-prometheus`](https://zshot-cli.com/reference/flags/server/server-enable-prometheus/) | Enable /metrics endpoint (Enterprise) |
| [`--server-enable-schema`](https://zshot-cli.com/reference/flags/server/server-enable-schema/) | Enable /openapi.json endpoint |
| [`--server-max-concurrency`](https://zshot-cli.com/reference/flags/server/server-max-concurrency/) | Max concurrent requests (Enterprise) |
| [`--server-prometheus-auth`](https://zshot-cli.com/reference/flags/server/server-prometheus-auth/) | Basic auth for the /metrics endpoint only (Enterprise) |
| [`--server-prometheus-bind-address`](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-address/) | Serve /metrics from a separate listener (Enterprise) |
| [`--server-prometheus-bind-port`](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-port/) | Port for the separate /metrics listener (Enterprise) |
| [`--server-queue-requests`](https://zshot-cli.com/reference/flags/server/server-queue-requests/) | Requests held when the server is at max concurrency (Enterprise) |
| [`--server-signed-url`](https://zshot-cli.com/reference/flags/server/server-signed-url/) | Require signed URLs for GET requests (Enterprise) |
| [`--server-signed-url-max-age`](https://zshot-cli.com/reference/flags/server/server-signed-url-max-age/) | Maximum age for signed URL expiration (Enterprise) |
| [`--server-token-auth`](https://zshot-cli.com/reference/flags/server/server-token-auth/) | Token auth requirement for requests |
| [`--server-update-adblock-interval`](https://zshot-cli.com/reference/flags/server/server-update-adblock-interval/) | Re-fetch --adblock-rules sources in server and MCP modes (Enterprise) |
| [`--server-update-blocklist-interval`](https://zshot-cli.com/reference/flags/server/server-update-blocklist-interval/) | Re-fetch --ip-blocklist sources in server and MCP modes (Enterprise) |

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - **Server**
      - [--cdp](https://zshot-cli.com/reference/flags/server/cdp/)
      - [--cdp-webdriver](https://zshot-cli.com/reference/flags/server/cdp-webdriver/)
      - [--server](https://zshot-cli.com/reference/flags/server/server/)
      - [--server-additional-asset-expiration](https://zshot-cli.com/reference/flags/server/server-additional-asset-expiration/)
      - [--server-basic-auth](https://zshot-cli.com/reference/flags/server/server-basic-auth/)
      - [--server-bind-address](https://zshot-cli.com/reference/flags/server/server-bind-address/)
      - [--server-bind-port](https://zshot-cli.com/reference/flags/server/server-bind-port/)
      - [--server-cache](https://zshot-cli.com/reference/flags/server/server-cache/)
      - [--server-cache-size-limit](https://zshot-cli.com/reference/flags/server/server-cache-size-limit/)
      - [--server-cache-ttl](https://zshot-cli.com/reference/flags/server/server-cache-ttl/)
      - [--server-enable-mcp](https://zshot-cli.com/reference/flags/server/server-enable-mcp/)
      - [--server-enable-prometheus](https://zshot-cli.com/reference/flags/server/server-enable-prometheus/)
      - [--server-enable-schema](https://zshot-cli.com/reference/flags/server/server-enable-schema/)
      - [--server-max-concurrency](https://zshot-cli.com/reference/flags/server/server-max-concurrency/)
      - [--server-prometheus-auth](https://zshot-cli.com/reference/flags/server/server-prometheus-auth/)
      - [--server-prometheus-bind-address](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-address/)
      - [--server-prometheus-bind-port](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-port/)
      - [--server-queue-requests](https://zshot-cli.com/reference/flags/server/server-queue-requests/)
      - [--server-signed-url](https://zshot-cli.com/reference/flags/server/server-signed-url/)
      - [--server-signed-url-max-age](https://zshot-cli.com/reference/flags/server/server-signed-url-max-age/)
      - [--server-token-auth](https://zshot-cli.com/reference/flags/server/server-token-auth/)
      - [--server-update-adblock-interval](https://zshot-cli.com/reference/flags/server/server-update-adblock-interval/)
      - [--server-update-blocklist-interval](https://zshot-cli.com/reference/flags/server/server-update-blocklist-interval/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

