Skip to content

Commit dab1eb8

Browse files
authored
0.2.36 (#90)
* UI changes for catalog view - Persist `show mine` toggle - Remove `needs configuration` - Minor copy changes * New tile modal * Improve loading messages * Add more text to loaders * New secret form, Prep for secret deletion * Start config validation * make config use explicit types * Implement config updates * Fix key bug * Remove console spam * Fix config updates * Use new source url
1 parent 32791e4 commit dab1eb8

25 files changed

+2537
-1921
lines changed

prompts/catalog.yaml

Lines changed: 68 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,18 @@ registry:
310310
Local filesystem access with configurable allowed paths
311311
ref: github:docker/labs-ai-tools-for-devs?path=prompts/mcp/filesystem.md
312312
readme: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/readmes/filesystem.md
313+
source: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
313314
icon: https://avatars.githubusercontent.com/u/182288589?s=200&v=4
315+
config:
316+
- name: filesystem
317+
description: The MCP server is allowed to access these paths
318+
type: object
319+
properties:
320+
paths:
321+
type: array
322+
items: {type: string}
323+
required:
324+
- paths
314325
tools: []
315326
prompts: 0
316327
resources: {}
@@ -436,7 +447,8 @@ registry:
436447
config:
437448
- name: atlassian
438449
description: The MCP server is allowed to access these paths
439-
parameters:
450+
type: object
451+
properties:
440452
confluence:
441453
type: object
442454
properties:
@@ -467,7 +479,8 @@ registry:
467479
config:
468480
- name: jetbrains
469481
description: The MCP server needs to know about the local JetBrains IDE Config
470-
parameters:
482+
type: object
483+
properties:
471484
server:
472485
type: object
473486
properties:
@@ -536,7 +549,8 @@ registry:
536549
config:
537550
- name: gitlab
538551
description: Configure the local or Cloud GitLab instance
539-
parameters:
552+
type: object
553+
properties:
540554
url:
541555
type: string
542556
description: api url - optional for self-hosted instances
@@ -598,7 +612,8 @@ registry:
598612
config:
599613
- name: resend
600614
description: Configure sender and reply email addresses
601-
parameters:
615+
type: object
616+
properties:
602617
reply_to:
603618
type: string
604619
description: comma separated list of reply to email addresses
@@ -695,7 +710,8 @@ registry:
695710
config:
696711
- name: armor-crypto
697712
description: Configure the connection to Armor
698-
parameters:
713+
type: object
714+
properties:
699715
api_url:
700716
type: string
701717
astra-db:
@@ -728,7 +744,8 @@ registry:
728744
config:
729745
- name: astra-db
730746
description: Configure the connection to Astra DB
731-
parameters:
747+
type: object
748+
properties:
732749
endpoint:
733750
type: string
734751
atlas-docs:
@@ -748,7 +765,8 @@ registry:
748765
config:
749766
- name: atlas-docs
750767
description: Configure the connection to Atlas Docs
751-
parameters:
768+
type: object
769+
properties:
752770
api_url:
753771
type: string
754772
audiense-insights:
@@ -774,7 +792,8 @@ registry:
774792
config:
775793
- name: audiense-insights
776794
description: Configure the connection to Audiense Insights
777-
parameters:
795+
type: object
796+
properties:
778797
client_id:
779798
type: string
780799
required:
@@ -823,7 +842,8 @@ registry:
823842
config:
824843
- name: bitrefill
825844
description: Configure the connection to Bitrefill
826-
parameters:
845+
type: object
846+
properties:
827847
api_id:
828848
type: string
829849
required:
@@ -916,7 +936,8 @@ registry:
916936
config:
917937
- name: dart
918938
description: Configure the connection to Dart
919-
parameters:
939+
type: object
940+
properties:
920941
host:
921942
type: string
922943
databutton:
@@ -947,7 +968,8 @@ registry:
947968
config:
948969
- name: descope
949970
description: Configure the connection to Descope
950-
parameters:
971+
type: object
972+
properties:
951973
project_id:
952974
type: string
953975
required:
@@ -977,7 +999,8 @@ registry:
977999
config:
9781000
- name: devhub-cms
9791001
description: Configure the connection to DevHub CMS
980-
parameters:
1002+
type: object
1003+
properties:
9811004
url:
9821005
type: string
9831006
required:
@@ -1012,7 +1035,8 @@ registry:
10121035
config:
10131036
- name: elasticsearch
10141037
description: Configure the connection to Elasticsearch
1015-
parameters:
1038+
type: object
1039+
properties:
10161040
url:
10171041
type: string
10181042
required:
@@ -1041,11 +1065,22 @@ registry:
10411065
config:
10421066
- name: firecrawl
10431067
description: Configure the connection to Firecrawl
1044-
parameters:
1045-
credit_critical_threshold:
1068+
type: object
1069+
properties:
1070+
url:
1071+
type: string
1072+
retry_max:
1073+
type: integer
1074+
retry_delay:
1075+
type: integer
1076+
retry_max_delay:
1077+
type: integer
1078+
retry_backoff_factor:
10461079
type: integer
10471080
credit_warning_threshold:
10481081
type: integer
1082+
credit_critical_threshold:
1083+
type: integer
10491084
retry_backoff_factor:
10501085
type: integer
10511086
retry_delay:
@@ -1166,7 +1201,10 @@ registry:
11661201
config:
11671202
- name: hyperspell
11681203
description: Configure the connection to Hyperspell
1169-
parameters:
1204+
type: object
1205+
properties:
1206+
use_resources:
1207+
type: boolean
11701208
collection:
11711209
type: string
11721210
use_resources:
@@ -1201,7 +1239,8 @@ registry:
12011239
config:
12021240
- name: iaptic
12031241
description: Configure the connection to iaptic
1204-
parameters:
1242+
type: object
1243+
properties:
12051244
app_name:
12061245
type: string
12071246
required:
@@ -1222,7 +1261,8 @@ registry:
12221261
config:
12231262
- name: kagisearch
12241263
description: Configure the connection to Kagi search
1225-
parameters:
1264+
type: object
1265+
properties:
12261266
engine:
12271267
type: string
12281268
multiversx-mx:
@@ -1251,7 +1291,8 @@ registry:
12511291
config:
12521292
- name: multiversx-mx
12531293
description: Configure the connection to MultiversX blockchain
1254-
parameters:
1294+
type: object
1295+
properties:
12551296
network:
12561297
type: string
12571298
wallet:
@@ -1346,7 +1387,8 @@ registry:
13461387
config:
13471388
- name: opik
13481389
description: Configure the connection to Opik
1349-
parameters:
1390+
type: object
1391+
properties:
13501392
api_base_url:
13511393
type: string
13521394
workspace_name:
@@ -1385,7 +1427,8 @@ registry:
13851427
config:
13861428
- name: oxylabs
13871429
description: Configure the connection to Oxylabs Scraper
1388-
parameters:
1430+
type: object
1431+
properties:
13891432
username:
13901433
type: string
13911434
required:
@@ -1725,7 +1768,8 @@ registry:
17251768
config:
17261769
- name: edubase
17271770
description: Configure the connection to EduBase
1728-
parameters:
1771+
type: object
1772+
properties:
17291773
app:
17301774
type: string
17311775
url:
@@ -1795,7 +1839,8 @@ registry:
17951839
config:
17961840
- name: glif
17971841
description: Configure the connection to glif.app
1798-
parameters:
1842+
type: object
1843+
properties:
17991844
ids:
18001845
type: string
18011846
ignored_saved:

src/extension/host-binary/cmd/main.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func main() {
1919
paths.Init(paths.OnHost)
2020
cmd := AddSecret(ctx)
2121
cmd.AddCommand(ListSecrets(ctx))
22+
cmd.AddCommand(DeleteSecret(ctx))
2223
if err := cmd.Execute(); err != nil {
2324
fmt.Println(err)
2425
os.Exit(1)
@@ -86,13 +87,13 @@ func ListSecrets(ctx context.Context) *cobra.Command {
8687
func DeleteSecret(ctx context.Context) *cobra.Command {
8788
opts := &deleteOptions{}
8889
cmd := &cobra.Command{
89-
Use: "delete",
90+
Use: "delete",
9091
Short: "Delete a secret",
91-
Args: cobra.NoArgs,
92+
Args: cobra.ExactArgs(1),
93+
RunE: func(*cobra.Command, []string) error {
94+
return runDeleteSecret(ctx, *opts)
95+
},
9296
}
93-
flags := cmd.Flags()
94-
flags.StringVarP(&opts.Name, "name", "n", "", "Name of the secret")
95-
_ = cmd.MarkFlagRequired("name")
9697
return cmd
9798
}
9899

0 commit comments

Comments
 (0)