Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHARLES_PASSNoThe password for the Charles Web Interface.123456
CHARLES_USERNoThe username for the Charles Web Interface.admin
CHARLES_CLI_PATHNoPath to the Charles executable, used for format conversion and reading the version. Auto-detected if not set.
CHARLES_LOG_LEVELNoThe logging level.WARNING
CHARLES_STATE_DIRNoThe directory where recordings, reverse-analysis databases, and exported files are stored.~/Library/Application Support/charles5-mcp on macOS
CHARLES_PROXY_HOSTNoThe listening address of the Charles proxy.127.0.0.1
CHARLES_PROXY_PORTNoThe listening port of the Charles proxy.8888
CHARLES_CONFIG_PATHNoPath to the Charles configuration file, used for backup and restore. Auto-detected if not set.
CHARLES_PACKAGE_DIRNoOld variable name for CHARLES_RECORDINGS_DIR; still supported.
CHARLES_RECORDINGS_DIRNoThe recordings directory. The old variable name CHARLES_PACKAGE_DIR is still supported.<state>/recordings
CHARLES_REPLAY_TIMEOUTNoThe timeout in seconds for replay requests.20
CHARLES_REQUEST_TIMEOUTNoThe timeout in seconds for calls to the Charles control interface.15
CHARLES_EXTRA_RECORDINGSNoAdditional directories to scan for recordings. Use ':' as the separator on macOS and Linux, and ';' on Windows.
CHARLES_LIVE_MAX_ENTRIESNoThe maximum number of entries retained per live capture.20000
CHARLES_MANAGE_LIFECYCLENoWhen set to true, the Charles configuration is backed up on first startup and can later be restored with reset_environment.false
CHARLES_EXTRA_RECORDING_DIRSNoAdditional directories to scan for recordings. Use ':' as the separator on macOS and Linux, and ';' on Windows.
CHARLES_MAX_DETAIL_BODY_CHARSNoThe maximum number of characters of a single body displayed in returned results.16384

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources