Selecting the Python interpreter should be easier.
mcp-repl should expose an environment variable for choosing the Python interpreter explicitly, for example MCP_REPL_PYTHON, consulted at launch. That should make it easier to use mcp-repl with other environment managers such as pixi or conda.
It would also help to expose interpreter search paths in a future configuration layer, so users can add default locations to search instead of relying only on .venv/bin/python.
Relatedly, --interpreter should be able to accept an absolute path to an R or Python executable, not only the literal r or python backend names.
Source: #28
Selecting the Python interpreter should be easier.
mcp-replshould expose an environment variable for choosing the Python interpreter explicitly, for exampleMCP_REPL_PYTHON, consulted at launch. That should make it easier to usemcp-replwith other environment managers such aspixiorconda.It would also help to expose interpreter search paths in a future configuration layer, so users can add default locations to search instead of relying only on
.venv/bin/python.Relatedly,
--interpretershould be able to accept an absolute path to an R or Python executable, not only the literalrorpythonbackend names.Source: #28