@mcp-b/react-components 0.6.4 → 0.7.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/dist/PromptInput-D6-G24p7.d.ts +528 -0
- package/dist/ThinkChatToolParts-DnUiZgCC.d.ts +83 -0
- package/dist/components/AgentChat.d.ts +11 -14
- package/dist/components/AgentChat.js +76 -57
- package/dist/components/AgentConnection.js +21 -18
- package/dist/components/Context.d.ts +6 -10
- package/dist/components/Context.js +4 -2
- package/dist/components/Conversation.d.ts +28 -28
- package/dist/components/Conversation.js +35 -54
- package/dist/components/Marker.d.ts +57 -0
- package/dist/components/Marker.js +89 -0
- package/dist/components/McpServerPicker.js +8 -10
- package/dist/components/MessageScroller.d.ts +52 -0
- package/dist/components/MessageScroller.js +62 -0
- package/dist/components/PromptInput.d.ts +2 -534
- package/dist/components/PromptInput.js +17 -11
- package/dist/components/ThinkChat.d.ts +10 -77
- package/dist/components/ThinkChat.js +59 -856
- package/dist/components/ThinkChatActivity.d.ts +73 -0
- package/dist/components/ThinkChatActivity.js +429 -0
- package/dist/components/ThinkChatContext.d.ts +28 -0
- package/dist/components/ThinkChatContext.js +10 -0
- package/dist/components/ThinkChatToolPanels.d.ts +39 -0
- package/dist/components/ThinkChatToolPanels.js +355 -0
- package/dist/components/ThinkChatToolParts.d.ts +2 -0
- package/dist/components/ThinkChatToolParts.js +66 -0
- package/dist/components/WorkspaceExplorer.d.ts +1 -1
- package/dist/components/useStickToBottom.d.ts +5 -2
- package/dist/components/useStickToBottom.js +5 -2
- package/dist/styles/agent-chat.css +15 -3
- package/dist/styles/agent-connection.css +12 -0
- package/dist/styles/code-block.css +4 -4
- package/dist/styles/conversation.css +10 -0
- package/dist/styles/index.css +2 -0
- package/dist/styles/marker.css +95 -0
- package/dist/styles/message-scroller.css +90 -0
- package/dist/styles/message.css +2 -1
- package/dist/styles/scrollbars.css +10 -2
- package/dist/styles/streamdown.css +2 -0
- package/dist/utils/mcp-server-catalog.d.ts +392 -1
- package/dist/utils/mcp-server-catalog.js +137 -1
- package/package.json +3 -2
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
.message-scroller {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
min-height: 0;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
font-family: var(--sigvelo-font-sans);
|
|
10
|
+
color: var(--sigvelo-color-text);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.message-scroller__viewport {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
min-height: 0;
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
overflow-x: hidden;
|
|
20
|
+
overscroll-behavior: contain;
|
|
21
|
+
scrollbar-gutter: stable;
|
|
22
|
+
contain: content;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.message-scroller__content {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: 1rem;
|
|
29
|
+
min-height: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.message-scroller__item {
|
|
33
|
+
min-width: 0;
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.message-scroller__button {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset-inline-start: 50%;
|
|
40
|
+
inset-block-end: 1rem;
|
|
41
|
+
z-index: 1;
|
|
42
|
+
translate: -50% 0;
|
|
43
|
+
box-shadow: var(--sigvelo-shadow-sm);
|
|
44
|
+
background-color: var(--sigvelo-color-surface);
|
|
45
|
+
transition:
|
|
46
|
+
opacity var(--sigvelo-duration-fast) var(--sigvelo-ease-standard),
|
|
47
|
+
scale var(--sigvelo-duration-fast) var(--sigvelo-ease-standard),
|
|
48
|
+
translate var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.message-scroller__button[data-direction="start"] {
|
|
52
|
+
inset-block-start: 1rem;
|
|
53
|
+
inset-block-end: auto;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.message-scroller__button[data-active="false"] {
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
opacity: 0;
|
|
59
|
+
scale: 0.95;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.message-scroller__button[data-direction="end"][data-active="false"] {
|
|
63
|
+
translate: -50% 0.5rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.message-scroller__button[data-direction="start"][data-active="false"] {
|
|
67
|
+
translate: -50% -0.5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.message-scroller__button[data-direction="start"] svg {
|
|
71
|
+
rotate: 180deg;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.message-scroller__button-label {
|
|
75
|
+
position: absolute;
|
|
76
|
+
width: 1px;
|
|
77
|
+
height: 1px;
|
|
78
|
+
padding: 0;
|
|
79
|
+
margin: -1px;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
clip-path: inset(50%);
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
border: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (forced-colors: active) {
|
|
87
|
+
.message-scroller__button {
|
|
88
|
+
border: 1px solid CanvasText;
|
|
89
|
+
}
|
|
90
|
+
}
|
package/dist/styles/message.css
CHANGED
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
--scrollbar-thumb: var(--app-scrollbar-thumb, var(--sigvelo-color-neutral-border-muted));
|
|
3
3
|
--scrollbar-track: var(--app-scrollbar-track, var(--sigvelo-color-neutral-bg-subtle));
|
|
4
4
|
|
|
5
|
-
overflow: auto;
|
|
6
|
-
overscroll-behavior: contain;
|
|
7
5
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
|
8
6
|
scrollbar-gutter: stable;
|
|
9
7
|
scrollbar-width: thin;
|
|
10
8
|
}
|
|
11
9
|
|
|
10
|
+
:where(.message__content pre) {
|
|
11
|
+
overflow-x: auto;
|
|
12
|
+
overflow-y: clip;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:where(.observability-table-wrap) {
|
|
16
|
+
overflow: auto;
|
|
17
|
+
overscroll-behavior: contain;
|
|
18
|
+
}
|
|
19
|
+
|
|
12
20
|
@media (prefers-contrast: more) {
|
|
13
21
|
:where(.message__content pre, .observability-table-wrap) {
|
|
14
22
|
--scrollbar-thumb: var(--sigvelo-color-text);
|
|
@@ -250,6 +250,7 @@ button[data-streamdown="link"] {
|
|
|
250
250
|
|
|
251
251
|
[data-streamdown="code-block-body"] {
|
|
252
252
|
overflow-x: auto;
|
|
253
|
+
overflow-y: clip;
|
|
253
254
|
border-radius: var(--sigvelo-radius-md);
|
|
254
255
|
}
|
|
255
256
|
|
|
@@ -261,6 +262,7 @@ button[data-streamdown="link"] {
|
|
|
261
262
|
font-family: var(--sigvelo-font-mono);
|
|
262
263
|
font-size: 0.8125rem;
|
|
263
264
|
line-height: 1.55;
|
|
265
|
+
overflow: visible;
|
|
264
266
|
}
|
|
265
267
|
|
|
266
268
|
/* The code plugin emits one <span class="block"> per line with no newline
|
|
@@ -7,7 +7,21 @@ interface McpServerSetupLink {
|
|
|
7
7
|
label: string;
|
|
8
8
|
url: string;
|
|
9
9
|
}
|
|
10
|
+
type McpServerSetupAuthFieldName = "bearerToken" | "clientId" | "clientSecret" | "redirectUrl" | "scope";
|
|
11
|
+
interface McpServerSetupAuthField {
|
|
12
|
+
name: McpServerSetupAuthFieldName;
|
|
13
|
+
label: string;
|
|
14
|
+
inputType?: "password" | "text" | "url";
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface McpServerSetupAuth {
|
|
19
|
+
type: "bearer" | "manual_oauth_client" | "none";
|
|
20
|
+
label: string;
|
|
21
|
+
fields: readonly McpServerSetupAuthField[];
|
|
22
|
+
}
|
|
10
23
|
interface McpServerManualSetup {
|
|
24
|
+
auth: McpServerSetupAuth;
|
|
11
25
|
description: string;
|
|
12
26
|
links: readonly McpServerSetupLink[];
|
|
13
27
|
}
|
|
@@ -22,6 +36,70 @@ interface McpServerCard {
|
|
|
22
36
|
statusLabel?: string;
|
|
23
37
|
manualSetup?: McpServerManualSetup;
|
|
24
38
|
}
|
|
39
|
+
declare const MCP_SERVER_SETUP_AUTH: {
|
|
40
|
+
readonly bearer: {
|
|
41
|
+
readonly type: "bearer";
|
|
42
|
+
readonly label: "Bearer / API key";
|
|
43
|
+
readonly fields: readonly [{
|
|
44
|
+
readonly name: "bearerToken";
|
|
45
|
+
readonly label: "API key / Bearer token";
|
|
46
|
+
readonly inputType: "password";
|
|
47
|
+
readonly placeholder: "Paste token";
|
|
48
|
+
readonly required: true;
|
|
49
|
+
}];
|
|
50
|
+
};
|
|
51
|
+
readonly manualOAuthClient: {
|
|
52
|
+
readonly type: "manual_oauth_client";
|
|
53
|
+
readonly label: "OAuth client ID";
|
|
54
|
+
readonly fields: readonly [{
|
|
55
|
+
readonly name: "clientId";
|
|
56
|
+
readonly label: "OAuth client ID";
|
|
57
|
+
readonly placeholder: "Client ID";
|
|
58
|
+
readonly required: true;
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "redirectUrl";
|
|
61
|
+
readonly label: "Redirect URL";
|
|
62
|
+
readonly inputType: "url";
|
|
63
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "scope";
|
|
66
|
+
readonly label: "Scope";
|
|
67
|
+
readonly placeholder: "Space-separated scopes";
|
|
68
|
+
}];
|
|
69
|
+
};
|
|
70
|
+
readonly manualOAuthClientSecret: {
|
|
71
|
+
readonly type: "manual_oauth_client";
|
|
72
|
+
readonly label: "OAuth client ID + secret";
|
|
73
|
+
readonly fields: readonly [{
|
|
74
|
+
readonly name: "clientId";
|
|
75
|
+
readonly label: "OAuth client ID";
|
|
76
|
+
readonly placeholder: "Client ID";
|
|
77
|
+
readonly required: true;
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "clientSecret";
|
|
80
|
+
readonly label: "OAuth client secret";
|
|
81
|
+
readonly inputType: "password";
|
|
82
|
+
readonly placeholder: "Client secret";
|
|
83
|
+
readonly required: true;
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "redirectUrl";
|
|
86
|
+
readonly label: "Redirect URL";
|
|
87
|
+
readonly inputType: "url";
|
|
88
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
89
|
+
}, {
|
|
90
|
+
readonly name: "scope";
|
|
91
|
+
readonly label: "Scope";
|
|
92
|
+
readonly placeholder: "Space-separated scopes";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
readonly none: {
|
|
96
|
+
readonly type: "none";
|
|
97
|
+
readonly label: "No auth";
|
|
98
|
+
readonly fields: readonly [];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
declare function getMcpServerIconSrc(server: Pick<McpServerCard, "icon" | "url">): string | undefined;
|
|
102
|
+
declare function inferMcpServerFaviconUrl(url: string): string | undefined;
|
|
25
103
|
/** Remote MCP servers whose OAuth metadata exposes a registration_endpoint. */
|
|
26
104
|
declare const DCR_MCP_SERVER_CARDS: readonly [{
|
|
27
105
|
readonly id: "airtable";
|
|
@@ -257,6 +335,31 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
257
335
|
readonly category: "Manual";
|
|
258
336
|
readonly icon: "https://cdn.simpleicons.org/asana/F06A6A";
|
|
259
337
|
readonly manualSetup: {
|
|
338
|
+
readonly auth: {
|
|
339
|
+
readonly type: "manual_oauth_client";
|
|
340
|
+
readonly label: "OAuth client ID + secret";
|
|
341
|
+
readonly fields: readonly [{
|
|
342
|
+
readonly name: "clientId";
|
|
343
|
+
readonly label: "OAuth client ID";
|
|
344
|
+
readonly placeholder: "Client ID";
|
|
345
|
+
readonly required: true;
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "clientSecret";
|
|
348
|
+
readonly label: "OAuth client secret";
|
|
349
|
+
readonly inputType: "password";
|
|
350
|
+
readonly placeholder: "Client secret";
|
|
351
|
+
readonly required: true;
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "redirectUrl";
|
|
354
|
+
readonly label: "Redirect URL";
|
|
355
|
+
readonly inputType: "url";
|
|
356
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "scope";
|
|
359
|
+
readonly label: "Scope";
|
|
360
|
+
readonly placeholder: "Space-separated scopes";
|
|
361
|
+
}];
|
|
362
|
+
};
|
|
260
363
|
readonly description: "Create an Asana MCP app, configure its redirect URL and workspace distribution, then connect with the app client ID and secret.";
|
|
261
364
|
readonly links: readonly [{
|
|
262
365
|
readonly label: "Developer console";
|
|
@@ -277,6 +380,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
277
380
|
readonly category: "Manual";
|
|
278
381
|
readonly icon: "https://cdn.simpleicons.org/gmail/EA4335";
|
|
279
382
|
readonly manualSetup: {
|
|
383
|
+
readonly auth: {
|
|
384
|
+
readonly type: "manual_oauth_client";
|
|
385
|
+
readonly label: "OAuth client ID";
|
|
386
|
+
readonly fields: readonly [{
|
|
387
|
+
readonly name: "clientId";
|
|
388
|
+
readonly label: "OAuth client ID";
|
|
389
|
+
readonly placeholder: "Client ID";
|
|
390
|
+
readonly required: true;
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "redirectUrl";
|
|
393
|
+
readonly label: "Redirect URL";
|
|
394
|
+
readonly inputType: "url";
|
|
395
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "scope";
|
|
398
|
+
readonly label: "Scope";
|
|
399
|
+
readonly placeholder: "Space-separated scopes";
|
|
400
|
+
}];
|
|
401
|
+
};
|
|
280
402
|
readonly description: "Enable Gmail and Gmail MCP APIs, configure OAuth consent, add Gmail read/compose scopes, and create a web OAuth client.";
|
|
281
403
|
readonly links: readonly [{
|
|
282
404
|
readonly label: "Setup guide";
|
|
@@ -300,6 +422,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
300
422
|
readonly category: "Manual";
|
|
301
423
|
readonly icon: "https://cdn.simpleicons.org/googlecalendar/4285F4";
|
|
302
424
|
readonly manualSetup: {
|
|
425
|
+
readonly auth: {
|
|
426
|
+
readonly type: "manual_oauth_client";
|
|
427
|
+
readonly label: "OAuth client ID";
|
|
428
|
+
readonly fields: readonly [{
|
|
429
|
+
readonly name: "clientId";
|
|
430
|
+
readonly label: "OAuth client ID";
|
|
431
|
+
readonly placeholder: "Client ID";
|
|
432
|
+
readonly required: true;
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "redirectUrl";
|
|
435
|
+
readonly label: "Redirect URL";
|
|
436
|
+
readonly inputType: "url";
|
|
437
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "scope";
|
|
440
|
+
readonly label: "Scope";
|
|
441
|
+
readonly placeholder: "Space-separated scopes";
|
|
442
|
+
}];
|
|
443
|
+
};
|
|
303
444
|
readonly description: "Enable Calendar and Calendar MCP APIs, configure OAuth consent, add calendar read/freebusy scopes, and create a web OAuth client.";
|
|
304
445
|
readonly links: readonly [{
|
|
305
446
|
readonly label: "Setup guide";
|
|
@@ -323,6 +464,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
323
464
|
readonly category: "Manual";
|
|
324
465
|
readonly icon: "https://cdn.simpleicons.org/googlechat/00AC47";
|
|
325
466
|
readonly manualSetup: {
|
|
467
|
+
readonly auth: {
|
|
468
|
+
readonly type: "manual_oauth_client";
|
|
469
|
+
readonly label: "OAuth client ID";
|
|
470
|
+
readonly fields: readonly [{
|
|
471
|
+
readonly name: "clientId";
|
|
472
|
+
readonly label: "OAuth client ID";
|
|
473
|
+
readonly placeholder: "Client ID";
|
|
474
|
+
readonly required: true;
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "redirectUrl";
|
|
477
|
+
readonly label: "Redirect URL";
|
|
478
|
+
readonly inputType: "url";
|
|
479
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "scope";
|
|
482
|
+
readonly label: "Scope";
|
|
483
|
+
readonly placeholder: "Space-separated scopes";
|
|
484
|
+
}];
|
|
485
|
+
};
|
|
326
486
|
readonly description: "Enable Chat and Chat MCP APIs, configure a Chat app, add Chat read/send scopes, and create a web OAuth client.";
|
|
327
487
|
readonly links: readonly [{
|
|
328
488
|
readonly label: "Setup guide";
|
|
@@ -346,6 +506,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
346
506
|
readonly category: "Manual";
|
|
347
507
|
readonly icon: "https://cdn.simpleicons.org/googledrive/4285F4";
|
|
348
508
|
readonly manualSetup: {
|
|
509
|
+
readonly auth: {
|
|
510
|
+
readonly type: "manual_oauth_client";
|
|
511
|
+
readonly label: "OAuth client ID";
|
|
512
|
+
readonly fields: readonly [{
|
|
513
|
+
readonly name: "clientId";
|
|
514
|
+
readonly label: "OAuth client ID";
|
|
515
|
+
readonly placeholder: "Client ID";
|
|
516
|
+
readonly required: true;
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "redirectUrl";
|
|
519
|
+
readonly label: "Redirect URL";
|
|
520
|
+
readonly inputType: "url";
|
|
521
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "scope";
|
|
524
|
+
readonly label: "Scope";
|
|
525
|
+
readonly placeholder: "Space-separated scopes";
|
|
526
|
+
}];
|
|
527
|
+
};
|
|
349
528
|
readonly description: "Enable Drive and Drive MCP APIs, configure OAuth consent, add Drive read/file scopes, and create a web OAuth client.";
|
|
350
529
|
readonly links: readonly [{
|
|
351
530
|
readonly label: "Setup guide";
|
|
@@ -369,6 +548,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
369
548
|
readonly category: "Manual";
|
|
370
549
|
readonly icon: "https://cdn.simpleicons.org/google/4285F4";
|
|
371
550
|
readonly manualSetup: {
|
|
551
|
+
readonly auth: {
|
|
552
|
+
readonly type: "manual_oauth_client";
|
|
553
|
+
readonly label: "OAuth client ID";
|
|
554
|
+
readonly fields: readonly [{
|
|
555
|
+
readonly name: "clientId";
|
|
556
|
+
readonly label: "OAuth client ID";
|
|
557
|
+
readonly placeholder: "Client ID";
|
|
558
|
+
readonly required: true;
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "redirectUrl";
|
|
561
|
+
readonly label: "Redirect URL";
|
|
562
|
+
readonly inputType: "url";
|
|
563
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "scope";
|
|
566
|
+
readonly label: "Scope";
|
|
567
|
+
readonly placeholder: "Space-separated scopes";
|
|
568
|
+
}];
|
|
569
|
+
};
|
|
372
570
|
readonly description: "Enable People API, configure OAuth consent, add contacts/profile/directory scopes, and create a web OAuth client.";
|
|
373
571
|
readonly links: readonly [{
|
|
374
572
|
readonly label: "Setup guide";
|
|
@@ -392,6 +590,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
392
590
|
readonly category: "Manual";
|
|
393
591
|
readonly icon: "https://cdn.simpleicons.org/google/4285F4";
|
|
394
592
|
readonly manualSetup: {
|
|
593
|
+
readonly auth: {
|
|
594
|
+
readonly type: "manual_oauth_client";
|
|
595
|
+
readonly label: "OAuth client ID";
|
|
596
|
+
readonly fields: readonly [{
|
|
597
|
+
readonly name: "clientId";
|
|
598
|
+
readonly label: "OAuth client ID";
|
|
599
|
+
readonly placeholder: "Client ID";
|
|
600
|
+
readonly required: true;
|
|
601
|
+
}, {
|
|
602
|
+
readonly name: "redirectUrl";
|
|
603
|
+
readonly label: "Redirect URL";
|
|
604
|
+
readonly inputType: "url";
|
|
605
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
606
|
+
}, {
|
|
607
|
+
readonly name: "scope";
|
|
608
|
+
readonly label: "Scope";
|
|
609
|
+
readonly placeholder: "Space-separated scopes";
|
|
610
|
+
}];
|
|
611
|
+
};
|
|
395
612
|
readonly description: "Enable the Workspace MCP service plus Gmail, Drive, Calendar, and Chat APIs, then configure OAuth consent and readonly search scopes.";
|
|
396
613
|
readonly links: readonly [{
|
|
397
614
|
readonly label: "Setup guide";
|
|
@@ -407,6 +624,62 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
407
624
|
readonly url: "https://console.cloud.google.com/apis/credentials";
|
|
408
625
|
}];
|
|
409
626
|
};
|
|
627
|
+
}, {
|
|
628
|
+
readonly id: "posthog";
|
|
629
|
+
readonly name: "PostHog";
|
|
630
|
+
readonly url: "https://mcp.posthog.com/mcp";
|
|
631
|
+
readonly description: "Analyze product analytics and feature flags";
|
|
632
|
+
readonly category: "Manual";
|
|
633
|
+
readonly icon: "https://cdn.simpleicons.org/posthog/000000";
|
|
634
|
+
readonly manualSetup: {
|
|
635
|
+
readonly auth: {
|
|
636
|
+
readonly type: "bearer";
|
|
637
|
+
readonly label: "Bearer / API key";
|
|
638
|
+
readonly fields: readonly [{
|
|
639
|
+
readonly name: "bearerToken";
|
|
640
|
+
readonly label: "API key / Bearer token";
|
|
641
|
+
readonly inputType: "password";
|
|
642
|
+
readonly placeholder: "Paste token";
|
|
643
|
+
readonly required: true;
|
|
644
|
+
}];
|
|
645
|
+
};
|
|
646
|
+
readonly description: "Create a PostHog personal API key with the MCP Server preset, then connect with that key as a bearer token.";
|
|
647
|
+
readonly links: readonly [{
|
|
648
|
+
readonly label: "MCP docs";
|
|
649
|
+
readonly url: "https://posthog.com/docs/model-context-protocol";
|
|
650
|
+
}, {
|
|
651
|
+
readonly label: "API keys";
|
|
652
|
+
readonly url: "https://app.posthog.com/settings/user-api-keys";
|
|
653
|
+
}];
|
|
654
|
+
};
|
|
655
|
+
}, {
|
|
656
|
+
readonly id: "firecrawl";
|
|
657
|
+
readonly name: "Firecrawl";
|
|
658
|
+
readonly url: "https://mcp.firecrawl.dev/v2/mcp";
|
|
659
|
+
readonly description: "Search, crawl, scrape, and extract web data";
|
|
660
|
+
readonly category: "Manual";
|
|
661
|
+
readonly icon: "https://www.firecrawl.dev/favicon.ico";
|
|
662
|
+
readonly manualSetup: {
|
|
663
|
+
readonly auth: {
|
|
664
|
+
readonly type: "bearer";
|
|
665
|
+
readonly label: "Bearer / API key";
|
|
666
|
+
readonly fields: readonly [{
|
|
667
|
+
readonly name: "bearerToken";
|
|
668
|
+
readonly label: "API key / Bearer token";
|
|
669
|
+
readonly inputType: "password";
|
|
670
|
+
readonly placeholder: "Paste token";
|
|
671
|
+
readonly required: true;
|
|
672
|
+
}];
|
|
673
|
+
};
|
|
674
|
+
readonly description: "Create a Firecrawl API key, then connect the hosted MCP endpoint with Authorization: Bearer.";
|
|
675
|
+
readonly links: readonly [{
|
|
676
|
+
readonly label: "MCP server";
|
|
677
|
+
readonly url: "https://github.com/firecrawl/firecrawl-mcp-server";
|
|
678
|
+
}, {
|
|
679
|
+
readonly label: "API auth";
|
|
680
|
+
readonly url: "https://docs.firecrawl.dev/api-reference/introduction";
|
|
681
|
+
}];
|
|
682
|
+
};
|
|
410
683
|
}, {
|
|
411
684
|
readonly id: "hubspot";
|
|
412
685
|
readonly name: "HubSpot";
|
|
@@ -415,6 +688,31 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
415
688
|
readonly category: "Manual";
|
|
416
689
|
readonly icon: "https://cdn.simpleicons.org/hubspot/FF7A59";
|
|
417
690
|
readonly manualSetup: {
|
|
691
|
+
readonly auth: {
|
|
692
|
+
readonly type: "manual_oauth_client";
|
|
693
|
+
readonly label: "OAuth client ID + secret";
|
|
694
|
+
readonly fields: readonly [{
|
|
695
|
+
readonly name: "clientId";
|
|
696
|
+
readonly label: "OAuth client ID";
|
|
697
|
+
readonly placeholder: "Client ID";
|
|
698
|
+
readonly required: true;
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: "clientSecret";
|
|
701
|
+
readonly label: "OAuth client secret";
|
|
702
|
+
readonly inputType: "password";
|
|
703
|
+
readonly placeholder: "Client secret";
|
|
704
|
+
readonly required: true;
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "redirectUrl";
|
|
707
|
+
readonly label: "Redirect URL";
|
|
708
|
+
readonly inputType: "url";
|
|
709
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "scope";
|
|
712
|
+
readonly label: "Scope";
|
|
713
|
+
readonly placeholder: "Space-separated scopes";
|
|
714
|
+
}];
|
|
715
|
+
};
|
|
418
716
|
readonly description: "Create a HubSpot MCP Auth App, configure the redirect URL, and connect with OAuth credentials from a PKCE-capable client.";
|
|
419
717
|
readonly links: readonly [{
|
|
420
718
|
readonly label: "Setup guide";
|
|
@@ -432,6 +730,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
432
730
|
readonly category: "Manual";
|
|
433
731
|
readonly icon: "https://www.microsoft.com/favicon.ico";
|
|
434
732
|
readonly manualSetup: {
|
|
733
|
+
readonly auth: {
|
|
734
|
+
readonly type: "manual_oauth_client";
|
|
735
|
+
readonly label: "OAuth client ID";
|
|
736
|
+
readonly fields: readonly [{
|
|
737
|
+
readonly name: "clientId";
|
|
738
|
+
readonly label: "OAuth client ID";
|
|
739
|
+
readonly placeholder: "Client ID";
|
|
740
|
+
readonly required: true;
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "redirectUrl";
|
|
743
|
+
readonly label: "Redirect URL";
|
|
744
|
+
readonly inputType: "url";
|
|
745
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "scope";
|
|
748
|
+
readonly label: "Scope";
|
|
749
|
+
readonly placeholder: "Space-separated scopes";
|
|
750
|
+
}];
|
|
751
|
+
};
|
|
435
752
|
readonly description: "Provision the preview tenant resource, register the client, grant delegated MCP permissions, and connect with Microsoft Entra OAuth.";
|
|
436
753
|
readonly links: readonly [{
|
|
437
754
|
readonly label: "Overview";
|
|
@@ -449,6 +766,11 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
449
766
|
readonly category: "Manual";
|
|
450
767
|
readonly icon: "https://www.microsoft.com/favicon.ico";
|
|
451
768
|
readonly manualSetup: {
|
|
769
|
+
readonly auth: {
|
|
770
|
+
readonly type: "none";
|
|
771
|
+
readonly label: "No auth";
|
|
772
|
+
readonly fields: readonly [];
|
|
773
|
+
};
|
|
452
774
|
readonly description: "No OAuth is required; add the Streamable HTTP endpoint directly to the MCP client.";
|
|
453
775
|
readonly links: readonly [{
|
|
454
776
|
readonly label: "Setup guide";
|
|
@@ -463,6 +785,25 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
463
785
|
readonly category: "Manual";
|
|
464
786
|
readonly icon: "https://www.salesforce.com/favicon.ico";
|
|
465
787
|
readonly manualSetup: {
|
|
788
|
+
readonly auth: {
|
|
789
|
+
readonly type: "manual_oauth_client";
|
|
790
|
+
readonly label: "OAuth client ID";
|
|
791
|
+
readonly fields: readonly [{
|
|
792
|
+
readonly name: "clientId";
|
|
793
|
+
readonly label: "OAuth client ID";
|
|
794
|
+
readonly placeholder: "Client ID";
|
|
795
|
+
readonly required: true;
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "redirectUrl";
|
|
798
|
+
readonly label: "Redirect URL";
|
|
799
|
+
readonly inputType: "url";
|
|
800
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
801
|
+
}, {
|
|
802
|
+
readonly name: "scope";
|
|
803
|
+
readonly label: "Scope";
|
|
804
|
+
readonly placeholder: "Space-separated scopes";
|
|
805
|
+
}];
|
|
806
|
+
};
|
|
466
807
|
readonly description: "Create a Salesforce External Client App with mcp_api and refresh_token scopes, require PKCE, activate the hosted server, and connect with the consumer key.";
|
|
467
808
|
readonly links: readonly [{
|
|
468
809
|
readonly label: "Client connection";
|
|
@@ -483,6 +824,31 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
483
824
|
readonly category: "Manual";
|
|
484
825
|
readonly icon: "https://slack.com/favicon.ico";
|
|
485
826
|
readonly manualSetup: {
|
|
827
|
+
readonly auth: {
|
|
828
|
+
readonly type: "manual_oauth_client";
|
|
829
|
+
readonly label: "OAuth client ID + secret";
|
|
830
|
+
readonly fields: readonly [{
|
|
831
|
+
readonly name: "clientId";
|
|
832
|
+
readonly label: "OAuth client ID";
|
|
833
|
+
readonly placeholder: "Client ID";
|
|
834
|
+
readonly required: true;
|
|
835
|
+
}, {
|
|
836
|
+
readonly name: "clientSecret";
|
|
837
|
+
readonly label: "OAuth client secret";
|
|
838
|
+
readonly inputType: "password";
|
|
839
|
+
readonly placeholder: "Client secret";
|
|
840
|
+
readonly required: true;
|
|
841
|
+
}, {
|
|
842
|
+
readonly name: "redirectUrl";
|
|
843
|
+
readonly label: "Redirect URL";
|
|
844
|
+
readonly inputType: "url";
|
|
845
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "scope";
|
|
848
|
+
readonly label: "Scope";
|
|
849
|
+
readonly placeholder: "Space-separated scopes";
|
|
850
|
+
}];
|
|
851
|
+
};
|
|
486
852
|
readonly description: "Create or reuse a Slack app, enable MCP access, add user scopes and redirect URLs, then connect with the app client ID and secret.";
|
|
487
853
|
readonly links: readonly [{
|
|
488
854
|
readonly label: "Slack apps";
|
|
@@ -503,6 +869,31 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
503
869
|
readonly category: "Manual";
|
|
504
870
|
readonly icon: "https://cdn.simpleicons.org/zoom/0B5CFF";
|
|
505
871
|
readonly manualSetup: {
|
|
872
|
+
readonly auth: {
|
|
873
|
+
readonly type: "manual_oauth_client";
|
|
874
|
+
readonly label: "OAuth client ID + secret";
|
|
875
|
+
readonly fields: readonly [{
|
|
876
|
+
readonly name: "clientId";
|
|
877
|
+
readonly label: "OAuth client ID";
|
|
878
|
+
readonly placeholder: "Client ID";
|
|
879
|
+
readonly required: true;
|
|
880
|
+
}, {
|
|
881
|
+
readonly name: "clientSecret";
|
|
882
|
+
readonly label: "OAuth client secret";
|
|
883
|
+
readonly inputType: "password";
|
|
884
|
+
readonly placeholder: "Client secret";
|
|
885
|
+
readonly required: true;
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "redirectUrl";
|
|
888
|
+
readonly label: "Redirect URL";
|
|
889
|
+
readonly inputType: "url";
|
|
890
|
+
readonly placeholder: "Registered OAuth callback URL";
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "scope";
|
|
893
|
+
readonly label: "Scope";
|
|
894
|
+
readonly placeholder: "Space-separated scopes";
|
|
895
|
+
}];
|
|
896
|
+
};
|
|
506
897
|
readonly description: "Create a Zoom Marketplace General app, add the MCP product scopes, configure the client redirect URL, and connect with OAuth credentials.";
|
|
507
898
|
readonly links: readonly [{
|
|
508
899
|
readonly label: "Setup guide";
|
|
@@ -517,4 +908,4 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
517
908
|
};
|
|
518
909
|
}];
|
|
519
910
|
//#endregion
|
|
520
|
-
export { DCR_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, McpServerCard, McpServerCardIcon, McpServerManualSetup, McpServerPickerStatus, McpServerSetupLink };
|
|
911
|
+
export { DCR_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, MCP_SERVER_SETUP_AUTH, McpServerCard, McpServerCardIcon, McpServerManualSetup, McpServerPickerStatus, McpServerSetupAuth, McpServerSetupAuthField, McpServerSetupAuthFieldName, McpServerSetupLink, getMcpServerIconSrc, inferMcpServerFaviconUrl };
|