Install a community node package from npm. Args: - packageName (string): npm package name (e.g.,
AI agents invoke n8n_install_community_package to trigger actions in n8n MCP Server. 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 an npm package executes code from an external registry onto the n8n server. This is not merely a write operation — it runs installation scripts, modifies the server environment, and could introduce arbitrary third-party code with unknown side effects. The blast radius is high because a malicious or compromised package could compromise the entire n8n instance and its credentials.
From the tool's definition Install a community node package from npm
Attacks that exploit this kind of access
Install a community node package from npm. Args: - packageName (string): npm package name (e.g.,. It is categorised as a Execute tool in the n8n MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the n8n MCP Server MCP server in PolicyLayer and add a rule for n8n_install_community_package: 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 n8n MCP Server. Nothing to install.
n8n_install_community_package 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 n8n_install_community_package 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 n8n_install_community_package. 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.
n8n_install_community_package is provided by the n8n MCP Server MCP server (verzth/mcp-n8n). 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 →