Skip to main content

USAGE

Constant USAGE 

Source
pub const USAGE: &str = "Usage:
  soma mcp              Start MCP stdio transport
  soma serve            Start HTTP MCP + REST + Web server

  soma greet [--name NAME]       Greet NAME (or the world)
  soma echo --message MSG        Echo MSG back
  soma status                    Show server status
  soma help                      Show JSON action reference
  soma doctor [--json]           Run environment pre-flight checks
  soma watch [--url URL] [--interval N]  Poll /health and emit on state change
  soma setup check               Check plugin setup without mutating appdata
  soma setup repair              Create missing appdata/env setup files
  soma setup plugin-hook [--no-repair]  Plugin hook JSON contract
  soma providers validate        Validate provider manifests and compiled schemas
  soma providers inspect         Show provider manifests, surfaces, and capability posture
  soma providers test ACTION [--json JSON]  Dispatch one provider action through the registry
  soma providers list [--dir DIR] [--json]    List drop-in provider files (no execution)
  soma providers lint [--dir DIR] [--json]    Lint drop-in provider files (no execution)
  soma providers status [--dir DIR] [--json]  Summarize drop-in provider files (no execution)
  soma package generate [--write|--check]  Refresh generated provider docs, skills, and plugin metadata

  soma --help                    Show this help
  soma --version                 Show version

Environment:
  SOMA_API_URL          Deployed platform API or upstream service URL
  SOMA_API_KEY          Bearer token or upstream service API key
  SOMA_MCP_HOST         HTTP server bind host (default 127.0.0.1)
  SOMA_MCP_PORT         HTTP server bind port (default 40060)
  SOMA_MCP_NO_AUTH      Disable auth (loopback only)
  SOMA_MCP_TOKEN        Static bearer token
  RUST_LOG                 Log filter (e.g. info,rmcp=warn)";