sbx mcp load

Description Load an already-registered MCP server into a sandbox
Usage sbx mcp load NAME --sandbox SANDBOX [flags]

Description

Attach a previously-registered MCP server to a sandbox's gateway. In a running sandbox, connected agents see the new server's tools immediately via the standard MCP tools/list_changed notification — no agent restart required. A stopped sandbox gets the server the next time it starts.

The server must already exist in the local MCP store (register first with 'sbx mcp add'). Both remote/hosted and local-stdio servers are supported.

With --cloud: Load an MCP server into a running cloud sandbox's gateway.

There is no local registration: the cloud gateway resolves the server name itself, and the sandbox may be given by name or sbx_ ID. Connected agents see the new server's tools immediately.

Options

Option Default Description
--sandbox Target sandbox name (required)

Global options

Option Default Description
--cloud Dispatch 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, --debug Enable debug logging

Examples

## Register, then load into the running sandbox 'my-sbx'.
sbx mcp add notion --url https://mcp.notion.com/mcp
sbx mcp load notion --sandbox my-sbx

## Local stdio server.
sbx mcp add github --command npx --args @modelcontextprotocol/server-github
sbx mcp load github --sandbox my-sbx

## Cloud: load a gateway-known server into a cloud sandbox by name or ID
sbx --cloud mcp load notion --sandbox my-sbx

Table of contents