ServiceNow ServiceNow

Every catalog item, incident form, change request, and approval flow instantly callable by Now Assist agents. No JSON schema writing, no RPA scripting. Drop auto-webmcp into a UI Script and it handles everything automatically.

Works today. No platform changes needed. ⏱ ~10 min to deploy Scoped app safe
1 Add a Global UI Script
UI Script: auto_webmcp_loader
// auto-webmcp loader — UI Script (Global)
// Loads auto-webmcp from CDN and activates it on every ServiceNow page.
// Requires the WebMCP flag in the user's browser (chrome://flags/#enable-webmcp-testing)
(function () {
  'use strict';

  // Don't load more than once per page (SN sometimes runs UI Scripts twice)
  if (window.__AUTO_WEBMCP_LOADED) return;
  window.__AUTO_WEBMCP_LOADED = true;

  var script = document.createElement('script');
  script.src = 'https://cdn.jsdelivr.net/npm/auto-webmcp@0.2.1/dist/auto-webmcp.iife.js';
  script.async = true;
  script.onload = function () {
    // auto-webmcp auto-inits on load; nothing else needed.
    // Optional: pass config to customise tool names or enable debug mode.
    // window.autoWebMCP({ debug: true });
  };
  document.head.appendChild(script);
}());
2 Alternative: Service Portal widget script

If you only want auto-webmcp active inside the Service Portal (not the classic UI), inject the script from a portal page's Header script tag instead.

3 Optional: enrich tool names with spec attributes

auto-webmcp infers tool names and descriptions automatically from the DOM. For critical forms where you want precise agent instructions, add these attributes to the <form> element in the ServiceNow widget HTML template.

HTML: form attributes
<form
  toolname="create_incident"
  tooldescription="Create a new IT incident ticket with priority, category, and description."
  toolautosubmit="true"
>
  ...
</form>
ℹ️ Without these attributes auto-webmcp still works. It infers a tool name from the page title and heading. Add them only when the inferred name isn't specific enough.
4 What gets registered automatically

ServiceNow forms that become AI-callable out of the box

  • Service Catalog items: every catalog form with its variable fields
  • Incident creation: short description, category, priority, assignment group
  • Change requests: type, risk, description, justification fields
  • Access requests & approvals: requester, role, justification
  • Employee onboarding forms: name, department, equipment requests
  • Knowledge article submissions: title, category, body
Password, file, and hidden inputs are never exposed to agents. auto-webmcp automatically skips these field types regardless of configuration.
5 Packaging as a scoped app (optional)
For ServiceNow Store distribution: wrap the UI Script in a scoped application. Create a new scoped app in Studio, add the UI Script to it, and submit through the ServiceNow Build Partner program. This allows IT admins to install auto-webmcp from the Store without touching code.
Community resources: join the Now Community and post in the "Developer" and "AI/Automation" forums to find other admins already using auto-webmcp with Now Assist.
Next steps