Skip to content

Commit d8af4dd

Browse files
committed
refactor: remove deprecated SSE transport option
1 parent eaabe5b commit d8af4dd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/openstack_mcp_server/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)

src/openstack_mcp_server/server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ 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)
26+
2827
else:
2928
raise ValueError(f"Unsupported transport: {transport}")

0 commit comments

Comments
 (0)