Wix
Make every Wix Form, contact form, member login, and registration form on your Wix site callable by AI agents. Use Wix's built-in Custom Code feature — no Velo or developer mode required — and paste one script tag that covers your entire site.
Works with Wix Forms
⏱ ~10 min to deploy
No Velo required for basic setup
1
Add via Wix Custom Code (no Velo needed)
Wix has a built-in Custom Code panel that lets you inject scripts sitewide without enabling developer mode. This is the fastest method.
-
1
In the Wix Editor, click Settings (gear icon) in the left sidebar, or go to your Wix Dashboard › Settings.
-
2
Scroll down to Advanced and click Custom Code.
-
3
Click + Add Custom Code. Paste the snippet below.
-
4
Set Add Code to Pages to All Pages, and Place Code in to Body — End.
-
5
Click Apply and Publish your site. Open any page with a Wix Form and check the browser console for
[auto-webmcp] registered N tools.
<script src="https://cdn.jsdelivr.net/npm/auto-webmcp@0.2.1/dist/auto-webmcp.iife.js" async></script>
One tag. auto-webmcp auto-initialises on load and registers every <form> on the page.
2
Alternative: inject via Velo (developer mode)
If you already use Velo (Wix's developer platform), you can add the script tag dynamically
from your public/pages/masterPage.js file so it loads on every page.
$w.onReady(function () {
const s = document.createElement('script');
s.src = 'https://cdn.jsdelivr.net/npm/auto-webmcp@0.2.1/dist/auto-webmcp.iife.js';
s.async = true;
document.body.appendChild(s);
});
Prefer Custom Code over Velo for this. The Custom Code panel (Step 1) is
simpler and does not require enabling dev mode. Use Velo only if you are already using it
for other site customisations.
3
What gets registered automatically
Wix form types that become AI-callable out of the box
- Wix Forms: any form built with the Wix Forms app (contact, lead gen, registration, RSVP, quiz)
- Member login & registration: email, password fields
- Wix Bookings: service selection, date/time pickers, customer details
- Wix eCommerce: checkout and address forms
- Newsletter subscribe: email capture widgets
- Custom HTML forms: any
<form>element added via Wix's HTML embed widget
Wix Forms rendering: Wix Forms renders form fields directly in the page DOM,
so auto-webmcp can reach them without any extra configuration. However, some Wix form fields
use custom components with shadow DOM — if a field is not captured, try adding a
toolparamdescription attribute to your form's underlying HTML via
the Wix HTML embed widget.
Next steps