@okostream/mcp 0.12.1 → 0.12.3

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 CHANGED
@@ -7,7 +7,7 @@ analytics, and integrations around a video player supplied by the organizer.
7
7
  ## Before You Connect
8
8
 
9
9
  Webinar data and actions require an active OKO organizer account. Organizer
10
- access is currently provided by invitation rather than public self-service
10
+ an active organizer account is required before an API key can be created
11
11
  signup.
12
12
 
13
13
  - Already invited: [sign in or register](https://okostream.app/auth?redirect=/app/mcp).
@@ -21,6 +21,18 @@ Node.js 20.18.1 or newer is required.
21
21
 
22
22
  ## Install
23
23
 
24
+ The package ships as one self-contained file (about 4 MB, no dependencies to
25
+ install). Before wiring it into a client, warm it up once in a terminal and
26
+ wait for the `OKO MCP Server` banner:
27
+
28
+ ```bash
29
+ npx -y @okostream/mcp@latest --help
30
+ ```
31
+
32
+ This keeps the first client start under the 30-second MCP startup timeout;
33
+ an interrupted first download would otherwise leave a broken copy in the npx
34
+ cache and the client would report `Connection closed`.
35
+
24
36
  ### Claude Desktop and JSON-based clients
25
37
 
26
38
  ```json
@@ -63,6 +75,32 @@ After the connection is active:
63
75
 
64
76
  > Use OKO to show who I am and list my latest webinars.
65
77
 
78
+ ## Updating
79
+
80
+ With `npx -y @okostream/mcp@latest`, restarting the client installs the newest
81
+ published version. The server reports the latest version during the key
82
+ exchange: `oko_whoami` and `oko_connection_status` return `update`, and the
83
+ first results of a session carry an `UPDATE AVAILABLE` block while the client
84
+ is behind, with the exact update step. Global installs update with
85
+ `npm install -g @okostream/mcp@latest`; Claude Desktop users reinstall the
86
+ `.mcpb` bundle from the install center.
87
+
88
+ ## When a tool refuses
89
+
90
+ Refusals are explicit and never require guessing:
91
+
92
+ - `SCOPE_REQUIRED` — the API key lacks a scope; the result names the key
93
+ presets that include it and a workaround when one exists.
94
+ - `PLATFORM_REJECTED_WRITE` — OKO's security rules refused the write. Retrying
95
+ or rephrasing does not help; the result carries a ready-made report for the
96
+ OKO team.
97
+ - `PLATFORM_REJECTED_READ` — no access to that resource, or it does not exist.
98
+
99
+ Image URLs are resolved locally. On a machine where a VPN or proxy intercepts
100
+ DNS, public hosts resolve to fake addresses (`198.18.x.x`); such uploads still
101
+ work, and the result says so. Uploading a file from disk (`OKO_IMAGE_ROOTS`)
102
+ always works.
103
+
66
104
  ## Capabilities
67
105
 
68
106
  - Create, duplicate, move, restore, and delete webinars.