@sentientui/mcp 0.3.4 → 0.4.1
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/LICENSE +21 -0
- package/README.md +7 -0
- package/dist/chunk-ZXI3OZKA.js +725 -0
- package/dist/index.cjs +54 -0
- package/dist/index.js +4 -664
- 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 +24 -2
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/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SentientUI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
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) |
|