Table of Contents

Class LoggingCapability

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the logging capability configuration for a Model Context Protocol server.

[Obsolete("The Logging feature is deprecated as of specification version 2026-07-28 and may be removed in a future version. See SEP-2577 for more information.", DiagnosticId = "MCP9005", UrlFormat = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#obsolete-apis")]
public sealed class LoggingCapability
Inheritance
LoggingCapability
Inherited Members

Remarks

This capability allows clients to set the logging level and receive log messages from the server. See the schema for details.

This class is intentionally empty as the Model Context Protocol specification does not currently define additional properties for logging capabilities. Future versions of the specification may extend this capability with additional configuration options.