Skip to content

Commit 0f24b02

Browse files
committed
debug
1 parent e4a1e19 commit 0f24b02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ def query(sql_query: str) -> str:
9696
if __name__ == "__main__":
9797
# Streamable HTTP uses a single endpoint (default: /mcp)
9898
# It supports both GET (handshake) and POST (messages) on the same URL.
99-
mcp.run(transport="streamable-http", host="0.0.0.0", port=8000)
99+
uvicorn.run(mcp.get_asgi_app(transport="streamable-http"), host="0.0.0.0", port=8000)

0 commit comments

Comments
 (0)