Skip to content

StdioClientTransportOptions.EnvironmentVariables should allow nullable values #418

@AArnott

Description

@AArnott

The ProcessStartInfo.Environment property allows null values for environment variables. I'm not sure what this means but I suppose/hope it can omit an environment variable from the parent process's environment block rather than define it explicitly with an empty string value.

ModelContextProtocol should allow it too, whatever the semantic is. But it doesn't:

public Dictionary<string, string>? EnvironmentVariables { get; set; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions