mcp: add support for logging level (SEP-2575) (#997)

## Description

This PR adds the support for logging feature in meta.

Fixes #966
This commit is contained in:
Guglielmo Colombo 2026-06-08 15:56:38 +02:00 • committed by GitHub
commit 00d3642840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2102,6 +2102,8 @@ const (
MetaKeyClientInfo = "io.modelcontextprotocol/clientInfo"
// MetaKeyClientCapabilities carries the client's [ClientCapabilities].
MetaKeyClientCapabilities = "io.modelcontextprotocol/clientCapabilities"
// MetaKeyLogLevel identifies the desired log level for the request.
MetaKeyLogLevel = "io.modelcontextprotocol/logLevel"
)
// UnsupportedProtocolVersionData is the SEP-2575 payload carried in the