Search or ask Docker

sbx mcp auth rm

View Markdown
DescriptionRemove MCP server OAuth credentials
Usagesbx mcp auth rm [SERVER] [flags]

Description

Remove OAuth credentials for registered MCP servers.

With a local gateway or an OAuth override in the server registration, credentials are stored locally. Otherwise, the hosted MCP control plane manages them.

This command does not remove local MCP server registrations. Use 'sbx mcp rm' to remove a registration.

Options

OptionDefaultDescription
--allApply to all registered OAuth servers
-f, --forceSkip confirmation prompts
--formattextOutput format: "text" or "json"
--jsonOutput in JSON format

Global options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging
--no-inputNever prompt; commands that need an answer fail with the command to run instead

Examples

sbx mcp auth rm --all
sbx mcp auth rm notion
sbx mcp auth rm notion --format=json