@mcp-z/client
    Preparing search index...

    Interface CreateServerRegistryOptions

    Options for creating a server registry.

    interface CreateServerRegistryOptions {
        cwd?: string;
        dialects?: Dialect[];
        env?: Record<string, string>;
    }
    Index
    cwd?: string

    Working directory for spawned processes (default: process.cwd())

    dialects?: Dialect[]

    Dialects controlling which servers to spawn.

    • ['servers']: Spawn stdio servers only (default, Claude Code compatible)
    • ['start']: Only spawn servers with start blocks (HTTP servers)
    • ['servers', 'start']: Spawn both stdio servers and start blocks
    ['servers']
    
    env?: Record<string, string>

    Base environment for all servers. If provided, process.env is NOT included (caller has full control). If omitted, process.env is used as the base (default behavior).