# McpCreateSpec


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "additionalProperties": false,
  "description": "McpCreateSpec is CreateSandboxRequest's MCP block: the StartMcpGateway\nfields without the sandbox ref, wired before the workload starts.\nservers must be empty when gateway_url is set",
  "properties": {
    "gatewayUrl": {
      "description": "gateway_url attaches read-only to a pre-existing shareable gateway when supported.",
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "servers": {
      "description": "servers are initial server names for a backend-minted gateway.",
      "items": {
        "minLength": 1,
        "type": "string"
      },
      "type": "array"
    },
    "static": {
      "description": "static pins the requested server set and closes gateway-side discovery.",
      "type": "boolean"
    }
  },
  "title": "McpCreateSpec",
  "type": "object"
}
```



