Ask your AI assistant questions such as "Why do mobile visitors leave the checkout?" and get answers backed by real sessions. Vision's MCP server gives agents read access to your organisation, and nothing else: they cannot change anything.
MCP (Model Context Protocol) is the standard AI assistants use to call outside tools.
Before you start#
You need an API key. An owner creates it in API & MCP > Create key, and it is shown only once. See API keys.
The MCP server URL is:
https://vision.henkanpartners.ai/api/mcp
Every request must carry your key in the Authorization header as Bearer <your-api-key>.
Claude#
- Open Connectors In Claude, open Settings > Connectors and choose Add custom connector.
- Paste the URL Use
https://vision.henkanpartners.ai/api/mcpas the server URL. - Add your key Under Request headers, add
Authorizationwith the valueBearer <your-api-key>, and choose No sign in for authentication.
Claude Code#
Run this in a terminal, replacing the placeholder with your key, then run /mcp in Claude Code to check the connection:
claude mcp add --transport http henkan-vision https://vision.henkanpartners.ai/api/mcp --header "Authorization: Bearer <your-api-key>"
Cursor#
Add this to .cursor/mcp.json in your project, or to your global Cursor MCP settings:
{
"mcpServers": {
"henkan-vision": {
"url": "https://vision.henkanpartners.ai/api/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}
Other MCP clients#
Any client that supports remote MCP servers over HTTP with custom headers works.
- Transport. Streamable HTTP with JSON responses: one message per request, no batching, no session.
- Protocol versions.
2026-07-28(stateless:server/discover, version in each request's_metaand theMCP-Protocol-Version,Mcp-MethodandMcp-Nameheaders), and through theinitializehandshake2025-11-25,2025-06-18,2025-03-26and2024-11-05. An unsupported version gets the list of supported ones. - Tool definitions. Every tool has a title, read-only annotations and an input schema with formats, bounds and defaults. The list is the same for every key and can be cached for a day.
Available tools#
| Tool | What it returns |
|---|---|
list_sites | The sites in your organisation. |
get_site_overview | Sessions, friction rate, conversion rate, top frictions, top patterns sources (channel and source, with conversions and devices) and your own page groups and channels for the last 24 hours, 7 days or 30 days. |
search_sessions | Sessions filtered by site, date, friction, conversion, entry page, device, channel, source, visitor type, text, data layer values or your own page groups and channels (by name), with where each session came from and its data layer values. |
get_session_timeline | The steps and friction tags of one session. |
get_session_summary | The existing AI summary of a session. It never creates a new one. |
list_patterns | Recurring friction patterns over the last 30 days, for humans or AI agents. |
get_pattern | One pattern with its summary and up to 20 example sessions. |
list_data_layer_keys | The site's data layer keys (customer type, loyalty tier, cart value…) and the values seen over 30 days. |
get_data_layer_breakdown | Sessions, friction rate and conversion rate per value of a key, or per bracket for number keys. |
list_visitors | The site's human visitors over a period, newest visit first: visits, conversion and friction of each. |
get_visitor_journey | One visitor's visits with the pages of each visit, its friction tags and the data layer values pushed. |
list_funnels | The funnels saved on a site and their steps. |
get_funnel_report | One funnel over 24 hours, 7 days or 30 days: sessions per step, where they leave, devices, friction and the sessions that left. |
Parameters and response shapes are listed in the REST API reference; MCP tools and REST endpoints return the same data.
Sessions, patterns, visitors, funnels and sites come with an app_url: the Vision page that shows them, opened on the right site, so your assistant can link you straight to a replay.
When a tool cannot answer (an unknown id, a missing filter, a feature outside your plan), it returns an error that says how to fix the call, so the assistant can correct itself. A result too large to return is shortened, never cut mid-way: it keeps valid data and says how many items were left out.
Example prompts#
- "Which pages had the most rage clicks on maison-exemple.com in the last 7 days?"
- "Find mobile sessions that left from the checkout this week and summarise what went wrong."
- "List the patterns on our site and suggest an A/B test for the biggest one."
- "Compare the friction rate of gold and silver loyalty members, then show me sessions of gold members with a cart over €150."
