Skip to content

Conversation

@wzxxing
Copy link
Contributor

@wzxxing wzxxing commented Nov 18, 2025

Summary

Changes

Please provide a summary of what's being changed

There is new parameter auto_initialize added to the Client in fastmcp>=2.13.1 (https://github.com/jlowin/fastmcp/releases/tag/v2.13.1)

We need to use this parameter in the proxy because the proxy should accept initialize request from stdio, pass it to the fastmcp.Client so that the version and capabilities negotiated is what the actual client (such as kiro and kiro desktop) supports. Otherwise, the initialize will use the capability supported by fastmcp and it might mismatch with what the client uses.

User experience

Please share what the user experience looks like before and after this change

This is a fix for user experience. User should not experience hanging initialize request any more.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Is this a breaking change? (Y/N)

  • Yes
  • No

Please add details about how this change was tested.

  • Did integration tests succeed?
  • If the feature is a new use case, is it necessary to add a new integration test case?

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

kyoncal
kyoncal previously approved these changes Nov 18, 2025
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