pyright and Zed use the venv setting in pyright to correctly determine the virtual env to use.
Model Context Protocol implementation for Python