Dhanushsaireddy144 commited on
Commit
f30acce
·
1 Parent(s): a994b2f

Fix deploy.py to call sse_app method

Browse files
Files changed (1) hide show
  1. deploy.py +1 -1
deploy.py CHANGED
@@ -2,7 +2,7 @@ from server import mcp
2
 
3
  # FastMCP 'sse_app' is often a property that returns the Starlette app
4
  # We assign it to 'app' so uvicorn can find it
5
- app = mcp.sse_app
6
 
7
  from starlette.responses import PlainTextResponse
8
  from starlette.routing import Route
 
2
 
3
  # FastMCP 'sse_app' is often a property that returns the Starlette app
4
  # We assign it to 'app' so uvicorn can find it
5
+ app = mcp.sse_app()
6
 
7
  from starlette.responses import PlainTextResponse
8
  from starlette.routing import Route