@okostream/mcp 0.1.2 → 0.3.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 CHANGED
@@ -4,7 +4,7 @@ MCP server for managing OKO Stream webinars as an organizer.
4
4
 
5
5
  ## Quick Setup
6
6
 
7
- 1. Create an API key in OKO: `/app/settings` -> API keys for MCP.
7
+ 1. Create an API key in OKO: `/app/mcp` -> access keys.
8
8
  2. Add the server to your MCP client config.
9
9
 
10
10
  Claude Desktop / Claude Code:
@@ -54,8 +54,9 @@ Every tool returns JSON text plus MCP `structuredContent`. List-like tools use b
54
54
 
55
55
  - `limit` defaults to 20-50 depending on the tool.
56
56
  - Cursor tools return both `hasMore`/`nextCursor` and `has_more`/`next_cursor`.
57
- - `oko_list_my_events`, `oko_get_analytics`, `oko_list_recent_chat`, `oko_list_participants`, and `oko_list_leads` support pagination.
57
+ - `oko_list_my_events`, `oko_get_analytics`, `oko_list_recent_chat`, `oko_list_participants`, `oko_list_leads`, `oko_list_notifications`, `oko_list_workspace_access`, `oko_list_workspace_invites`, and `oko_list_telegram_posts` support pagination.
58
58
  - `oko_get_analytics` omits heavy `timeline`, baseline/final snapshots, and NMO participant rows by default. Request `includeTimeline`, `includeSnapshots`, or `includeNmoRows` only when needed.
59
+ - `oko_get_session_report` returns a compact structured session report plus markdown suitable for a human handoff.
59
60
  - Oversized responses are truncated with `truncated: true` and a `truncationMessage`.
60
61
 
61
62
  This package is published as source-available runtime distribution for OKO customers. `license: UNLICENSED` means all rights reserved unless a separate agreement says otherwise.
@@ -89,40 +90,33 @@ Local config without npm publishing:
89
90
 
90
91
  All tools are prefixed with `oko_` for safe discovery next to other MCP servers.
91
92
 
92
- Read tools include:
93
-
94
- - `oko_whoami`
95
- - `oko_list_workspaces`
96
- - `oko_list_my_events`
97
- - `oko_get_event`
98
- - `oko_get_live_state`
99
- - `oko_get_analytics`
100
- - `oko_list_recent_chat`
101
- - `oko_list_participants`
102
- - `oko_list_leads`
103
-
104
- Write/control tools include:
105
-
106
- - `oko_create_webinar`
107
- - `oko_update_event`
108
- - `oko_configure_blocks`
109
- - `oko_configure_cards`
110
- - `oko_upload_image`
111
- - `oko_delete_image`
112
- - `oko_set_block_visibility`
113
- - `oko_refresh_viewers`
114
- - `oko_start_session`
115
- - `oko_end_session`
116
- - `oko_send_chat_message`
117
- - `oko_delete_chat_message`
118
- - `oko_mute_user`
119
- - `oko_ban_user`
120
- - `oko_set_chat_settings`
121
- - `oko_launch_checkpoint`
122
- - `oko_close_checkpoint`
123
- - `oko_publish_telegram_post`
124
- - `oko_create_workspace_invite`
125
- - `oko_delete_event`
93
+ Core discovery/read tools:
94
+
95
+ - `oko_whoami`, `oko_list_workspaces`, `oko_list_my_events`, `oko_get_event`
96
+ - `oko_update_profile`, `oko_list_notifications`, `oko_mark_notifications_read`
97
+ - `oko_get_live_state`, `oko_get_analytics`, `oko_get_session_report`, `oko_list_recent_chat`, `oko_list_participants`, `oko_list_leads`, `oko_delete_lead`
98
+
99
+ Event/setup/media tools:
100
+
101
+ - `oko_create_webinar`, `oko_update_event`, `oko_delete_event`
102
+ - `oko_duplicate_event`, `oko_move_event`
103
+ - `oko_configure_blocks`, `oko_configure_cards`
104
+ - `oko_upload_image`, `oko_delete_image`
105
+
106
+ Live/session/chat/NMO tools:
107
+
108
+ - `oko_set_block_visibility`, `oko_refresh_viewers`
109
+ - `oko_start_session`, `oko_end_session`, `oko_fix_orphan_session`, `oko_delete_session`
110
+ - `oko_send_chat_message`, `oko_delete_chat_message`, `oko_mute_user`, `oko_unmute_user`, `oko_ban_user`, `oko_unban_user`, `oko_set_chat_settings`
111
+ - `oko_launch_checkpoint`, `oko_close_checkpoint`
112
+ - `oko_add_nmo_participant`, `oko_import_nmo_participants`, `oko_remove_nmo_participant`
113
+
114
+ Workspace and Telegram tools:
115
+
116
+ - `oko_create_workspace`, `oko_update_workspace`, `oko_delete_workspace`
117
+ - `oko_list_workspace_access`, `oko_update_workspace_member`, `oko_remove_workspace_member`
118
+ - `oko_create_workspace_invite`, `oko_list_workspace_invites`, `oko_revoke_workspace_invite`, `oko_claim_workspace_invite`
119
+ - `oko_list_telegram_channels`, `oko_claim_telegram_channel`, `oko_list_telegram_posts`, `oko_cancel_telegram_post`, `oko_publish_telegram_post`
126
120
 
127
121
  Dangerous or external side-effect tools require `confirm: true`.
128
122
 
@@ -133,8 +127,12 @@ Dangerous or external side-effect tools require `confirm: true`.
133
127
  3. `oko_create_webinar` should create a test webinar and RTDB owner/workspace mirror.
134
128
  4. `oko_configure_cards` should create/update `blocks.cards.items` and preserve card image fields by stable card id.
135
129
  5. `oko_upload_image` should accept a local path or HTTPS image URL, upload `master.webp`, and let OKO generate variants.
136
- 6. `oko_delete_image` should clear image fields and best-effort delete master/variants.
137
- 7. `oko_get_analytics` should read an existing event with analytics sessions.
130
+ 6. `oko_start_session` -> `oko_fix_orphan_session` -> `oko_delete_session` should leave no active session pointers on a disposable test event.
131
+ 7. `oko_duplicate_event`, workspace tools, and `oko_move_event` should preserve Firestore access rules and RTDB owner/workspace mirrors.
132
+ 8. `oko_import_nmo_participants` should call CF24 and return per-row results; clean up test participants after import.
133
+ 9. `oko_get_session_report` should return markdown and structured session data for a completed session.
134
+ 10. `oko_list_notifications` -> `oko_mark_notifications_read` should read and clear an own disposable notification.
135
+ 11. `oko_get_analytics` should read an existing event with analytics sessions.
138
136
 
139
137
  CLI help:
140
138
 
package/dist/server.js CHANGED
@@ -22,7 +22,7 @@ if (process.argv.includes("--help")) {
22
22
  }
23
23
  const server = new McpServer({
24
24
  name: "oko-mcp-server",
25
- version: "0.1.2",
25
+ version: "0.3.0",
26
26
  });
27
27
  registerTools(server);
28
28
  const transport = new StdioServerTransport();