@sentientui/mcp 0.3.3 → 0.4.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 +7 -0
- package/dist/chunk-ZXI3OZKA.js +725 -0
- package/dist/index.cjs +61 -1
- package/dist/index.js +4 -662
- package/dist/lib.cjs +758 -0
- package/dist/lib.d.cts +20 -0
- package/dist/lib.d.ts +20 -0
- package/dist/lib.js +11 -0
- package/package.json +22 -1
package/AGENTS.md
CHANGED
|
@@ -30,6 +30,7 @@ Server keys start with `sk_` — required for the management API. Public keys (`
|
|
|
30
30
|
| Tool | Notes |
|
|
31
31
|
|------|-------|
|
|
32
32
|
| `list_projects` | Start here to get project IDs |
|
|
33
|
+
| `create_project` | Onboard a new user: creates a project + returns its `pk_` key. Needs an account login (OAuth) — refuses `sk_` project keys and demo tokens. Follow with `get_integration_guide` |
|
|
33
34
|
| `get_project_stats` | Health status + 24h event/session volume |
|
|
34
35
|
| `list_components` | Components + variant counts + impression totals |
|
|
35
36
|
| `get_variant_performance` | CVR 7d vs prior 7d + momentum direction |
|
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@ MCP server for [SentientUI](https://sentient-ui.com) — gives AI agents in Clau
|
|
|
4
4
|
|
|
5
5
|
## Quick start
|
|
6
6
|
|
|
7
|
+
> **Prefer no key?** You can skip local install entirely and connect your assistant to the hosted endpoint by URL with an OAuth sign-in — this is the only way to use SentientUI from web/app assistants (claude.ai, ChatGPT):
|
|
8
|
+
> ```
|
|
9
|
+
> https://api.sentient-ui.com/mcp
|
|
10
|
+
> ```
|
|
11
|
+
> Claude Code: `claude mcp add --transport http sentientui https://api.sentient-ui.com/mcp`. For stdio-only clients: `npx mcp-remote https://api.sentient-ui.com/mcp`. The rest of this README covers the local, key-based install below.
|
|
12
|
+
|
|
7
13
|
**1. Get a server key**
|
|
8
14
|
|
|
9
15
|
Dashboard → Project → **Settings → API key → Server key** → Generate (requires Starter or Growth plan).
|
|
@@ -77,6 +83,7 @@ A sandboxed demo token is provisioned automatically — 10 calls/month, read-onl
|
|
|
77
83
|
| Tool | What it does |
|
|
78
84
|
|------|-------------|
|
|
79
85
|
| `list_projects` | List all projects in the account |
|
|
86
|
+
| `create_project` | Create a new project and return its `pk_` public key (account login required — not usable with an `sk_` project key or demo token) |
|
|
80
87
|
| `get_project_stats` | Events, sessions, agent calls, and health status |
|
|
81
88
|
| `list_components` | All adaptive components with variant counts |
|
|
82
89
|
| `get_variant_performance` | CVR, momentum, and impressions per variant (7d vs prior 7d) |
|