Skip to content

Fix mcp-spring incompatibility issue with Spring Framework 6.x and 7.0#706

Closed
ilayaperumalg wants to merge 1 commit into
modelcontextprotocol:mainfrom
ilayaperumalg:mcp-spring-compatibility
Closed

Fix mcp-spring incompatibility issue with Spring Framework 6.x and 7.0#706
ilayaperumalg wants to merge 1 commit into
modelcontextprotocol:mainfrom
ilayaperumalg:mcp-spring-compatibility

Conversation

@ilayaperumalg

Copy link
Copy Markdown
Contributor
  • Replace deprecated rawStatusCode() for Spring Framework 7.0 compatibility in WebClientStreamableHttpTransport

  • Replace usage of rawStatusCode() and getRawStatusCode() methods with statusCode().value() to ensure compatibility with Spring Framework 7.0 where these deprecated methods have been removed.

  - Replace deprecated rawStatusCode() for Spring Framework 7.0 compatibility in WebClientStreamableHttpTransport

   - Replace usage of rawStatusCode() and getRawStatusCode() methods with statusCode().value() to ensure compatibility with Spring Framework 7.0 where these deprecated methods have been removed.
@He-Pin

He-Pin commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

there is already a pr

@He-Pin

He-Pin commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

Please make it a protected instance method, thanks

@ilayaperumalg

Copy link
Copy Markdown
Contributor Author

@He-Pin Thanks for pointing it out. I missed to check before submitting the PR. I will go ahead and close this PR.

@ilayaperumalg

Copy link
Copy Markdown
Contributor Author

#696 is the existing PR for the reference.

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