Skip to content

logging/setLevel request not handled #293

@rnett

Description

@rnett

Describe the bug

After initialization, MCP clients (such as the MCP inspector) will send a logging/setLevel request if the logging capability is enabled. The logging capability is enabled by default, but this request is not handled, leading to an error that blocks the use of the MCP server (at least in the inspector).

To Reproduce
Steps to reproduce the behavior:

  1. Create a SSE server with the default ServerCapabilities object
  2. Try to connect to it in the MCP inspector

Expected behavior

The logging level request is handled, and sets the log level for the server.

DoD

  • Handiling of logging/setLevel is implemented
  • Integration test

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions