Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(deps): cap mcp below 2.0 until broker_stdio migrates to the v2 API

Ruben Lütke9b8d1dcf91e0
diff --git a/pyproject.toml b/pyproject.toml
index c933ad45d5..6ddbf18be6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -162,7 +162,12 @@ dependencies = [
# transports (missing Host/Origin validation, unverified session
# principal, cross-client task access) are fixed there — never resolve
# lower (Dependabot #48-#51).
- "mcp>=1.28.1",
+ # Ceiling <2: mcp 2.0.0 removes the low-level Server decorator API
+ # (@server.list_tools / @server.call_tool become constructor parameters)
+ # and stops auto-wrapping return values, which breaks
+ # jarvis/missions/workers/broker_stdio.py at import time. Lift the
+ # ceiling only together with a deliberate 2.x migration of that adapter.
+ "mcp>=1.28.1,<2",
"rich>=13.9",
# jarvisctl control CLI (jarvis/cli_ctl/): Typer command surface + platformdirs
# for cross-platform per-user config/cache dirs. Pure-Python, VPS-safe.
diff --git a/requirements.in b/requirements.in
index 5576a0375e..fb96a267f0 100644
--- a/requirements.in
+++ b/requirements.in
@@ -129,7 +129,7 @@ ddgs==9.14.3
# transports (missing Host/Origin validation, unverified session principal,
# cross-client task access) are fixed there — never resolve lower
# (Dependabot #48-#51).
-mcp>=1.28.1
+mcp>=1.28.1,<2
# CLI (setup wizard + jarvisctl control CLI)
rich>=13.9