Manage Uscreen customers, subscriptions and product access, groups, invoices, offers, content visibility and view analytics.
Uscreen ships in the w6w first-party pack. It declares 33 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.uscreenUscreen is a video membership and OTT platform: a creator sells subscriptions, rentals and one-off purchases of videos, collections and live events from a branded storefront and apps. This app drives the Publisher API from a workflow: invite and update customers, grant or revoke product access, start and cancel subscriptions, manage group (team) seats, read invoices and offers, publish, unpublish or schedule content, mint single-sign-on links, and pull view analytics.
Three routes to the same 33 actions. The Workflow tab is generated from Uscreen's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
access-grant Grant a customer access to a product. Rent and recurring types take a next-action date; with manual billing, omit it.
access-list List the products (bundles, subscriptions, rentals, freebies) a customer has access to.
content-publish Publish a video, collection or live event. For a live event, an optional launch time lets customers pre-register for that date.
content-schedule Schedule a video or collection for future publication. Not available for live events (use Publish with a launch time). Rescheduling published content needs the confirm flag.
customer-create Create a customer (or promote an existing lead) and, unless skipped, send the platform invite email.
customer-list List customers, newest first, optionally limited by a created/updated date range.
customer-sso-link-create Generate a single-sign-on URL that logs the customer into the storefront.
customer-update Update a customer's email, name, password, Stripe id, custom fields, consent flags, tags or topic unsubscribes. Only the fields you send change.
email-topic-list List the store's active marketing-email topics (at most 10). Use the ids to unsubscribe customers from specific topics.
invoice-list List invoices. Total-Count is capped at 10000+ here and the Link header carries no `last`.
playlist-item-list List a content item's playlist items (formerly chapters) and file resources.
subscription-cancel Cancel the customer's active non-OTT subscription. Apple, Roku, Android and Amazon subscriptions are refused by Uscreen (422). No active subscription is a success with `active: false`.
subscription-get The customer's active subscription. `active` is false and `subscription` null when they have none (the API answers 204).
views-list List individual video views, optionally for one customer or one video, collection or live event. Defaults to the last 12 months.
views-summary-list Aggregated view counts and watch time grouped by customer and video. Total-Count is capped at 10000+ on this endpoint.
watch-time-get Total video watch time (seconds) for a customer, a piece of content, or the whole store, over a date range (default last 12 months).
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Uscreen's real ids.
{
"manifestVersion": "2",
"name": "uscreen-example",
"steps": [
{
"id": "access-get",
"uses": {
"app": "io.w6w.uscreen",
"action": "access-get",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"customerId": "<customerId>",
"accessId": "<accessId>"
}
}
]
}access-get access-grant access-list content-get content-list +28 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Uscreen, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Uscreen. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "access-get",
payload: {
customerId: "<value>",
accessId: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action access-get --payload '{"customerId":"<value>","accessId":"<value>"}' Give an AI agent Uscreen — without giving it Uscreen's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.uscreen#access-get",
"input": {
"customerId": "<customerId>",
"accessId": "<accessId>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Uscreen connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Uscreen's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Uscreen itself is MIT, and the runtime that executes it is source-available (FSL).
Uscreen declares its own checks, so its health is a property of the app rather than something the host guesses at.
The API V1 component on status.uscreen.tv; the other Uscreen components (storefront, admin portal, video on demand, live streaming) are reported as detail.
Unauthenticated GET /publisher_api/v1/email_topics. A 401 carrying Uscreen's JSON `{"message": …}` passes — it proves the API and its auth layer are answering.