Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pinchtab/pinchtab/llms.txt
Use this file to discover all available pages before exploring further.
CLI Configuration
PinchTab can be configured using environment variables or a JSON configuration file.Environment Variables
Server Connection
Server URL for CLI commands. Override to connect to a remote server.
Server port. Used when starting the server and for CLI connections.
Bind address for the server.
Authentication
Authentication token for CLI commands. Sent as
Authorization: Bearer header.Server-side authentication token. Clients must provide this token to access the API.
Browser Configuration
Run Chrome in headless mode. Set to Accepted values:
false or 0 to show the browser window.true, false, 1, 0, yes, no, on, offPath to Chrome/Chromium binary. Auto-detected if not set.
Additional Chrome launch flags.
Chrome version to download if not found locally.
State and Profiles
Directory for storing PinchTab state, profiles, and browser data.
Chrome user data directory (profile).
Don’t restore tabs from previous session.
Instance Management
Starting port for managed instances.
Ending port for managed instances.
Performance and Limits
Maximum number of tabs per instance.
Block image loading by default (improves performance).
Block video and audio loading.
Block known ad domains.
Disable CSS animations and transitions.
Stealth and Fingerprinting
Stealth level for bot detection evasion. Options:
light, medium, aggressive.Custom user agent string.
Override timezone for the browser.
CDP Connection
Connect to an existing Chrome DevTools Protocol endpoint instead of launching Chrome.
Internal flag used by orchestrator to spawn bridge-only instances.
Configuration File
Create a JSON configuration file at~/.pinchtab/config.json:
Initialize Config
~/.pinchtab/config.json with defaults:
Show Current Config
Configuration File Schema
Server port (overridden by
BRIDGE_PORT)Starting port for instances (overridden by
INSTANCE_PORT_START)Ending port for instances (overridden by
INSTANCE_PORT_END)Chrome DevTools Protocol endpoint (overridden by
CDP_URL)Authentication token (overridden by
BRIDGE_TOKEN)State directory path (overridden by
BRIDGE_STATE_DIR)Chrome profile directory (overridden by
BRIDGE_PROFILE)Run headless (overridden by
BRIDGE_HEADLESS)Don’t restore tabs (overridden by
BRIDGE_NO_RESTORE)Maximum tabs per instance (overridden by
BRIDGE_MAX_TABS)Action timeout in seconds
Navigation timeout in seconds
Configuration Priority
Settings are applied in this order (later overrides earlier):- Built-in defaults
- Configuration file (
~/.pinchtab/config.json) - Environment variables
- Command-line flags (where applicable)
Example: Production Setup with Auth
~/.pinchtab/config.json
Example: Development Setup
Custom Config Location
Override config file location:Security Best Practices
Next Steps
Server Commands
Start and manage the PinchTab server
Instance Management
Launch and control browser instances