Server scripts
Server scripts are individual JavaScript or TypeScript files that run on the Neptune DXP - Open Edition server. They can be grouped into script projects. The MCP server provides tools for both project-level and individual script operations.
Required role: scripteditor.
If your user account does not have this role, every tool in this group fails immediately with an access denied error. Contact an administrator to request the role, or see Access control for more information on how roles are enforced.
Available tools
Parameters are shown with their type and a short description. UUIDs are always strings.
Script projects
Script projects group related server scripts together. Use the project-level tools to manage those groupings.
| Tool | Description | Parameters |
|---|---|---|
|
List all server script projects with their scripts. Each project groups related scripts together. |
None |
|
Get a server script project by ID, including all its scripts. |
|
|
Create a new server script project to group related scripts. |
|
|
Delete a server script project by its ID. |
|
Individual scripts
| Tool | Description | Parameters | ||
|---|---|---|---|---|
|
Get a server script by ID, including its source code content. |
|
||
|
Create or update a server script.
|
|
||
|
Delete a server script by ID. |
|
||
|
List server scripts that are not assigned to any project. |
None |
||
|
Execute a server script by its ID. Returns the script result object (data, statusCode, contentType, filename, headers when set). |
|
Related topics
-
Tools overview — the full list of artifact types and required roles.
-
Access control — how role and development package checks are enforced on every tool call.