install_python_library
AI agents invoke install_python_library to trigger actions in Simple MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
Installing a Python library executes a system command (such as pip) that modifies the environment by adding software. This is an Execute-category action with high severity since an AI agent could install malicious or unwanted packages on the host system, potentially compromising security or stability. The empty description lowers confidence slightly, but the tool name strongly implies this behavior.
From the tool's definition Tool name 'install_python_library' implies installing software packages onto the system, which executes system-level package management commands (e.g., pip install). Description is empty, lowering confidence.
Attacks that exploit this kind of access
install_python_library. It is categorised as a Execute tool in the Simple MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Simple MCP server in PolicyLayer and add a rule for install_python_library: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Simple MCP. Nothing to install.
install_python_library is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the install_python_library rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for install_python_library. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
install_python_library is provided by the Simple MCP server (karar-hayder/simple-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →