上传缓存的 MCP OAuth 凭证作为工作区机密。
Synopsis
上传缓存的 MCP OAuth 凭证作为工作区机密。
首先运行 agentengine dev mcp auth login。此命令对本地 OAuth 缓存文件进行 base64 编码,并将其存储为工作区密钥,部署的代理可以将其具体化到其运行时 OAuth 缓存中。
agentengine dev mcp auth upload <server> [flags]选项
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list')-h, --help help for upload --org-id string Organization ID --project-id string Project ID --sync Sync the uploaded secret to active deployments --workspace string Monorepo: target a specific agent by name (from root agent.yaml) --workspace-id string Workspace ID从父命令继承的选项
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)另请参阅
- agentengine dev mcp auth - 管理 agentengine dev 的 MCP OAuth 凭证。