it's possible to set McpServers on the following types
SessionConfig -
|
public Dictionary<string, object>? McpServers { get; set; } |
ResumeSessionConfig -
|
public Dictionary<string, object>? McpServers { get; set; } |
the docs contain the following:
Keys are server names, values are server configurations (McpLocalServerConfig or McpRemoteServerConfig).
I think it can be better by introducing a base-class/interface and having McpLocalServerConfig & McpRemoteServerConfig extend/implement that base type.
it's possible to set
McpServerson the following typesSessionConfig -
copilot-sdk/dotnet/src/Types.cs
Line 365 in c34e9e7
ResumeSessionConfig -
copilot-sdk/dotnet/src/Types.cs
Line 411 in c34e9e7
the docs contain the following:
I think it can be better by introducing a base-class/interface and having
McpLocalServerConfig&McpRemoteServerConfigextend/implement that base type.