/// Options for starting a sandbox
#[derive(Debug, Clone)]
pub struct StartOptions {
/// Docker image to use for the sandbox
pub image: Option<String>,
/// Memory limit in MB
pub memory: u32,
/// CPU limit
pub cpus: f32,
/// Maximum time in seconds to wait for the sandbox to start
pub timeout: f32,
}
impl Default for StartOptions {
fn default() -> Self {
Self {
image: None,
memory: 512,
cpus: 1.0,
timeout: 180.0,
}
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsandbox/microsandbox'
If you have feedback or need assistance with the MCP directory API, please join our Discord server