Skip to main content
Glama

microsandbox

by microsandbox
msbserver.rs1.08 kB
use std::path::PathBuf; use clap::Parser; use microsandbox_utils::{DEFAULT_SERVER_HOST, DEFAULT_SERVER_PORT}; use crate::styles; //-------------------------------------------------------------------------------------------------- // Types //-------------------------------------------------------------------------------------------------- /// Arguments for the msbserver command #[derive(Debug, Parser)] #[command(name = "msbserver", author, styles=styles::styles())] pub struct MsbserverArgs { /// Secret key used for JWT token generation and validation #[arg(short = 'k', long = "key")] pub key: Option<String>, /// Host address to listen on #[arg(long, default_value = DEFAULT_SERVER_HOST)] pub host: String, /// Port number to listen on #[arg(long, default_value_t = DEFAULT_SERVER_PORT)] pub port: u16, /// Directory for storing namespaces #[arg(short = 'p', long = "path")] pub namespace_dir: Option<PathBuf>, /// Run in development mode #[arg(long = "dev", default_value_t = false)] pub dev_mode: bool, }

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