MCP tools
Remote: POST https://api.tryneaten.com/mcp (Streamable HTTP, stateless, Authorization: Bearer sk_…). Local: npx @neaten/mcp (stdio, NEATEN_API_KEY). Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05.
Neaten runs product tours in the user's web app. Read get_schema before writing a tour. create_tour and update_tour save drafts that nobody sees; publish_tour makes them live and needs an explicit env. Before renaming or removing a button, link or field in the app, call find_tours_using_target with its test id, selector or text.
get_schema read-only
The Tour JSON Schema (v1). Read it before writing a tour: steps, targets, triggers and content.
No parameters.
list_tours read-only
Every tour in the workspace, with what's published where and whether the draft has changes.
No parameters.
get_tour read-only
A tour's draft (the JSON), its revision, and what's published where.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).
create_tour
Create a tour as a draft. Nobody sees it until it's published.
tourobject, required: The tour JSON (see get_schema).
update_tour
Save a new draft of a tour. Pass the revision you read with get_tour; if someone changed it since, this fails and nothing is overwritten.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).tourobject, required: The whole tour JSON.revisioninteger, required: The revision this edit is based on (from get_tour).messagestring: What changed, in a few words.
validate_tour read-only
Check a tour against the schema without saving it. Errors come with JSON pointer paths.
tourobject, required
list_versions read-only
A tour's version history, newest first: who saved each one, how, and why.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).
create_preview_link read-only
A link that opens a page of the app with the tour's draft running, for a person to try. Only they see it; nothing is counted.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).urlstring, required: A page of the app, on an allowed site.
publish_tour
Publish the draft (or a version) so people see it. Needs an explicit environment; returns what was live before and what is now.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).envstring, required: Which environment: live (production), test, or another the workspace added (e.g. staging).versioninteger
rollback_tour
Put an earlier version back live. Needs an explicit environment and version.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).envstring, required: Which environment: live (production), test, or another the workspace added (e.g. staging).versioninteger, required
generate_tours
Start suggesting tours from the app's pages (crawls an allowed site; uses AI credits). Poll get_generation, then keep the ones you want with keep_generated_tours.
urlstring, required: A page of the app to start from.
get_generation read-only
The status and proposed tours of a generate_tours job.
job_idstring, required: From generate_tours.
keep_generated_tours
Save proposed tours (by their index) as drafts.
job_idstring, required: From generate_tours.indexesarray, required
edit_tour_with_instruction
Change a tour's draft by describing the change, e.g. 'make step 2 shorter'. Uses one AI credit.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).instructionstring, required: What to change.
translate_tour
Add languages to a tour's draft, e.g. ['da', 'de'].
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).localesarray, required
get_install_status read-only
Whether the snippet is installed: where it's been seen, which version, and whether identify() is called.
envstring: Which environment: live (production), test, or another the workspace added (e.g. staging).
list_incidents read-only
Steps that can't find their element for real people (or in scheduled checks), open and resolved.
tour_idstring: The tour's id (its slug, e.g. first-invoice).
get_incident read-only
One incident with its proposed fixes (what Neaten found, how sure it is, and why).
incident_idstring, required: From list_incidents.
apply_fix
Apply a proposed fix: publishes a new version where the step broke, with only its target changed.
fix_idstring, required: From get_incident.
reject_fix
Dismiss a proposed fix that points at the wrong thing.
fix_idstring, required: From get_incident.
get_tour_analytics read-only
A tour's results: started, finished, closed early, goal reached, and views per step.
tour_idstring, required: The tour's id (its slug, e.g. first-invoice).envstring: Which environment: live (production), test, or another the workspace added (e.g. staging).daysinteger
list_goals read-only
Goals: the track() events tours measure, each with its name (if someone gave it one) and the tours that measure it. Use one of these as a tour's goal.
No parameters.
name_goal
Give a goal (a track() event name) a name people recognise, or rename it.
eventstring, required: The name the app passes to neaten.track(), e.g. invoice_sent.labelstring, required: What people call it, e.g. Invoice sent.
find_tours_using_target read-only
Before renaming or removing something in the app: every tour step that depends on it. Pass a test id (new-invoice), a selector (#export), an id, or the visible text.
querystring, required: The test id, selector, id or text you're about to change.