Skip to content

chore: implement the full initialize lifecycle for mcp #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 24, 2025

Conversation

Yuan325
Copy link
Contributor

@Yuan325 Yuan325 commented May 19, 2025

This PR implements the initialize lifecycle for mcp, including tests.

By default, the protocol version that are used is v2024-11-05.

  • User uses stdio --> Will note protocol version during initialization and persist through the session
  • HTTP with SSE --> Default to v2024-11-05
  • HTTP without SSE --> Default to v2024-11-05

@Yuan325 Yuan325 requested a review from a team as a code owner May 19, 2025 23:11
@Yuan325 Yuan325 force-pushed the mcp-init-lifecycle branch 4 times, most recently from 9d5bc62 to 8a071cf Compare May 19, 2025 23:54
@Yuan325 Yuan325 marked this pull request as draft May 22, 2025 06:29
@Yuan325 Yuan325 force-pushed the mcp-manager branch 4 times, most recently from ec307f2 to a44722d Compare May 28, 2025 23:05
@Yuan325 Yuan325 force-pushed the mcp-init-lifecycle branch 3 times, most recently from 1e292fd to d1c223d Compare May 29, 2025 01:20
@Yuan325 Yuan325 marked this pull request as ready for review May 29, 2025 01:20
@Yuan325 Yuan325 force-pushed the mcp-init-lifecycle branch from d1c223d to bd15263 Compare June 2, 2025 20:27
Base automatically changed from mcp-manager to mcp-v2025-03-26 June 4, 2025 21:31
@Yuan325 Yuan325 force-pushed the mcp-init-lifecycle branch from 9a6a9f3 to eb64844 Compare June 22, 2025 04:17
@Yuan325 Yuan325 merged commit 433ea2f into mcp-v2025-03-26 Jun 24, 2025
8 checks passed
@Yuan325 Yuan325 deleted the mcp-init-lifecycle branch June 24, 2025 16:45
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