--redirect-uri= OAuth redirect URI (default: ephemeral loopback)
--dcr-store-uri= DCR client storage URI (default: .mcp-z/dcr.json)
--port= Enable HTTP transport on specified port
--stdio Enable stdio transport (default if no port)
--log-level= Logging level (default: info)
--resource-store-uri= Resource store URI for CSV file storage (default: .mcp-z/mcp-sheets/files beside the nearest .mcp.json, else ~/.mcp-z/mcp-sheets/files)
--base-url= Base URL for HTTP file serving (optional)
Parse Sheets server configuration from CLI arguments and environment.
CLI Arguments (all optional):
Environment Variables:
OAuth Scopes (from constants.ts): openid https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/spreadsheets https://www.googleapis.com/auth/drive