Skip to content
Python

Pin mcp<2 — 2.0.0 removed streamablehttp_client

Rohit C Prasad8674e301a8c2
diff --git a/pyproject.toml b/pyproject.toml
index 8eaef6ed..687dad70 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,7 @@ dependencies = [
"docstring_parser",
"pyyaml>=6", # persona manifest frontmatter (YAML)
"pydantic>=2",
- "mcp>=1.1", # MCP client (stdio + streamable-http); we use our own async layer on it
+ "mcp>=1.1,<2", # MCP client (stdio + streamable-http); 2.0 removed streamablehttp_client
"httpx>=0.27", # sync outbound senders for messaging connectors (send_message tool)
"websockets>=13", # managed Slack relay client transport (relay_client.py)
"ddgs>=9", # keyless default web-search provider (DuckDuckGo); Tavily/Brave use httpx