@sentientui/mcp 0.22.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -0
- package/README.md +4 -3
- package/dist/{chunk-LD4CVJVO.js → chunk-V3A552VK.js} +440 -275
- package/dist/index.cjs +440 -275
- package/dist/index.js +1 -1
- package/dist/lib.cjs +441 -275
- package/dist/lib.js +2 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -56,6 +56,7 @@ Every write tool changes what real visitors see or what the project accepts —
|
|
|
56
56
|
| `get_funnel_report` | read | Step-by-step funnel drop-off |
|
|
57
57
|
| `list_guardrail_events` | read | Every variant still paused by a guardrail; `days` narrows to recent pauses |
|
|
58
58
|
| `get_persona_breakdown` | read | Cluster distribution + avg reliability per cluster (all retained sessions, not windowed) |
|
|
59
|
+
| `get_stage_breakdown` | read | E-commerce funnel stages: stage mix (observed vs hinted), arrival channel x stage, stage moves between visits, tested holdout lift per first-visit context and channel (the headline lift's always-valid test, all-time, alpha split over 23 series), versions per context with evidence (windowed, observational) |
|
|
59
60
|
| `get_layout_stats` | read | Per-persona layout order + bandit pulls/reward (cumulative state, not windowed) |
|
|
60
61
|
| `get_insights` | read | Ranked measured findings (tier + sample, low-sample flagged; `limit`, default 10) + (Growth) AI narrations, which are unmeasured |
|
|
61
62
|
| `refresh_insights` | write | Async trigger — wait ~15s then call `get_insights`. Starter+ and an editor/admin role |
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ MCP server for [SentientUI](https://sentient-ui.com) — gives AI agents in Clau
|
|
|
14
14
|
|
|
15
15
|
**1. Get a server key**
|
|
16
16
|
|
|
17
|
-
Dashboard → Project → **Settings → API key → Server key** → Generate. Available on every plan, including Free. A server key belongs to **one project**: it can read and change only that project, and generating a new one revokes the previous key.
|
|
17
|
+
Dashboard → Project → **Settings → API key → Server key** → Generate, and copy it right away — it is shown only once. Available on every plan, including Free. A server key belongs to **one project**: it can read and change only that project, and generating a new one revokes the previous key (except keys held by a connected Shopify store).
|
|
18
18
|
|
|
19
19
|
**2. Add to your AI assistant**
|
|
20
20
|
|
|
@@ -107,6 +107,7 @@ A demo token is provisioned automatically — 10 calls/month, read-only (write t
|
|
|
107
107
|
| `get_funnel_report` | read | Step-by-step funnel drop-off |
|
|
108
108
|
| `list_guardrail_events` | read | Every variant currently paused by a guardrail (pass `days` to see only pauses from the last N days) |
|
|
109
109
|
| `get_persona_breakdown` | read | Visitor clusters with session counts and reliability (all retained sessions) |
|
|
110
|
+
| `get_stage_breakdown` | read | E-commerce funnel stages: stage mix, arrival channel x stage, stage moves between visits, tested holdout lift per first-visit context and channel (all-time), and versions per context (windowed, observational) |
|
|
110
111
|
| `get_layout_stats` | read | Per-persona section order with bandit pulls and reward (cumulative state) |
|
|
111
112
|
| `get_insights` | read | Ranked measured findings with their sample (low samples flagged), plus AI narrations marked unmeasured |
|
|
112
113
|
| `refresh_insights` | write | Regenerate AI insights — needs Starter or higher and an editor/admin role (a paid model call); advisor recommendations are Growth+ |
|
|
@@ -149,7 +150,7 @@ A demo token is provisioned automatically — 10 calls/month, read-only (write t
|
|
|
149
150
|
|
|
150
151
|
The server key you provide is passed as a `Bearer` token on every call to the SentientUI management API. It is scoped to **one project**: `list_projects` returns only that project, and calls naming any other project are refused. To work across several projects, connect by URL with an OAuth sign-in instead. Keys are never logged or stored by the MCP package; they exist only in the process environment.
|
|
151
152
|
|
|
152
|
-
Server keys start with `sk_` (not `pk_`). Public keys (`pk_`) are for the React
|
|
153
|
+
Server keys start with `sk_` (not `pk_`). Public keys (`pk_`) are for the browser SDKs (React, core, the script-tag snippet) and will be rejected by the management API.
|
|
153
154
|
|
|
154
155
|
## AI agent context
|
|
155
156
|
|
|
@@ -157,7 +158,7 @@ Server keys start with `sk_` (not `pk_`). Public keys (`pk_`) are for the React
|
|
|
157
158
|
|
|
158
159
|
| Assistant | How to use |
|
|
159
160
|
|-----------|-----------|
|
|
160
|
-
| **Claude Code** |
|
|
161
|
+
| **Claude Code** | Append to your project's `CLAUDE.md` (or `~/.claude/CLAUDE.md` for every project) |
|
|
161
162
|
| **Cursor** | Copy to `.cursor/rules/sentientui.mdc` |
|
|
162
163
|
| **GitHub Copilot** | Append to `.github/copilot-instructions.md` |
|
|
163
164
|
| **Other** | Paste into your assistant's system prompt |
|