Skip to content

Running Streamable HTTP Servers #1625

@cdreetz

Description

@cdreetz

Question

Is there a native MCP Python method to run a streaming http server running other peoples MCP implementations?

For stdio there is no need to "start" a server as when you create a Stdio client connection is includes starting a stdio server. And I have found examples of running MCP as streaming http when you are creating an MCP in which you define the app, tools, and streaming http. But if I want to run something like 'mcp-server-fetch' but as a streaming http server where I can then connect to that single server from different remote clients, what is the correct way to do so?

Is it really just running the stdio server and wrapping it myself in a streaming http server?

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions