@uibot/mcp-server 0.0.0-stage → 0.2.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.
Files changed (42) hide show
  1. package/dist/content.d.ts +15 -0
  2. package/dist/discovery.d.ts +40 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +0 -0
  5. package/dist/resources/design-md/claude.design.md +178 -0
  6. package/dist/resources/design-md/control-console.design.md +176 -0
  7. package/dist/resources/design-md/figma.design.md +102 -0
  8. package/dist/resources/design-md/frontend-principles.design.md +155 -0
  9. package/dist/resources/design-md/ibm.design.md +109 -0
  10. package/dist/resources/design-md/linear.design.md +175 -0
  11. package/dist/resources/design-md/notion.design.md +175 -0
  12. package/dist/resources/design-md/raycast.design.md +106 -0
  13. package/dist/resources/design-md/stripe.design.md +178 -0
  14. package/dist/resources/design-md/supabase.design.md +185 -0
  15. package/dist/resources/design-md/vercel.design.md +172 -0
  16. package/dist/resources/shells/app-shell-floating.yaml +42 -0
  17. package/dist/resources/shells/app-shell-icon-rail.yaml +42 -0
  18. package/dist/resources/shells/app-shell-inset.yaml +42 -0
  19. package/dist/resources/shells/app-shell-settings.yaml +56 -0
  20. package/dist/resources/shells/app-shell-sidebar.yaml +47 -0
  21. package/dist/resources/shells/app-shell-workspace.yaml +54 -0
  22. package/dist/resources/shells/shadcn-admin-shell.yaml +151 -0
  23. package/dist/resources/templates/admin-dashboard.yaml +183 -0
  24. package/dist/resources/templates/ai-chat.yaml +448 -0
  25. package/dist/resources/templates/analytics-dashboard.yaml +152 -0
  26. package/dist/resources/templates/auth.yaml +90 -0
  27. package/dist/resources/templates/blog.yaml +111 -0
  28. package/dist/resources/templates/crm.yaml +161 -0
  29. package/dist/resources/templates/ecommerce.yaml +169 -0
  30. package/dist/resources/templates/lms.yaml +459 -0
  31. package/dist/resources/templates/portfolio.yaml +139 -0
  32. package/dist/resources/templates/pricing.yaml +171 -0
  33. package/dist/resources/templates/saas-landing.yaml +199 -0
  34. package/dist/resources/templates/settings.yaml +151 -0
  35. package/dist/resources/templates/shadcn-admin.yaml +4660 -0
  36. package/dist/resources/templates/store.yaml +469 -0
  37. package/dist/resources/templates/support-inbox.yaml +96 -0
  38. package/dist/resources/templates/team-directory.yaml +98 -0
  39. package/dist/server.d.ts +23 -0
  40. package/dist/server.js +138 -0
  41. package/package.json +39 -4
  42. package/README.md +0 -3
@@ -0,0 +1,448 @@
1
+ version: '2.0'
2
+ menus:
3
+ items:
4
+ - key: chat
5
+ label: Chat
6
+ path: /
7
+ icon: ◫
8
+ - key: history
9
+ label: History
10
+ path: /history
11
+ icon: ▤
12
+ - key: usage
13
+ label: Usage
14
+ path: /usage
15
+ icon: ◔
16
+ - key: settings
17
+ label: Settings
18
+ path: /settings
19
+ icon: ⚙
20
+ pages:
21
+ - id: chat
22
+ path: /
23
+ title: Nova — Chat
24
+ state:
25
+ selectedId: c-2
26
+ blocks:
27
+ - type: PageLayout
28
+ props:
29
+ title: Nova AI
30
+ slots:
31
+ headerActions:
32
+ - type: Button
33
+ props:
34
+ label: + New chat
35
+ size: sm
36
+ children:
37
+ - type: SplitMasterDetail
38
+ props:
39
+ selectKey: selectedId
40
+ items:
41
+ - id: c-1
42
+ title: Refactor a React hook
43
+ subtitle: GPT-4o · 2m ago
44
+ - id: c-2
45
+ title: Explain the chain rule
46
+ subtitle: Claude 3.5 · 18m ago
47
+ - id: c-3
48
+ title: Draft a launch email
49
+ subtitle: GPT-4o · 1h ago
50
+ - id: c-4
51
+ title: SQL window functions
52
+ subtitle: Claude 3.5 · yesterday
53
+ slots:
54
+ detail:
55
+ - type: Box
56
+ props:
57
+ className: "flex min-h-[28rem] flex-col border border-border"
58
+ children:
59
+ - type: Box
60
+ props:
61
+ className: "flex items-center justify-between border-b border-border px-4 py-3"
62
+ children:
63
+ - type: Box
64
+ children:
65
+ - type: Heading
66
+ props:
67
+ level: 3
68
+ text: Explain the chain rule
69
+ - type: Paragraph
70
+ props:
71
+ size: sm
72
+ muted: true
73
+ text: Claude 3.5 Sonnet · sample thread
74
+ - type: BadgeGroup
75
+ props:
76
+ items:
77
+ - label: temp 0.4
78
+ tone: info
79
+ - label: 1.2k tokens
80
+ tone: default
81
+ - type: Box
82
+ props:
83
+ className: "flex flex-1 flex-col gap-3 px-4 py-4"
84
+ children:
85
+ - type: Box
86
+ props:
87
+ className: "max-w-[85%] self-end border border-border px-3 py-2"
88
+ children:
89
+ - type: Paragraph
90
+ props:
91
+ size: sm
92
+ muted: true
93
+ text: You
94
+ - type: Markdown
95
+ props:
96
+ content: Can you explain the **chain rule** in calculus with a quick example?
97
+ - type: Box
98
+ props:
99
+ className: "max-w-[85%] self-start bg-muted/40 px-3 py-2"
100
+ children:
101
+ - type: Paragraph
102
+ props:
103
+ size: sm
104
+ muted: true
105
+ text: Nova
106
+ - type: Markdown
107
+ props:
108
+ content: 'The **chain rule** differentiates a *composition* of functions.
109
+
110
+ If `y = f(g(x))`, then `dy/dx = f''(g(x)) · g''(x)`.
111
+
112
+
113
+ **Example** — for `y = (3x + 1)^5`:
114
+
115
+
116
+ - Outer: `u^5` → derivative `5u^4`
117
+
118
+ - Inner: `3x + 1` → derivative `3`
119
+
120
+
121
+ So `dy/dx = 5(3x + 1)^4 · 3 = 15(3x + 1)^4`.
122
+
123
+ '
124
+ - type: Box
125
+ props:
126
+ className: "border-t border-border px-4 py-3"
127
+ children:
128
+ - type: Form
129
+ children:
130
+ - type: Form.TextArea
131
+ props:
132
+ name: message
133
+ label: Message
134
+ rows: 2
135
+ placeholder: Ask a follow-up…
136
+ - type: Form.Submit
137
+ props:
138
+ label: Send
139
+ template: app-shell-sidebar
140
+ - id: history
141
+ path: /history
142
+ title: Nova — History
143
+ blocks:
144
+ - type: PageLayout
145
+ props:
146
+ title: Nova AI
147
+ slots:
148
+ headerActions:
149
+ - type: Button
150
+ props:
151
+ label: Clear all
152
+ size: sm
153
+ variant: outline
154
+ children:
155
+ - type: Box
156
+ props:
157
+ className: mb-2
158
+ children:
159
+ - type: Heading
160
+ props:
161
+ level: 2
162
+ text: Conversation history
163
+ - type: Paragraph
164
+ props:
165
+ size: sm
166
+ muted: true
167
+ text: 128 conversations · searchable across titles and models
168
+ - type: Card
169
+ props:
170
+ title: All conversations
171
+ children:
172
+ - type: SearchableTable
173
+ props:
174
+ searchKey: chatSearch
175
+ placeholder: Search conversations…
176
+ emptyText: No conversations match this search.
177
+ columns:
178
+ - key: title
179
+ label: Title
180
+ - key: model
181
+ label: Model
182
+ - key: messages
183
+ label: Messages
184
+ align: center
185
+ - key: tokens
186
+ label: Tokens
187
+ align: right
188
+ - key: updated
189
+ label: Updated
190
+ rows:
191
+ - title: Refactor a React hook
192
+ model: GPT-4o
193
+ messages: '8'
194
+ tokens: 3,420
195
+ updated: 2m ago
196
+ - title: Explain the chain rule
197
+ model: Claude 3.5
198
+ messages: '2'
199
+ tokens: 1,210
200
+ updated: 18m ago
201
+ - title: Draft a launch email
202
+ model: GPT-4o
203
+ messages: '6'
204
+ tokens: 2,980
205
+ updated: 1h ago
206
+ - title: SQL window functions
207
+ model: Claude 3.5
208
+ messages: '12'
209
+ tokens: 5,640
210
+ updated: yesterday
211
+ - title: Summarize a research paper
212
+ model: GPT-4o
213
+ messages: '4'
214
+ tokens: 8,120
215
+ updated: 2 days ago
216
+ - title: Write a cover letter
217
+ model: Claude 3.5
218
+ messages: '5'
219
+ tokens: 2,310
220
+ updated: 3 days ago
221
+ template: app-shell-sidebar
222
+ - id: settings
223
+ path: /settings
224
+ title: Nova — Settings
225
+ blocks:
226
+ - type: PageLayout
227
+ props:
228
+ title: Nova AI
229
+ children:
230
+ - type: Box
231
+ props:
232
+ className: mb-2
233
+ children:
234
+ - type: Heading
235
+ props:
236
+ level: 2
237
+ text: Settings
238
+ - type: Paragraph
239
+ props:
240
+ size: sm
241
+ muted: true
242
+ text: Configure the default model, generation behavior, and API access.
243
+ - type: Tabs
244
+ props:
245
+ tabs:
246
+ - Model
247
+ - API keys
248
+ - Advanced
249
+ children:
250
+ - type: Card
251
+ props:
252
+ title: Default model
253
+ description: Applied to new conversations
254
+ children:
255
+ - type: Form
256
+ children:
257
+ - type: Form.Select
258
+ props:
259
+ name: model
260
+ label: Model
261
+ options:
262
+ - value: gpt-4o
263
+ label: GPT-4o
264
+ - value: claude-3-5-sonnet
265
+ label: Claude 3.5 Sonnet
266
+ - value: llama-3-70b
267
+ label: Llama 3 70B
268
+ - type: Form.Input
269
+ props:
270
+ name: temperature
271
+ label: Temperature
272
+ type: number
273
+ placeholder: '0.4'
274
+ helpText: 0 = deterministic, 1 = creative.
275
+ - type: Form.Input
276
+ props:
277
+ name: maxTokens
278
+ label: Max output tokens
279
+ type: number
280
+ placeholder: '2048'
281
+ - type: Form.Checkbox
282
+ props:
283
+ name: streaming
284
+ label: Stream responses
285
+ description: Show tokens as they are generated.
286
+ - type: Form.Submit
287
+ props:
288
+ label: Save model settings
289
+ - type: Card
290
+ props:
291
+ title: API keys
292
+ description: Keys are encrypted at rest
293
+ children:
294
+ - type: Form
295
+ children:
296
+ - type: Form.Input
297
+ props:
298
+ name: openaiKey
299
+ label: OpenAI API key
300
+ type: password
301
+ placeholder: sk-…
302
+ - type: Form.Input
303
+ props:
304
+ name: anthropicKey
305
+ label: Anthropic API key
306
+ type: password
307
+ placeholder: sk-ant-…
308
+ - type: Form.Submit
309
+ props:
310
+ label: Save keys
311
+ - type: Card
312
+ props:
313
+ title: Advanced
314
+ description: System behavior
315
+ children:
316
+ - type: Form
317
+ children:
318
+ - type: Form.TextArea
319
+ props:
320
+ name: systemPrompt
321
+ label: System prompt
322
+ rows: 4
323
+ placeholder: You are a concise, helpful assistant…
324
+ - type: Form.Checkbox
325
+ props:
326
+ name: telemetry
327
+ label: Share anonymous usage data
328
+ description: Helps improve model routing.
329
+ - type: Form.Submit
330
+ props:
331
+ label: Save advanced settings
332
+ template: app-shell-sidebar
333
+ - id: usage
334
+ path: /usage
335
+ title: Nova — Usage
336
+ blocks:
337
+ - type: PageLayout
338
+ props:
339
+ title: Nova AI
340
+ slots:
341
+ headerActions:
342
+ - type: Button
343
+ props:
344
+ label: Download CSV
345
+ size: sm
346
+ variant: outline
347
+ children:
348
+ - type: Box
349
+ props:
350
+ className: mb-2
351
+ children:
352
+ - type: Heading
353
+ props:
354
+ level: 2
355
+ text: Usage & billing
356
+ - type: Paragraph
357
+ props:
358
+ size: sm
359
+ muted: true
360
+ text: Current cycle · resets on the 1st
361
+ - type: StatGrid
362
+ props:
363
+ cols: '4'
364
+ items:
365
+ - label: Tokens this month
366
+ value: 1.84M
367
+ change: +12%
368
+ trend: up
369
+ - label: Requests
370
+ value: 3,420
371
+ change: +8%
372
+ trend: up
373
+ - label: Est. cost
374
+ value: $42.18
375
+ change: +$5.10
376
+ trend: up
377
+ - label: Avg. latency
378
+ value: 1.3s
379
+ change: -0.2s
380
+ trend: down
381
+ - type: Card
382
+ props:
383
+ title: Token usage
384
+ description: Daily tokens by model · last 7 days
385
+ children:
386
+ - type: TrendChart
387
+ props:
388
+ height: 220
389
+ labels:
390
+ - Mon
391
+ - Tue
392
+ - Wed
393
+ - Thu
394
+ - Fri
395
+ - Sat
396
+ - Sun
397
+ series:
398
+ - name: GPT-4o
399
+ area: true
400
+ points:
401
+ - 180
402
+ - 240
403
+ - 210
404
+ - 320
405
+ - 290
406
+ - 150
407
+ - 120
408
+ - name: Claude 3.5
409
+ points:
410
+ - 120
411
+ - 160
412
+ - 140
413
+ - 200
414
+ - 220
415
+ - 90
416
+ - 80
417
+ - type: Card
418
+ props:
419
+ title: Usage by model
420
+ children:
421
+ - type: Table
422
+ props:
423
+ columns:
424
+ - key: model
425
+ label: Model
426
+ - key: requests
427
+ label: Requests
428
+ align: center
429
+ - key: tokens
430
+ label: Tokens
431
+ align: right
432
+ - key: cost
433
+ label: Cost
434
+ align: right
435
+ rows:
436
+ - model: GPT-4o
437
+ requests: 1,980
438
+ tokens: 1.12M
439
+ cost: $28.40
440
+ - model: Claude 3.5 Sonnet
441
+ requests: 1,210
442
+ tokens: 0.61M
443
+ cost: $12.18
444
+ - model: Llama 3 70B
445
+ requests: '230'
446
+ tokens: 0.11M
447
+ cost: $1.60
448
+ template: app-shell-sidebar
@@ -0,0 +1,152 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: analytics-dashboard
4
+ path: /
5
+ title: Analytics
6
+ blocks:
7
+ - type: PageLayout
8
+ props:
9
+ title: Insight
10
+ slots:
11
+ headerActions:
12
+ - type: Button
13
+ props:
14
+ label: Last 7 days
15
+ variant: outline
16
+ size: sm
17
+ - type: Button
18
+ props:
19
+ label: Share
20
+ variant: ghost
21
+ size: sm
22
+ children:
23
+ - type: Box
24
+ props:
25
+ className: "flex items-end justify-between gap-4 mb-3 border-b border-border pb-3"
26
+ children:
27
+ - type: Box
28
+ children:
29
+ - type: Heading
30
+ props:
31
+ level: 2
32
+ text: Traffic
33
+ - type: Paragraph
34
+ props:
35
+ size: sm
36
+ muted: true
37
+ text: "Demo property · Linear density · bounce is the status signal"
38
+ - type: BadgeGroup
39
+ props:
40
+ items:
41
+ - label: Bounce 38.1%
42
+ tone: warning
43
+ - label: Source lag
44
+ tone: info
45
+ - type: StatGrid
46
+ props:
47
+ cols: "4"
48
+ items:
49
+ - label: Bounce rate
50
+ value: "38.1%"
51
+ change: "-1.2%"
52
+ trend: down
53
+ - label: Visitors (demo)
54
+ value: "84.2k"
55
+ change: "+9.4%"
56
+ trend: up
57
+ - label: Page views
58
+ value: "312k"
59
+ change: "+12.0%"
60
+ trend: up
61
+ - label: Live now
62
+ value: "n/a"
63
+ description: "stream disconnected"
64
+ - type: Grid
65
+ props:
66
+ cols: "3"
67
+ gap: lg
68
+ children:
69
+ - type: Box
70
+ props:
71
+ className: "col-span-2"
72
+ children:
73
+ - type: Card
74
+ props:
75
+ title: Traffic over time
76
+ description: "Hairline panel · sample week"
77
+ children:
78
+ - type: TrendChart
79
+ props:
80
+ height: 220
81
+ labels: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
82
+ series:
83
+ - name: Visitors
84
+ area: true
85
+ points: [12, 18, 15, 22, 28, 19, 24]
86
+ - name: Conversions
87
+ points: [2, 3, 3, 5, 6, 4, 5]
88
+ - type: Card
89
+ props:
90
+ title: Top sources
91
+ children:
92
+ - type: KeyValueGrid
93
+ props:
94
+ cols: "1"
95
+ items:
96
+ - key: Organic search
97
+ value: "42%"
98
+ - key: Direct
99
+ value: "28%"
100
+ - key: Referral
101
+ value: "18%"
102
+ - key: Social
103
+ value: "12%"
104
+ - type: Grid
105
+ props:
106
+ cols: "2"
107
+ gap: lg
108
+ children:
109
+ - type: Card
110
+ props:
111
+ title: Engagement matrix
112
+ description: "Channel × day intensity"
113
+ children:
114
+ - type: Matrix
115
+ props:
116
+ showValues: false
117
+ rows: ["Search", "Direct", "Social"]
118
+ cols: ["Mon", "Tue", "Wed", "Thu", "Fri"]
119
+ cells:
120
+ - [0.2, 0.4, 0.5, 0.8, 1.0]
121
+ - [0.3, 0.3, 0.4, 0.6, 0.7]
122
+ - [0.1, 0.2, 0.6, 0.4, 0.9]
123
+ - type: Card
124
+ props:
125
+ title: Top pages
126
+ description: "Empty copy is ready if the table is filtered to zero"
127
+ children:
128
+ - type: Table
129
+ props:
130
+ emptyText: No pages matched this window.
131
+ columns:
132
+ - key: path
133
+ label: Page
134
+ - key: views
135
+ label: Views
136
+ align: right
137
+ - key: rate
138
+ label: Conv.
139
+ align: right
140
+ rows:
141
+ - path: "/"
142
+ views: "84,210"
143
+ rate: "4.2%"
144
+ - path: "/pricing"
145
+ views: "31,002"
146
+ rate: "8.1%"
147
+ - path: "/blog"
148
+ views: "22,540"
149
+ rate: "1.9%"
150
+ - path: "/docs"
151
+ views: "18,330"
152
+ rate: "2.4%"
@@ -0,0 +1,90 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: auth-login
4
+ path: /
5
+ title: Sign in
6
+ blocks:
7
+ - type: Box
8
+ props:
9
+ className: "min-h-screen flex items-center justify-center p-6 bg-background"
10
+ children:
11
+ - type: Box
12
+ props:
13
+ className: "w-full max-w-sm"
14
+ children:
15
+ - type: Box
16
+ props:
17
+ className: "flex flex-col items-start gap-1 mb-6"
18
+ children:
19
+ - type: Paragraph
20
+ props:
21
+ size: sm
22
+ muted: true
23
+ text: "Northwind"
24
+ - type: Heading
25
+ props:
26
+ level: 2
27
+ text: "Sign in"
28
+ - type: Paragraph
29
+ props:
30
+ size: sm
31
+ muted: true
32
+ text: "Work email. No gradient chrome."
33
+ - type: Card
34
+ props:
35
+ className: "rounded-none border border-border shadow-none"
36
+ children:
37
+ - type: Form
38
+ props:
39
+ label: ""
40
+ children:
41
+ - type: "Form.Input"
42
+ props:
43
+ name: email
44
+ label: Email
45
+ type: email
46
+ placeholder: you@company.com
47
+ required: true
48
+ - type: "Form.Input"
49
+ props:
50
+ name: password
51
+ label: Password
52
+ type: password
53
+ placeholder: "••••••••"
54
+ required: true
55
+ - type: Box
56
+ props:
57
+ className: "flex items-center justify-between"
58
+ children:
59
+ - type: "Form.Checkbox"
60
+ props:
61
+ name: remember
62
+ label: Remember me
63
+ - type: Link
64
+ props:
65
+ label: Forgot password?
66
+ href: "#"
67
+ variant: muted
68
+ - type: "Form.Submit"
69
+ props:
70
+ label: Sign in
71
+ full: true
72
+ - type: Divider
73
+ - type: Button
74
+ props:
75
+ label: "Continue with Google"
76
+ variant: outline
77
+ full: true
78
+ - type: Box
79
+ props:
80
+ className: "flex justify-start gap-1 mt-5 text-sm"
81
+ children:
82
+ - type: Paragraph
83
+ props:
84
+ size: sm
85
+ muted: true
86
+ text: "Don't have an account?"
87
+ - type: Link
88
+ props:
89
+ label: "Sign up"
90
+ href: "#"