@sentientui/mcp 0.3.1 → 0.3.2
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/README.md +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ No account? Run without an API key:
|
|
|
66
66
|
npx @sentientui/mcp
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
A sandboxed demo token is provisioned automatically — 10 calls/month, no sign-up required. The token is cached in `~/.config/sentientui/mcp-anon.json`.
|
|
69
|
+
A sandboxed demo token is provisioned automatically — 10 calls/month, read-only (write tools require an account with an `sk_` key), no sign-up required. The token is cached in `~/.config/sentientui/mcp-anon.json`.
|
|
70
70
|
|
|
71
71
|
## Tools
|
|
72
72
|
|
|
@@ -82,6 +82,8 @@ A sandboxed demo token is provisioned automatically — 10 calls/month, no sign-
|
|
|
82
82
|
| `get_goal_funnel` | Goal hit counts and conversion rates per variant |
|
|
83
83
|
| `list_guardrail_events` | Variants auto-paused by the guardrail (last 24h) |
|
|
84
84
|
| `get_layout_stats` | Per-persona section layout rankings and reward weights |
|
|
85
|
+
| `get_integration_guide` | Framework-specific setup instructions for the current project |
|
|
86
|
+
| `get_test_brief` | What to test and how, for the project's current state |
|
|
85
87
|
| `get_variant_brief` | Insight-driven brief for writing a new **code-native** variant: performance, audience, insights, data-sufficiency (with a best-practice fallback when there's no data yet), and step-by-step code instructions |
|
|
86
88
|
| `create_variant` | Create a no-code (managed) text variant (Starter+) — fallback for text-only variants without a code change |
|
|
87
89
|
| `pause_variant` | Pause a variant to stop traffic assignment |
|
package/dist/index.cjs
CHANGED
|
@@ -259,7 +259,7 @@ var projectIdSchema8 = import_zod8.z.string().uuid().describe("The project UUID"
|
|
|
259
259
|
function registerVariantWriteTools(server, client) {
|
|
260
260
|
server.tool(
|
|
261
261
|
"create_variant",
|
|
262
|
-
"Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Requires Starter
|
|
262
|
+
"Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Requires a paid plan (server keys are Starter+; anonymous demo tokens are read-only).",
|
|
263
263
|
{
|
|
264
264
|
projectId: projectIdSchema8,
|
|
265
265
|
componentId: import_zod8.z.string().describe("The component ID to add a variant to"),
|
package/dist/index.js
CHANGED
|
@@ -258,7 +258,7 @@ var projectIdSchema8 = z8.string().uuid().describe("The project UUID");
|
|
|
258
258
|
function registerVariantWriteTools(server, client) {
|
|
259
259
|
server.tool(
|
|
260
260
|
"create_variant",
|
|
261
|
-
"Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Requires Starter
|
|
261
|
+
"Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Requires a paid plan (server keys are Starter+; anonymous demo tokens are read-only).",
|
|
262
262
|
{
|
|
263
263
|
projectId: projectIdSchema8,
|
|
264
264
|
componentId: z8.string().describe("The component ID to add a variant to"),
|