@okostream/mcp 0.18.3 → 0.20.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/README.md +26 -9
- package/dist/server.js +10131 -6249
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ analytics, and integrations around a video player supplied by the organizer.
|
|
|
9
9
|
Webinar data and actions require an active OKO organizer account. An active
|
|
10
10
|
organizer account is required before an API key can be created.
|
|
11
11
|
|
|
12
|
-
-
|
|
12
|
+
- Have an account: [sign in or register](https://okostream.app/auth?redirect=/app/mcp).
|
|
13
13
|
- Already an organizer: create a scoped key in the
|
|
14
14
|
[authenticated MCP install center](https://okostream.app/app/mcp).
|
|
15
15
|
- No key yet: the server still starts in onboarding-only mode.
|
|
@@ -109,7 +109,9 @@ A new page is a draft: viewers of its public URL see "not published".
|
|
|
109
109
|
`SCOPE_REQUIRED` and need a new key. A page in a shared workspace is paid from
|
|
110
110
|
the workspace owner's wallet: its balance is told, in the previews and
|
|
111
111
|
refusals, to whoever may spend from it; its grants and ledger are the owner's
|
|
112
|
-
to read.
|
|
112
|
+
to read. `oko_workspace_wallet` reads just that balance for one workspace, as a
|
|
113
|
+
single number (the payer, or a member who may spend from the payer's wallet;
|
|
114
|
+
same scope `wallet:read`); an unreadable balance is an error, never zero.
|
|
113
115
|
- **Payment and terms are web-only.** Plans and lumens are bought, and terms
|
|
114
116
|
accepted, only in the OKO web cabinet, and no MCP tool collects a password,
|
|
115
117
|
card or bank details, or agreement to terms on anyone's behalf.
|
|
@@ -144,6 +146,13 @@ Refusals are explicit and never require guessing:
|
|
|
144
146
|
workspace owner does not hold another shared workspace, another member, or
|
|
145
147
|
the capability at all. A refused invitation stays valid. Plans are bought only
|
|
146
148
|
in the OKO cabinet, never through MCP.
|
|
149
|
+
- `CONTROL_ROOM_REQUIRED` — `oko_control_poll` was asked to launch a poll for
|
|
150
|
+
everyone or to reset its count, which use the live control room of the show
|
|
151
|
+
(a paid option of a published page, bought in the analytics screen, never
|
|
152
|
+
through MCP). Showing the results, closing, reopening and hiding need no
|
|
153
|
+
control room. Nothing is changed by the refusal.
|
|
154
|
+
- `WALLET_VIEW_FORBIDDEN` — `oko_workspace_wallet` tells the balance only to the
|
|
155
|
+
payer of the workspace and to members who may spend from it.
|
|
147
156
|
- `WORKSPACE_INACTIVE` — `oko_publish_event` in a shared workspace the plan does
|
|
148
157
|
not hold open (only a new publication is closed): Core — shared workspaces are
|
|
149
158
|
not included (Pro); Pro — one active workspace (the owner's choice, or Max); no
|
|
@@ -170,22 +179,30 @@ always works. The result's `sourceVia` says who fetched the image.
|
|
|
170
179
|
## Capabilities
|
|
171
180
|
|
|
172
181
|
- Create, duplicate, move, restore, and delete webinars.
|
|
173
|
-
- Configure video, forms, calls to action, cards, banners, and images.
|
|
174
|
-
already published page, turning on a banner, CTA, cards
|
|
175
|
-
lumens each for that show: the tool answers with the quote first and
|
|
176
|
-
only after `confirm=true`; unpublishing later does not return these
|
|
182
|
+
- Configure video, forms, polls, calls to action, cards, banners, and images.
|
|
183
|
+
On an already published page, turning on a banner, CTA, cards, forms or polls
|
|
184
|
+
costs 10 lumens each for that show: the tool answers with the quote first and
|
|
185
|
+
writes only after `confirm=true`; unpublishing later does not return these
|
|
186
|
+
top-ups.
|
|
177
187
|
The live control room is a paid option of a published page (50 lumens, Pro
|
|
178
188
|
and above) bought in the analytics screen, not through MCP.
|
|
179
189
|
- Operate live audience controls, chat, moderation, and analytics sessions.
|
|
180
|
-
-
|
|
190
|
+
- Run polls: build them, bind them to buttons, close and reopen voting, show or
|
|
191
|
+
hide the results to viewers, launch one for everyone or reset its count (the
|
|
192
|
+
last two with the live control room), and read the live count and the
|
|
193
|
+
per-session results (`oko_control_poll`, `oko_get_live_state`,
|
|
194
|
+
`oko_get_session_report`).
|
|
195
|
+
- Read analytics, session reports, geography, engagement, form submissions and
|
|
196
|
+
poll results.
|
|
181
197
|
- Manage workspaces, invitations, notifications, and Telegram publishing
|
|
182
198
|
(5 lumens per post, shown in the confirmation preview).
|
|
183
|
-
- Read your own plan, lumen balance and ledger (`oko_wallet`)
|
|
199
|
+
- Read your own plan, lumen balance and ledger (`oko_wallet`), and the balance of
|
|
200
|
+
the wallet that pays for a workspace (`oko_workspace_wallet`).
|
|
184
201
|
|
|
185
202
|
OKO MCP acts as the organizer represented by the selected access key. It does
|
|
186
203
|
not inherit platform-owner privileges. Keys are scoped and revocable, and
|
|
187
204
|
consequential actions require explicit confirmation.
|
|
188
205
|
|
|
189
206
|
Local image access is disabled unless you explicitly select an allowed folder.
|
|
190
|
-
The MCP package does not host video, create accounts, issue invitations, expose
|
|
207
|
+
The MCP package does not host video, create accounts, issue platform invitations, expose
|
|
191
208
|
arbitrary Firebase administration, or inherit platform-owner privileges.
|