Applications

The MCP server provides tools to list, retrieve, create, update, and delete applications in Neptune DXP - Open Edition.

Required access: the App Designer tool (appdesigner) in one of your roles. Display access is enough to list and read applications, and to check the status of Naia Build, wait for a job, and take a screenshot. Saving, deleting, and activating an application, and starting, answering, and canceling a Naia Build job 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_apps

List applications. Supports filtering, field selection, and sorting through listOptions.

get_app

Return detailed information about an application by its ID.

save_app

Create or update an application. Pass the full app object. Omit id to create a new app. Include id to update. A new app requires the application field, which holds the app name.

delete_app

Delete an application by its ID.

activate_app

Activate an application: push the design-time definition to runtime, regenerate the version, and compile CSS. Use after editing an app with save_app to make changes available to runtime users.

Naia Build

The Naia Build tools are available from Neptune DXP - Open Edition 25.0.1.

Naia Build is the AI agent in the App Designer. The Naia Build tools relay a prompt from the MCP client to Naia Build in an App Designer tab that is open in your browser. Naia Build then builds or changes the application in that tab. Only one job runs per tab at a time.

A typical build runs as follows:

  1. Call naia_build_status to check that an App Designer tab relays Naia Build for you. If no tab relays, the error names the App Designer URL to open.

  2. Call naia_build_start with the prompt and the application. The tab opens the application in edit mode. Unsaved changes in the tab stop the request.

  3. Call naia_build_wait until the job leaves the status running. A build takes several minutes.

    • If the status is waiting_for_answer, answer with naia_build_answer, then call naia_build_wait again.

    • If the status is needs_browser, complete the step in the App Designer tab, for example, sign-in, billing source selection, or consent.

  4. Optionally, call naia_build_screenshot to check the layout and content of the result.

Tool Description

naia_build_status

Check whether an App Designer tab relays Naia Build for the current user, which application it has open, and the state of its current job. Call it before naia_build_start.

naia_build_start

Send a prompt to Naia Build in the relaying App Designer tab and start a job. The tab first opens the named application in edit mode, or keeps the application it has open. Unsaved changes in the tab stop the request. Returns the job ID.

naia_build_wait

Wait until a Naia Build job finishes, asks a question, or needs the user in the browser. Returns when the status leaves running or the timeout passes, with the events since afterSeq, the reply so far, and any pending questions. While the tool waits, events stream as progress notifications. If the status is still running, call the tool again with the returned lastSeq.

naia_build_answer

Answer the question that Naia Build asked on a job with the status waiting_for_answer. The answer is sent as the next chat message, and the job returns to running.

naia_build_cancel

Stop a Naia Build job and the work that Naia Build does for it in the App Designer tab. The tab is then free for a new naia_build_start.

naia_build_screenshot

Return a picture of the application in the preview pane of Naia Build. The picture is redrawn from the page, not captured from the screen. It shows layout and content, but not exact colors or fine styling. Images from other sites can appear blank, and a picture taken during a build can be blank. If no picture can be taken, the error states whether a retry is useful.

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.