For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

agentengine dev mcp auth upload

Upload cached MCP OAuth credentials as a workspace secret.

Upload cached MCP OAuth credentials as a workspace secret.

Run agentengine dev mcp auth login first. This command base64-encodes the local OAuth cache file and stores it as a workspace secret that deployed agents can materialize into their runtime OAuth cache.

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)
Rate this page