Files
morpheus-docs/requirements.txt
T
claude 819eb5349b feat(mcp): migrate to mcp 2.x (MCPServer)
Lift the mcp<2 pin landed in de2560c. Three mechanical changes from
the seed-mcp#23 port: MCPServer instead of FastMCP, transport options
moved onto run(), and CI import smoke so a green build cannot ship a
non-importing image.

tools/list is byte-for-byte identical between 1.30.0 and 2.2.0 (10
tools). initialize over streamable-http returns 200.

Closes #9
2026-09-10 20:47:43 -04:00

29 lines
846 B
Plaintext

# MCP server
# 2.x: no [fastmcp] extra; FastMCP -> MCPServer (see docs_mcp/server.py).
mcp>=2,<3
pydantic>=2.0
httpx>=0.27
# Vector store + embeddings
chromadb>=0.5.0
ollama>=0.4.0 # if using Ollama-hosted embedder; swap if not
# Scraping (Phase 1; adjust per product)
beautifulsoup4>=4.12
requests>=2.31
curl_cffi>=0.7 # for HPE QuickSpecs scrape (Chrome TLS impersonation)
markdownify>=0.11
# playwright>=1.40 # uncomment if you need headless browser fallback
# Evaluation
numpy>=1.26
# Reranker is a sidecar (see deploy/docker-compose.yml). The MCP server
# only needs httpx (declared above) to call it. For the dev / CPU
# fallback reranker (scripts/rerank_server.py), install
# requirements-rerank.txt separately — it pulls in PyTorch which would
# triple the production image size.
# Dev / utility
python-dateutil>=2.8