📄️ Install the JS Tag
The simplest way to deploy NxisAI is the client-side JavaScript tag. It works with any static HTML page, CMS (WordPress, Squarespace), or client-rendered SPA. NxisAI injects your validated JSON-LD structured data into the page at runtime and, by default, registers your page's Actions as WebMCP tools.
📄️ How the JS Tag Works
What a site owner needs to know about nxis.js for security and caching — which hosts a token works on, what the script changes on your page, what it requests and how it's cached, and your Content Security Policy.
📄️ SSR SDK
For server-rendered frameworks, NxisAI provides the NxisClient class. It fetches your JSON-LD at render time so structured data is present in the initial HTML response — no client-side JavaScript required.
📄️ WebMCP
WebMCP is the "on your page" surface. It exposes your site's forms and actions as in-browser tools that AI agents can discover and invoke through the browser's document.modelContext API — so an agent can complete tasks for your visitor, starting with form-filling.
📄️ Migrating to @nxisai/sdk
Move from @nxisai/nxis 2.x to @nxisai/sdk 3.0 — install, imports, and what was removed.