@hyperstar/mcp 0.1.15 → 0.1.16
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/LICENSE +8 -0
- package/README.md +109 -29
- package/package.json +3 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Hyperstar MCP Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Hyperstar. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This package is published for use with Hyperstar services. The package and its
|
|
6
|
+
contents are proprietary. No permission is granted to copy, modify, distribute,
|
|
7
|
+
sublicense, or use this package except as expressly authorized by Hyperstar.
|
|
8
|
+
|
package/README.md
CHANGED
|
@@ -5,10 +5,19 @@ workflows. It exposes scoped creator search, campaign roster, bulk email, and
|
|
|
5
5
|
inbox tools for MCP clients using either a service-account key or local browser
|
|
6
6
|
CLI login.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
This README is self-contained for first-time agent setup. You do not need
|
|
9
|
+
access to the Hyperstar source repository to install the package, configure an
|
|
10
|
+
MCP client, or understand the safe workflow order.
|
|
10
11
|
|
|
11
|
-
##
|
|
12
|
+
## Requirements
|
|
13
|
+
|
|
14
|
+
- Node.js `22.12.0` or newer.
|
|
15
|
+
- An active Hyperstar account with access to at least one workspace.
|
|
16
|
+
- Either a service-account API key or permission to approve local browser CLI
|
|
17
|
+
login.
|
|
18
|
+
- An MCP-capable client that can launch a local stdio server.
|
|
19
|
+
|
|
20
|
+
## Install And Login
|
|
12
21
|
|
|
13
22
|
Run the MCP server directly from npm:
|
|
14
23
|
|
|
@@ -32,29 +41,18 @@ path, use the equivalent `npm exec` form:
|
|
|
32
41
|
npm exec --yes --package @hyperstar/mcp -- hyperstar-mcp
|
|
33
42
|
```
|
|
34
43
|
|
|
35
|
-
For
|
|
44
|
+
For interactive local use, start with browser login. The CLI opens Hyperstar in
|
|
45
|
+
your browser and never asks for a raw Hyperstar password in the terminal:
|
|
36
46
|
|
|
37
47
|
```sh
|
|
38
48
|
npx -y --package @hyperstar/mcp hyperstar login
|
|
39
49
|
npx -y --package @hyperstar/mcp hyperstar workspaces list --json
|
|
40
|
-
npx -y --package @hyperstar/mcp hyperstar workspaces use
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
For unreleased local package testing, pack from the package directory and use
|
|
44
|
-
the filename printed by `npm pack`:
|
|
45
|
-
|
|
46
|
-
```sh
|
|
47
|
-
cd projects/hyperstar-mcp
|
|
48
|
-
TARBALL=$(npm pack --silent)
|
|
49
|
-
npx -y --package "./$TARBALL" hyperstar-mcp
|
|
50
|
-
npx -y --package "./$TARBALL" hyperstar login
|
|
51
|
-
npx -y --package "./$TARBALL" hyperstar workspaces list --json
|
|
52
|
-
npx -y --package "./$TARBALL" hyperstar workspaces use org_123
|
|
50
|
+
npx -y --package @hyperstar/mcp hyperstar workspaces use <organization_id>
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
For unattended automation, create a service-account key from Team -> API keys in
|
|
54
|
+
the dashboard. Use the headless workflow preset. Enable inbox write only for
|
|
55
|
+
agents that are allowed to send inbox replies.
|
|
58
56
|
|
|
59
57
|
## MCP client config
|
|
60
58
|
|
|
@@ -144,18 +142,59 @@ It also exposes matching prompts:
|
|
|
144
142
|
- `hyperstar_bulk_email_safety`
|
|
145
143
|
- `hyperstar_inbox_workflow`
|
|
146
144
|
|
|
147
|
-
##
|
|
145
|
+
## First Agent Prompts
|
|
148
146
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
147
|
+
Use prompts like these with a newly connected agent:
|
|
148
|
+
|
|
149
|
+
```text
|
|
150
|
+
Use the Hyperstar MCP tools. First, discover the available Hyperstar workflow
|
|
151
|
+
guides and tell me the safe order for search, campaign save, bulk email, and
|
|
152
|
+
inbox handling.
|
|
154
153
|
```
|
|
155
154
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
```text
|
|
156
|
+
Use Hyperstar to search TikTok creators in the US for ceramic mug reviewers.
|
|
157
|
+
Return only a compact summary and explain the next tool I should approve before
|
|
158
|
+
saving anything to a campaign.
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
```text
|
|
162
|
+
List my Hyperstar campaigns and explain how you would safely check bulk email
|
|
163
|
+
readiness for one campaign without starting a real send.
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
```text
|
|
167
|
+
List recent Hyperstar inbox threads, then read the full messages for one thread
|
|
168
|
+
before drafting any reply. Do not send a reply unless I explicitly authorize it.
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## Workflow Safety
|
|
172
|
+
|
|
173
|
+
Agents should start with `get_hyperstar_workflow_guide` or the MCP guide
|
|
174
|
+
resources. The server exposes these main workflow tools:
|
|
175
|
+
|
|
176
|
+
- `search_creators`
|
|
177
|
+
- `get_search_results`
|
|
178
|
+
- `list_campaigns`
|
|
179
|
+
- `create_campaign`
|
|
180
|
+
- `save_search_results_to_campaign`
|
|
181
|
+
- `list_campaign_creators`
|
|
182
|
+
- `check_bulk_email_readiness`
|
|
183
|
+
- `start_bulk_email`
|
|
184
|
+
- `get_bulk_email_job`
|
|
185
|
+
- `list_inbox_threads`
|
|
186
|
+
- `get_inbox_thread_messages`
|
|
187
|
+
- `update_inbox_thread_state`
|
|
188
|
+
- `send_inbox_reply`
|
|
189
|
+
|
|
190
|
+
`start_bulk_email` and `send_inbox_reply` perform real sends. Both require
|
|
191
|
+
`send_confirmation: "user_authorized"` and a stable `idempotency_key`. Agents
|
|
192
|
+
should call readiness and full-thread read tools before asking for send
|
|
193
|
+
authorization.
|
|
194
|
+
|
|
195
|
+
Search result tools return compact creator summaries by default. Bulk campaign
|
|
196
|
+
import uses `search_id` server-side, so the agent does not need to paste an
|
|
197
|
+
entire creator list into its context window.
|
|
159
198
|
|
|
160
199
|
## Examples
|
|
161
200
|
|
|
@@ -301,3 +340,44 @@ history:
|
|
|
301
340
|
}
|
|
302
341
|
}
|
|
303
342
|
```
|
|
343
|
+
|
|
344
|
+
## Clean-Room Smoke Check
|
|
345
|
+
|
|
346
|
+
Without a repository checkout, verify npm can resolve the package and both
|
|
347
|
+
binaries can start:
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
npm view @hyperstar/mcp version --silent
|
|
351
|
+
npm exec --yes --package @hyperstar/mcp -- hyperstar --help
|
|
352
|
+
npm exec --yes --package @hyperstar/mcp -- hyperstar-mcp --help
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
These checks do not authenticate and do not call Hyperstar workflow APIs. They
|
|
356
|
+
only prove that npm can resolve the package and both binaries can start.
|
|
357
|
+
|
|
358
|
+
## Troubleshooting
|
|
359
|
+
|
|
360
|
+
- `npm error could not determine executable to run`: use the explicit
|
|
361
|
+
`--package @hyperstar/mcp -- hyperstar` or
|
|
362
|
+
`--package @hyperstar/mcp -- hyperstar-mcp` form because the package exposes
|
|
363
|
+
multiple binaries.
|
|
364
|
+
- `No Hyperstar auth configured`: run `hyperstar login` and select a workspace,
|
|
365
|
+
or set `HYPERSTAR_API_KEY` in the MCP server environment.
|
|
366
|
+
- Workspace errors in browser-login mode: run
|
|
367
|
+
`hyperstar workspaces list --json`, then
|
|
368
|
+
`hyperstar workspaces use <organization_id>`.
|
|
369
|
+
- Non-production login opens the wrong app: set both `HYPERSTAR_API_BASE_URL`
|
|
370
|
+
and `HYPERSTAR_APP_BASE_URL`.
|
|
371
|
+
|
|
372
|
+
## Development
|
|
373
|
+
|
|
374
|
+
```sh
|
|
375
|
+
npm install
|
|
376
|
+
npm test
|
|
377
|
+
npm run build
|
|
378
|
+
npm run smoke:npm
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
`npm run smoke:npm` verifies the published npm package can be resolved and that
|
|
382
|
+
both package binaries print help without requiring local build artifacts,
|
|
383
|
+
authentication, or real workflow API calls.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperstar/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"description": "Local stdio MCP server and CLI for Hyperstar headless workflows.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"hyperstar",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
36
|
"scripts/npm-clean-room-smoke.mjs",
|
|
37
|
+
"LICENSE",
|
|
37
38
|
"README.md",
|
|
38
39
|
"package.json"
|
|
39
40
|
],
|