npm packages

Neptune DXP - Open Edition supports adding and importing npm packages for use in server scripts and other server-side contexts. The MCP server provides tools to list currently installed modules and to add new ones by name.

Required access: the Node Package Manager tool (npmmodules) in one of your roles. Display access is enough to list and read npm packages. Installing and uninstalling require Edit access.

If none of your roles includes this tool with the required access, the tool fails immediately with an access denied error. Contact an administrator to request access, or see Access control for more information on how access is enforced.

Available tools

Tool Description

list_npm_modules

List npm packages registered in Neptune DXP - Open Edition. Supports filtering, field selection, and sorting through listOptions.

get_npm_module

Return an npm package by its ID, including the scripts and AI agents that reference it.

install_npm_module

Install an npm package into the server-script module directory of Neptune DXP - Open Edition and register it. Runs npm install, verifies that the module loads, and creates the npm_modules record so that scripts can require() it. You can pass a version, a semver range, or a dist-tag, and additional parameters for npm install.

uninstall_npm_module

Uninstall an npm package by its ID. Runs npm uninstall and removes the npm_modules record.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.