Share feedback
Answers are generated based on the documentation.

sbx mcp rm

DescriptionRemove a registered MCP server
Usagesbx mcp rm NAME [flags]

Description

Remove a registered MCP server and its OAuth credential.

Use --registration-only to remove the local registration without starting the daemon or accessing credentials. This also removes the registration's saved environment ownership and approval, including damaged or orphaned registrations. Stored credentials are kept, and MCP processes already running in sandbox gateways are not stopped. For an untrusted registration, first stop the selected daemon; this interrupts all of its sandbox gateways. A later approved env run can register a declared server again.

Options

OptionDefaultDescription
-f, --forceSkip confirmation prompts
--registration-onlyRemove only the local registration without starting the daemon; keep credentials and running MCP processes

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

Examples

sbx mcp rm notion
sbx mcp rm --registration-only notion