Skip to content

The sandbox as an MCP server (Streamable HTTP)

POST
/sandboxes/{id}/mcp
curl --request POST \
--url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Point an MCP client (Claude Desktop, Cursor, an agent framework) at this address with your API key as a bearer token. Its tools run commands, read, write and list files, and ask the sandbox’s agent; each call is checked and recorded as the matching API request would be.

id
required
string
Media typeapplication/json
object

Example generated

{}

A JSON-RPC answer

Media typeapplication/json
object

Example generated

{}

A notification was accepted

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}