Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add conformance scenario: logging/setLevel and log notifications

Open
#435 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
67/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
testing

Research direction

Start with the logging/setLevel entry point and the logging conformance scenario requirements in this issue. Add checks for valid severity levels, filtering at the configured threshold, allowing all levels at debug, and rejecting invalid values; done means these checks pass against the server.

Written by the indexing model from the issue text.

Description

The logging utility (logging/setLevel and log message notifications) has no conformance scenario. The spec defines:

  • Server MUST accept logging/setLevel with a valid severity level
  • Server SHOULD only emit log notifications at or above the configured level
  • Valid levels: debug, info, notice, warning, error, critical, alert, emergency

Proposed checks:

  • Setting level to "error" stops debug/info/warning notifications
  • Setting level to "debug" allows all notifications through
  • Invalid level values are rejected appropriately

I'll submit a PR for this.

Dominant language
TypeScript
Stars
127
Forks
101
Avg merge
4d 7h
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/conformance

All issues in modelcontextprotocol/conformance

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.