Table of Contents

Property Environment

Namespace
LMKit.Mcp.Transport
Assembly
LM-Kit.NET.dll

Environment

Gets or sets additional environment variables for the subprocess.

public IDictionary<string, string> Environment { get; set; }

Property Value

IDictionary<string, string>

A dictionary of environment variable names and values. These are merged with the parent process's environment, with these values taking precedence.

Remarks

Use this to pass configuration to MCP servers that read from environment variables, such as API keys, feature flags, or connection strings.

Setting a value to null removes that variable from the child process environment.