Skip to content

Python: Add support for MCP Streamable HTTP transport #12001

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 6 commits into from
May 13, 2025

Conversation

KanchiShimono
Copy link
Contributor

@KanchiShimono KanchiShimono commented May 10, 2025

Motivation and Context

Added support for the new Streamable HTTP transport introduced in the 2025-03-26 revision of MCP, which replaces SSE.

Description

  1. Bump the mcp library version to 1.8
  2. Introduced a new MCPStreamableHttpPlugin class

Contribution Checklist

@KanchiShimono KanchiShimono requested a review from a team as a code owner May 10, 2025 00:47
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel documentation labels May 10, 2025
@github-actions github-actions bot changed the title Add support for MCP Streamable HTTP transport Python: Add support for MCP Streamable HTTP transport May 10, 2025
Copy link
Member

@eavanvalkenburg eavanvalkenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to add this!

@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented May 12, 2025

Python Unit Test Overview

Tests Skipped Failures Errors Time
3514 6 💤 0 ❌ 0 🔥 1m 39s ⏱️

@eavanvalkenburg
Copy link
Member

please rebase from main, there is a fix for the onnxruntime import in there

@TaoChenOSU
Copy link
Contributor

TaoChenOSU commented May 12, 2025

Will approve once the merge conflict is resolved. Resolving the conflict and merge the latest main will likely fix the unit test failure.

@KanchiShimono
Copy link
Contributor Author

@eavanvalkenburg @TaoChenOSU
Thank you for the review.
I’ve merged the latest main branch and resolved the conflict.

@moonbox3 moonbox3 added this pull request to the merge queue May 13, 2025
Merged via the queue into microsoft:main with commit 904c10a May 13, 2025
28 checks passed
@KanchiShimono KanchiShimono deleted the mcp-streamable-http branch May 13, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants