fix(mcp): streamable_http_path=/ pour mount FastAPI à /mcp
This commit is contained in:
@@ -15,7 +15,7 @@ from app.models.shopping import ShoppingList, ListItem, Product
|
|||||||
_VALID_STATUSES = {"pending", "done", "cancelled"}
|
_VALID_STATUSES = {"pending", "done", "cancelled"}
|
||||||
_VALID_PRIORITIES = {"low", "medium", "high"}
|
_VALID_PRIORITIES = {"low", "medium", "high"}
|
||||||
|
|
||||||
mcp = FastMCP("HomeHub", stateless_http=True)
|
mcp = FastMCP("HomeHub", stateless_http=True, streamable_http_path="/")
|
||||||
|
|
||||||
|
|
||||||
def _serialize(obj):
|
def _serialize(obj):
|
||||||
|
|||||||
Reference in New Issue
Block a user