The CLI version (0.3.5) and server version (0.2.56) are different components. The warning is about the LangGraph server, not the CLI itself. To upgrade the server version, you need to update the LangGraph package in your project:
pip install --upgrade langgraph
Or if using a specific version:
pip install langgraph>=0.2.100
The CLI version 0.3.5 is likely current, but your project’s LangGraph dependency is still on 0.2.56. Check your requirements.txt or pyproject.toml for the LangGraph version pinning and update it accordingly.