# Normally, run `npx -y read-my-chatgpt@latest init` instead of editing this file. # Required for legacy stdio/source use: ChatGPT web access token (Bearer). # How to get (personal use only, short-lived): # 1. Open https://chatgpt.com and log in # 2. DevTools → Network → any request to /backend-api/* # 3. Copy Authorization header value without the "Bearer " prefix READ_MY_CHATGPT_ACCESS_TOKEN= # MCP front-end transport. Keep stdio for one-client/legacy usage. # Use http for a process-wide daemon shared by multiple AI clients. # READ_MY_CHATGPT_MCP_TRANSPORT=http # READ_MY_CHATGPT_MCP_HOST=127.0.0.1 # READ_MY_CHATGPT_MCP_PORT=47831 # READ_MY_CHATGPT_MCP_SESSION_IDLE_MS=1800000 # Shared daemon exits this long after the last tool call completes (default: 10m). # tools/list and ping do not refresh it. # READ_MY_CHATGPT_DAEMON_IDLE_MS=600000 # Maximum wait for a cold daemon/Obscura startup (default: 2m). # READ_MY_CHATGPT_DAEMON_START_TIMEOUT_MS=120000 # # Generated by `init` for the private connector-to-daemon HTTP hop. # It is not written into AI client config files. # READ_MY_CHATGPT_MCP_BEARER_TOKEN=replace-with-a-long-random-value # Optional (default: https://chatgpt.com) # READ_MY_CHATGPT_BASE_URL=https://chatgpt.com # RFC 3339 timestamp output timezone (default: UTC). # Use an IANA timezone name; offsets follow daylight-saving rules automatically. # READ_MY_CHATGPT_OUTPUT_TIMEZONE=Asia/Shanghai # Max bytes returned by get_asset (default: 10 MiB, hard max: 32 MiB). # READ_MY_CHATGPT_MAX_ASSET_BYTES=10485760 # Default transport. "obscura" avoids the Cloudflare block seen with direct fetch. READ_MY_CHATGPT_TRANSPORT=obscura # Owned sidecar mode: executable path. If omitted, a pinned official Obscura # release is downloaded on first use and verified with SHA-256. # READ_MY_CHATGPT_OBSCURA_BIN=/absolute/path/to/obscura # External sidecar mode: connect instead of starting a process. # Keep this endpoint on loopback because the access token crosses this connection. # READ_MY_CHATGPT_OBSCURA_CDP_URL=http://127.0.0.1:9222 # Optional persistent cookies/localStorage and browser timezone. # Protect the storage directory as account-sensitive data. # READ_MY_CHATGPT_OBSCURA_STORAGE_DIR=/absolute/path/to/obscura-data # READ_MY_CHATGPT_OBSCURA_TIMEZONE=Asia/Shanghai # Diagnostic fallback for a local mock backend only; chatgpt.com blocks it. # READ_MY_CHATGPT_TRANSPORT=direct