File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def main():
3535 signal .signal (signal .SIGTERM , handle_interrupt )
3636
3737 # Validate transport protocol
38- if MCP_TRANSPORT not in ["stdio" , "sse" , " streamable-http" ]:
38+ if MCP_TRANSPORT not in ["stdio" , "streamable-http" ]:
3939 logger .error (
4040 f"Invalid transport protocol: { MCP_TRANSPORT } . Using stdio instead." ,
4141 )
Original file line number Diff line number Diff line change @@ -23,7 +23,5 @@ def serve(transport: str, **kwargs):
2323 mcp .run (transport = "stdio" , ** kwargs )
2424 elif transport == "streamable-http" :
2525 mcp .run (transport = "streamable-http" , ** kwargs )
26- elif transport == "sse" :
27- mcp .run (transport = "sse" , ** kwargs )
2826 else :
2927 raise ValueError (f"Unsupported transport: { transport } " )
You can’t perform that action at this time.
0 commit comments