ConfigService constructor

ConfigService({
  1. required ExecutionEnv env,
  2. String? homeDir,
  3. bool supportsProcesses = true,
})

Creates the service. homeDir may be null on hosts without a home directory (web) — the global scope answers "not available" instead of guessing a path. supportsProcesses is false on hosts that cannot spawn host-side processes (web browser, iOS/Android containers): the stdio-server members of mcp: then answer "not applicable on this host" instead of resolving or writing dead config (issue #29 AC11).

Implementation

ConfigService({
  required this.env,
  this.homeDir,
  this.supportsProcesses = true,
});