Skip to main content
Glama

MCP Python Interpreter

install_package

Install or upgrade Python packages in specified environments using the MCP Python Interpreter. Manage dependencies efficiently for custom or system-wide Python setups.

Instructions

Install a Python package in the specified environment. Args: package_name: Name of the package to install environment: Name of the Python environment (default if custom path provided, otherwise system) upgrade: Whether to upgrade the package if already installed (default: False)

Input Schema

NameRequiredDescriptionDefault
environmentNodefault
package_nameYes
upgradeNo

Input Schema (JSON Schema)

{ "properties": { "environment": { "default": "default", "title": "Environment", "type": "string" }, "package_name": { "title": "Package Name", "type": "string" }, "upgrade": { "default": false, "title": "Upgrade", "type": "boolean" } }, "required": [ "package_name" ], "title": "install_packageArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PortPro-Technologies-Inc/mcp-python-interpreter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server