Description
DroidMind fails to start with newer versions of the mcp library due to an API change in FastMCP.
Error
TypeError: FastMCP.__init__() got an unexpected keyword argument 'description'
Full traceback:
Traceback (most recent call last):
File ".../bin/droidmind", line 6, in <module>
from droidmind.server import main
File ".../droidmind/server.py", line 28, in <module>
from droidmind import (
File ".../droidmind/prompts.py", line 8, in <module>
from droidmind.context import mcp
File ".../droidmind/context.py", line 11, in <module>
mcp = FastMCP(
"DroidMind",
description="Control Android devices with MCP",
dependencies=["rich>=13.9.4"],
)
TypeError: FastMCP.__init__() got an unexpected keyword argument 'description'
Root Cause
In droidmind/context.py, the FastMCP constructor is called with description and dependencies keyword arguments:
mcp = FastMCP(
"DroidMind",
description="Control Android devices with MCP",
dependencies=["rich>=13.9.4"],
)
However, newer versions of the mcp library have removed or renamed these parameters in the FastMCP class.
Environment
- Python: 3.13
- droidmind: 0.3.1
- mcp: latest (installed via
mcp[cli]>=1.8.1 dependency)
- Installation method:
uvx --from git+https://github.com/hyperb1iss/droidmind droidmind
Suggested Fix
Update droidmind/context.py to use the current FastMCP API. The description parameter may need to be passed differently or removed if no longer supported.
Description
DroidMind fails to start with newer versions of the
mcplibrary due to an API change inFastMCP.Error
Full traceback:
Root Cause
In
droidmind/context.py, theFastMCPconstructor is called withdescriptionanddependencieskeyword arguments:However, newer versions of the
mcplibrary have removed or renamed these parameters in theFastMCPclass.Environment
mcp[cli]>=1.8.1dependency)uvx --from git+https://github.com/hyperb1iss/droidmind droidmindSuggested Fix
Update
droidmind/context.pyto use the current FastMCP API. Thedescriptionparameter may need to be passed differently or removed if no longer supported.