Table of Contents

Enum ContextInclusion

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Specifies the context inclusion options for a request in the Model Context Protocol (MCP).

[JsonConverter(typeof(CustomizableJsonStringEnumConverter<ContextInclusion>))]
public enum ContextInclusion

Fields

[JsonStringEnumMemberName("allServers")] AllServers = 2

Indicates that context from all servers that the client is connected to should be included.

[JsonStringEnumMemberName("none")] None = 0

Indicates that no context should be included.

[JsonStringEnumMemberName("thisServer")] ThisServer = 1

Indicates that context from the server that sent the request should be included.

Remarks

See the schema for details.