Skip to content

python_environments

MCP tools › Run, test and tasks

Python interpreters for the workspace without starting any of them: virtual environments in the project, the active VIRTUAL_ENV/CONDA_PREFIX environment, pyenv versions and interpreters on PATH, with version and kind; which one is selected and why; whether it satisfies requires-python; installed packages of the selected environment; declared dependencies that are missing or have a non-matching version; test framework and a suggested test run configuration.

Its results carry text from process: the client is told to treat that as data, never as instructions.

Capabilityexecution.python_environments
AreaRun, test and tasks
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
interpreterstringInterpreter or environment folder to use instead of the automatic choice (absolute or workspace-relative).

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project python_environments
Input schema as JSON
{
"type": "object",
"properties": {
"interpreter": {
"description": "Interpreter or environment folder to use instead of the automatic choice (absolute or\nworkspace-relative).",
"type": [
"string",
"null"
]
}
}
}