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.

create_tour

Create a tour as a draft. Nobody sees it until it's published.

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.

validate_tour read-only

Check a tour against the schema without saving it. Errors come with JSON pointer paths.

list_versions read-only

A tour's version history, newest first: who saved each one, how, and why.

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.

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.

rollback_tour

Put an earlier version back live. Needs an explicit environment and version.

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.

get_generation read-only

The status and proposed tours of a generate_tours job.

keep_generated_tours

Save proposed tours (by their index) as drafts.

edit_tour_with_instruction

Change a tour's draft by describing the change, e.g. 'make step 2 shorter'. Uses one AI credit.

translate_tour

Add languages to a tour's draft, e.g. ['da', 'de'].

get_install_status read-only

Whether the snippet is installed: where it's been seen, which version, and whether identify() is called.

list_incidents read-only

Steps that can't find their element for real people (or in scheduled checks), open and resolved.

get_incident read-only

One incident with its proposed fixes (what Neaten found, how sure it is, and why).

apply_fix

Apply a proposed fix: publishes a new version where the step broke, with only its target changed.

reject_fix

Dismiss a proposed fix that points at the wrong thing.

get_tour_analytics read-only

A tour's results: started, finished, closed early, goal reached, and views per step.

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.

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.