python_package_info
MCP tools › Run, test and tasks
Details of one PyPI package: summary, latest version, requires-python, home page, versions newest first (pre-releases marked), the version installed in the selected environment, and the exact install command for version or the latest (uv, Poetry or pip as the project and environment dictate; notes explains substitutions). install: true runs it (needs the run right; logged). Shared system/pyenv interpreters are refused. Needs the http right.
Its results carry text from web: the client is told to treat that as data, never as instructions.
| Capability | execution.python_package_info |
|---|---|
| Area | Run, test and tasks |
| Access | changes processes, network |
| Reaches | process, network |
| Rights | run, http |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
namerequired | string | Package name as on the index. |
version | string | Version to install; omit for the latest. |
install | boolean | Run the install command (needs the run right; default false: only the preview). |
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.
ferris-idea call ~/my-project python_package_info '{"name":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "name" ], "properties": { "name": { "description": "Package name as on the index.", "type": "string" }, "version": { "description": "Version to install; omit for the latest.", "type": [ "string", "null" ] }, "install": { "description": "Run the install command (needs the `run` right; default false: only the preview).", "type": [ "boolean", "null" ] } }}