Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add stdio-http proxy example#736

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ochafik wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromochafik/stdio-wrapper-example

Conversation

ochafik
Copy link
Contributor

Example proxy wrapper around an stdio MCP server that expose it as a Streamable HTTP endpointon the web (+ gives example usage guidelines w/ the Claude API)

This shows how to do transport-level proxying. A subsequent example will delve into higher-level proxying (w/ support for augmentations / filtering / etc).

Motivation and Context

Provide canonical code for simple transport-level proxying (lots of options on the web), and simple, preliminary security guidelines.

This is the full code of the upcoming tutorial inmodelcontextprotocol/modelcontextprotocol#918

How Has This Been Tested?

Local testing + Claude API testing

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read theMCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@ochafikochafik changed the titleOchafik/stdio wrapper exampleadd stdio-http proxy exampleJul 4, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ochafik

[8]ページ先頭

©2009-2025 Movatter.jp