Property WorkingDirectory
WorkingDirectory
Gets or sets the working directory for the subprocess.
public string WorkingDirectory { get; set; }
Property Value
- string
An absolute path to use as the working directory, or
nullto use the current process's working directory.
Remarks
This is particularly useful when the MCP server expects to find configuration files or resources relative to a specific directory.