Skip to content

Commit 5b71524

Browse files
committed
fix(mcp): cap the mcp dependency below 2.0
`mcp>=1.1.0` had no upper bound, so pip resolved mcp 2.0.0 the day it shipped (2026-07-28) and MCPClient.connect() started returning False. The custom-agent MCP harness went from green on 07-28 to red on 07-30 on the same branch with no code change in between. Matches the litellm pin two entries down. Lifting the cap is a real port of the client to the 2.x API, not a version bump.
1 parent 1d867ee commit 5b71524

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,10 @@
214214
"bpy",
215215
],
216216
"mcp": [
217-
"mcp>=1.1.0",
217+
# Capped below 2.0: mcp 2.0.0 (released 2026-07-28) breaks
218+
# MCPClient.connect() — the custom-agent harness went red with no
219+
# code change. Lift the cap in a change that ports the client.
220+
"mcp>=1.1.0,<2.0",
218221
"starlette",
219222
"uvicorn",
220223
],

0 commit comments

Comments
 (0)