Skip to content

Conversation

@Kigstn
Copy link
Contributor

@Kigstn Kigstn commented Jul 17, 2025

This PR adds support for streamable HTTP in the MCP Run Python Tool.

Implementation logic is 80% copied from the reference implementation, just adapated to work with the existing structure :)

Also added testing for this

Fixes #2059

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Jul 17, 2025

PR Change Summary

Added support for streamable HTTP in the MCP Run Python Tool, enhancing its functionality for stateful requests without requiring a persistent connection.

  • Implemented streamable HTTP support in the MCP Run Python Tool
  • Updated documentation to include new transport option for streamable HTTP
  • Added testing for the new streamable HTTP functionality

Modified Files

  • docs/mcp/run-python.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

Copy link
Collaborator

@DouweM DouweM left a comment

Choose a reason for hiding this comment

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

@Kigstn Thanks, looks great! Just one question

@Kigstn Kigstn requested a review from DouweM July 19, 2025 09:47
@DouweM DouweM changed the title feat: add support for streamable http in the mcp-run-python tool Support streamable HTTP in mcp-run-python Jul 21, 2025
@DouweM DouweM merged commit 09bd7dd into pydantic:main Jul 21, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: mcp-run-python support streamable http

2 participants