Fix FastMCP dependency pin
This commit is contained in:
@@ -23,9 +23,6 @@ httpx==0.26.0
|
|||||||
# HTTP client for WebUI (used to call docs-api from WebUI)
|
# HTTP client for WebUI (used to call docs-api from WebUI)
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
|
|
||||||
# FastMCP for MCP server integration (also used by backend)
|
|
||||||
fastmcp==0.6.0
|
|
||||||
|
|
||||||
# YAML parser for sources configuration
|
# YAML parser for sources configuration
|
||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# MCP Server Dependencies
|
# MCP Server Dependencies
|
||||||
fastmcp==0.6.0
|
fastmcp==2.12.5
|
||||||
httpx==0.26.0
|
httpx==0.26.0
|
||||||
|
|
||||||
# For Qdrant vector store operations
|
# For Qdrant vector store operations
|
||||||
@@ -18,4 +18,4 @@ pypdf==5.0.0
|
|||||||
python-dotenv==1.0.0
|
python-dotenv==1.0.0
|
||||||
|
|
||||||
# YAML parser for sources configuration
|
# YAML parser for sources configuration
|
||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
|
|||||||
@@ -330,7 +330,7 @@ if __name__ == "__main__":
|
|||||||
print(" - sync_sources(override=false)")
|
print(" - sync_sources(override=false)")
|
||||||
|
|
||||||
if hasattr(mcp, "run"):
|
if hasattr(mcp, "run"):
|
||||||
mcp.run(transport="streamable-http", host=host, port=port)
|
mcp.run(transport="http", host=host, port=port)
|
||||||
else:
|
else:
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user