Skip to content

Conversation

@cliffhall
Copy link
Member

@cliffhall cliffhall commented Sep 2, 2025

Description

  • In useConnection.ts
    • push the logging/setLevel message onto the message history stack so it is clear in the Inspector that it has been sent.
  • In all package.json and package-lock.json,
    • bump the TS SDK to the latest version 1.17.5

Motivation and Context

Previously, we were sending a logging/setLevel message to any server that advertises support for logging, as per the spec. However, we were not showing that message in the message history. This PR's only functional change is to show that message.

Also, the latest Typescript SDK has support for automatic handling of logging level. This PR bumps the TS SDK version to the latest version, even though it is a server side feature.

How Has This Been Tested?

Screenshot 2025-09-02 at 4 23 05 PM

Also, another PR is coming for the Servers repo, which bumps the SDK version and fixes a logging regression that was introduced in a previous PR.

Breaking Changes

Nope.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

  - set TS SDK to 1.17.5, which has the automatic log level handling
* In useConnection.ts
  - push the logging/setLevel message onto the message history stack so it is clear in the Inspector that it has been sent.
@olaservo olaservo merged commit 062cea1 into modelcontextprotocol:main Sep 3, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants