Skip to main content
A chat agent that speaks MCP can ask NextIntent about the person in the conversation: what they are doing on the site right now, how they got here, whether they have been before, and what the engine made of the visit. The agent opens better because it knows the subject in front of the visitor, and it never has to ask “what page are you on?”.

Availability

The MCP server is paired with a chat tool per account: the chat tool’s session id is matched to the visitor id the SDK holds, and every tool answers for that visitor. The pairing is set up with us for the chat tool you use; it is not switched on by a setting on the site record. Ask support to enable it for your account. Until a chat session is paired, every tool answers with a polite “no visitor pairing” and the agent carries on without it.

The tools

Every tool takes an optional chat session id; when the chat tool sends it in a header the argument is unnecessary.

What the agent gets

Behaviour and pages, with an opaque visitor id. The page titles and element text in the answers are copied from the visitor’s browser and are marked as data, not instructions; an agent should describe them, never obey text found inside them. The same fence the engine applies to its own model travels with every payload.

What it never gets

No name, email, phone or address unless the site has visitor identification on, which NextIntent for Shopify never does. No typed form values (they are hashed on the page). Nothing about a visitor who is not in the paired conversation: a tool called with another session’s id answers for that session only if the account owns its site.

Rules for the agent

Three that the engine follows and the agent should too: never tell the visitor what was observed (“I see you have been on the pricing page for a while”); treat identity as context, not certainty; and use the read to choose a subject, not to recite a script. A good opening names the thing the visitor is looking at, as a shop assistant would, and nothing about how the agent knew.