Skip to content

Warn on implicit stdio initialization#338

Open
atesgoral wants to merge 1 commit intomodelcontextprotocol:mainfrom
atesgoral:warn-stdio-implicit-connect
Open

Warn on implicit stdio initialization#338
atesgoral wants to merge 1 commit intomodelcontextprotocol:mainfrom
atesgoral:warn-stdio-implicit-connect

Conversation

@atesgoral
Copy link
Copy Markdown
Contributor

Summary

Implements phase 2 of #334 after the 0.15.0 release.

  • Emit a deprecation warning when MCP::Client::Stdio#send_request performs the compatibility implicit initialization path.
  • Keep the existing implicit initialization behavior for this release step.
  • Cover the warning path and the explicit MCP::Client#connect no-warning path.
  • Add an Unreleased changelog entry.

How Has This Been Tested?

  • dev test -- 847 runs, 2159 assertions, 0 failures

Notes

dev style currently reports existing unrelated Minitest/AssertEmptyLiteral offenses in files outside this change. No new offense is reported for the touched files.

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.

1 participant