@brander/mcp-demo 0.1.0 → 0.1.2
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/dist/data/components.js
CHANGED
|
@@ -259,6 +259,24 @@ export const COMPONENTS = [
|
|
|
259
259
|
exampleQuery: "Show me actions I can take",
|
|
260
260
|
status: "stable",
|
|
261
261
|
},
|
|
262
|
+
{
|
|
263
|
+
id: "comp-video",
|
|
264
|
+
name: "VideoPlayer",
|
|
265
|
+
elementType: "video",
|
|
266
|
+
category: "Content & Media",
|
|
267
|
+
description: "Embedded video player supporting YouTube URLs and direct mp4/webm files. Configurable aspect ratios (16:9, 4:3, 1:1), optional autoplay, and a Discuss button that sends an AI query about the video content.",
|
|
268
|
+
popularityScore: 68,
|
|
269
|
+
usageCount: 8200,
|
|
270
|
+
props: ["id", "src", "title", "description", "action", "aspectRatio", "autoplay"],
|
|
271
|
+
useCases: [
|
|
272
|
+
"Product demo videos",
|
|
273
|
+
"Tutorial and onboarding content",
|
|
274
|
+
"Marketing campaign previews",
|
|
275
|
+
],
|
|
276
|
+
bestFor: ["tutorials", "demos", "media-rich"],
|
|
277
|
+
exampleQuery: "Show me the product demo video",
|
|
278
|
+
status: "new",
|
|
279
|
+
},
|
|
262
280
|
// --- Coming Soon ---
|
|
263
281
|
{
|
|
264
282
|
id: "comp-custom",
|
|
@@ -3,7 +3,7 @@ import { COMPONENTS } from "../data/components.js";
|
|
|
3
3
|
import { SCENARIOS } from "../data/scenarios.js";
|
|
4
4
|
export function registerComponentTools(server) {
|
|
5
5
|
server.registerTool("browse_components", {
|
|
6
|
-
description: "Browse BranderUX's
|
|
6
|
+
description: "Browse BranderUX's 15 built-in UI component types (plus Custom Elements coming soon). " +
|
|
7
7
|
"Filter by category, status, or search by name. Returns component cards with popularity, " +
|
|
8
8
|
"usage stats, and example queries. " +
|
|
9
9
|
"After getting results, use generate_screen with item_grid element type to display components " +
|