ls-mcp 1.8.2 → 1.9.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/bin/cli.cjs CHANGED
@@ -78,8 +78,12 @@ var MCPConfigLinterService = class {
78
78
  }
79
79
  }
80
80
  async countMCPServers() {
81
- const mcpServers = await this.getMCPServers();
82
- return Object.keys(mcpServers).length;
81
+ try {
82
+ const mcpServers = await this.getMCPServers();
83
+ return Object.keys(mcpServers).length;
84
+ } catch (error) {
85
+ return 0;
86
+ }
83
87
  }
84
88
  async getMCPServers() {
85
89
  await this.parseFile();
@@ -137,8 +141,10 @@ var MCPServerManagerService = class {
137
141
  }
138
142
  if (serverConfig.url) {
139
143
  this.source = serverConfig.url;
144
+ this.transport = "http";
140
145
  } else {
141
- this.source = this.getBaseCommand(serverConfig.command);
146
+ const fullCommand = [serverConfig.command, ...serverConfig.args || []].join(" ");
147
+ this.source = fullCommand;
142
148
  }
143
149
  this.env = serverConfig.env || {};
144
150
  }
@@ -507,7 +513,8 @@ var osSpecificPaths = {
507
513
  cline: [],
508
514
  windsurf: [],
509
515
  roo: [],
510
- "intellij-github-copilot": []
516
+ "intellij-github-copilot": [],
517
+ junie: []
511
518
  };
512
519
  if ((0, import_node_os2.platform)() === "win32") {
513
520
  osSpecificPaths["claude"] = [
@@ -517,13 +524,15 @@ if ((0, import_node_os2.platform)() === "win32") {
517
524
  { filePath: ".mcp.json", type: "local" }
518
525
  ];
519
526
  osSpecificPaths["cursor"] = [
520
- { filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
527
+ { filePath: "~\\.cursor\\mcp.json", type: "global" },
521
528
  { filePath: ".cursor\\mcp.json", type: "local" }
522
529
  ];
523
530
  osSpecificPaths["vscode"] = [
524
531
  { filePath: ".vscode\\mcp.json", type: "local" },
525
532
  { filePath: `${process.env.APPDATA}\\Code\\User\\settings.json`, type: "global" },
526
- { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" }
533
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" },
534
+ { filePath: `${process.env.APPDATA}\\Code\\User\\mcp.json`, type: "global" },
535
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\mcp.json`, type: "global" }
527
536
  ];
528
537
  osSpecificPaths["cline"] = [
529
538
  { filePath: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, type: "global" },
@@ -539,6 +548,9 @@ if ((0, import_node_os2.platform)() === "win32") {
539
548
  osSpecificPaths["intellij-github-copilot"] = [
540
549
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
541
550
  ];
551
+ osSpecificPaths["junie"] = [
552
+ { filePath: "~\\.junie\\mcp\\mcp.json", type: "global" }
553
+ ];
542
554
  osSpecificPaths["zed"] = [
543
555
  { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
544
556
  { filePath: ".zed\\settings.json", type: "local" }
@@ -557,7 +569,9 @@ if ((0, import_node_os2.platform)() === "win32") {
557
569
  osSpecificPaths["vscode"] = [
558
570
  { filePath: ".vscode/mcp.json", type: "local" },
559
571
  { filePath: "~/Library/Application Support/Code/User/settings.json", type: "global" },
560
- { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" }
572
+ { filePath: "~/Library/Application Support/Code/User/mcp.json", type: "global" },
573
+ { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" },
574
+ { filePath: "~/Library/Application Support/Code - Insiders/User/mcp.json", type: "global" }
561
575
  ];
562
576
  osSpecificPaths["cline"] = [
563
577
  { filePath: "~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json", type: "global" },
@@ -573,6 +587,10 @@ if ((0, import_node_os2.platform)() === "win32") {
573
587
  osSpecificPaths["intellij-github-copilot"] = [
574
588
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
575
589
  ];
590
+ osSpecificPaths["junie"] = [
591
+ { filePath: "~/.junie/mcp/mcp.json", type: "global" },
592
+ { filePath: ".junie/mcp/mcp.json", type: "local" }
593
+ ];
576
594
  osSpecificPaths["zed"] = [
577
595
  { filePath: "~/.config/zed/settings.json", type: "global" },
578
596
  { filePath: ".zed/settings.json", type: "local" }
@@ -623,6 +641,11 @@ var MCPFiles = class {
623
641
  friendlyName: "IntelliJ GitHub Copilot",
624
642
  paths: osSpecificPaths["intellij-github-copilot"]
625
643
  },
644
+ junie: {
645
+ name: "junie",
646
+ friendlyName: "IntelliJ Junie",
647
+ paths: osSpecificPaths["junie"]
648
+ },
626
649
  zed: {
627
650
  name: "zed",
628
651
  friendlyName: "Zed",
package/dist/bin/cli.mjs CHANGED
@@ -56,8 +56,12 @@ var MCPConfigLinterService = class {
56
56
  }
57
57
  }
58
58
  async countMCPServers() {
59
- const mcpServers = await this.getMCPServers();
60
- return Object.keys(mcpServers).length;
59
+ try {
60
+ const mcpServers = await this.getMCPServers();
61
+ return Object.keys(mcpServers).length;
62
+ } catch (error) {
63
+ return 0;
64
+ }
61
65
  }
62
66
  async getMCPServers() {
63
67
  await this.parseFile();
@@ -115,8 +119,10 @@ var MCPServerManagerService = class {
115
119
  }
116
120
  if (serverConfig.url) {
117
121
  this.source = serverConfig.url;
122
+ this.transport = "http";
118
123
  } else {
119
- this.source = this.getBaseCommand(serverConfig.command);
124
+ const fullCommand = [serverConfig.command, ...serverConfig.args || []].join(" ");
125
+ this.source = fullCommand;
120
126
  }
121
127
  this.env = serverConfig.env || {};
122
128
  }
@@ -485,7 +491,8 @@ var osSpecificPaths = {
485
491
  cline: [],
486
492
  windsurf: [],
487
493
  roo: [],
488
- "intellij-github-copilot": []
494
+ "intellij-github-copilot": [],
495
+ junie: []
489
496
  };
490
497
  if (platform2() === "win32") {
491
498
  osSpecificPaths["claude"] = [
@@ -495,13 +502,15 @@ if (platform2() === "win32") {
495
502
  { filePath: ".mcp.json", type: "local" }
496
503
  ];
497
504
  osSpecificPaths["cursor"] = [
498
- { filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
505
+ { filePath: "~\\.cursor\\mcp.json", type: "global" },
499
506
  { filePath: ".cursor\\mcp.json", type: "local" }
500
507
  ];
501
508
  osSpecificPaths["vscode"] = [
502
509
  { filePath: ".vscode\\mcp.json", type: "local" },
503
510
  { filePath: `${process.env.APPDATA}\\Code\\User\\settings.json`, type: "global" },
504
- { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" }
511
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" },
512
+ { filePath: `${process.env.APPDATA}\\Code\\User\\mcp.json`, type: "global" },
513
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\mcp.json`, type: "global" }
505
514
  ];
506
515
  osSpecificPaths["cline"] = [
507
516
  { filePath: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, type: "global" },
@@ -517,6 +526,9 @@ if (platform2() === "win32") {
517
526
  osSpecificPaths["intellij-github-copilot"] = [
518
527
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
519
528
  ];
529
+ osSpecificPaths["junie"] = [
530
+ { filePath: "~\\.junie\\mcp\\mcp.json", type: "global" }
531
+ ];
520
532
  osSpecificPaths["zed"] = [
521
533
  { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
522
534
  { filePath: ".zed\\settings.json", type: "local" }
@@ -535,7 +547,9 @@ if (platform2() === "win32") {
535
547
  osSpecificPaths["vscode"] = [
536
548
  { filePath: ".vscode/mcp.json", type: "local" },
537
549
  { filePath: "~/Library/Application Support/Code/User/settings.json", type: "global" },
538
- { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" }
550
+ { filePath: "~/Library/Application Support/Code/User/mcp.json", type: "global" },
551
+ { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" },
552
+ { filePath: "~/Library/Application Support/Code - Insiders/User/mcp.json", type: "global" }
539
553
  ];
540
554
  osSpecificPaths["cline"] = [
541
555
  { filePath: "~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json", type: "global" },
@@ -551,6 +565,10 @@ if (platform2() === "win32") {
551
565
  osSpecificPaths["intellij-github-copilot"] = [
552
566
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
553
567
  ];
568
+ osSpecificPaths["junie"] = [
569
+ { filePath: "~/.junie/mcp/mcp.json", type: "global" },
570
+ { filePath: ".junie/mcp/mcp.json", type: "local" }
571
+ ];
554
572
  osSpecificPaths["zed"] = [
555
573
  { filePath: "~/.config/zed/settings.json", type: "global" },
556
574
  { filePath: ".zed/settings.json", type: "local" }
@@ -601,6 +619,11 @@ var MCPFiles = class {
601
619
  friendlyName: "IntelliJ GitHub Copilot",
602
620
  paths: osSpecificPaths["intellij-github-copilot"]
603
621
  },
622
+ junie: {
623
+ name: "junie",
624
+ friendlyName: "IntelliJ Junie",
625
+ paths: osSpecificPaths["junie"]
626
+ },
604
627
  zed: {
605
628
  name: "zed",
606
629
  friendlyName: "Zed",
package/dist/main.cjs CHANGED
@@ -84,8 +84,12 @@ var MCPConfigLinterService = class {
84
84
  }
85
85
  }
86
86
  async countMCPServers() {
87
- const mcpServers = await this.getMCPServers();
88
- return Object.keys(mcpServers).length;
87
+ try {
88
+ const mcpServers = await this.getMCPServers();
89
+ return Object.keys(mcpServers).length;
90
+ } catch (error) {
91
+ return 0;
92
+ }
89
93
  }
90
94
  async getMCPServers() {
91
95
  await this.parseFile();
@@ -143,8 +147,10 @@ var MCPServerManagerService = class {
143
147
  }
144
148
  if (serverConfig.url) {
145
149
  this.source = serverConfig.url;
150
+ this.transport = "http";
146
151
  } else {
147
- this.source = this.getBaseCommand(serverConfig.command);
152
+ const fullCommand = [serverConfig.command, ...serverConfig.args || []].join(" ");
153
+ this.source = fullCommand;
148
154
  }
149
155
  this.env = serverConfig.env || {};
150
156
  }
@@ -513,7 +519,8 @@ var osSpecificPaths = {
513
519
  cline: [],
514
520
  windsurf: [],
515
521
  roo: [],
516
- "intellij-github-copilot": []
522
+ "intellij-github-copilot": [],
523
+ junie: []
517
524
  };
518
525
  if ((0, import_node_os2.platform)() === "win32") {
519
526
  osSpecificPaths["claude"] = [
@@ -523,13 +530,15 @@ if ((0, import_node_os2.platform)() === "win32") {
523
530
  { filePath: ".mcp.json", type: "local" }
524
531
  ];
525
532
  osSpecificPaths["cursor"] = [
526
- { filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
533
+ { filePath: "~\\.cursor\\mcp.json", type: "global" },
527
534
  { filePath: ".cursor\\mcp.json", type: "local" }
528
535
  ];
529
536
  osSpecificPaths["vscode"] = [
530
537
  { filePath: ".vscode\\mcp.json", type: "local" },
531
538
  { filePath: `${process.env.APPDATA}\\Code\\User\\settings.json`, type: "global" },
532
- { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" }
539
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" },
540
+ { filePath: `${process.env.APPDATA}\\Code\\User\\mcp.json`, type: "global" },
541
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\mcp.json`, type: "global" }
533
542
  ];
534
543
  osSpecificPaths["cline"] = [
535
544
  { filePath: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, type: "global" },
@@ -545,6 +554,9 @@ if ((0, import_node_os2.platform)() === "win32") {
545
554
  osSpecificPaths["intellij-github-copilot"] = [
546
555
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
547
556
  ];
557
+ osSpecificPaths["junie"] = [
558
+ { filePath: "~\\.junie\\mcp\\mcp.json", type: "global" }
559
+ ];
548
560
  osSpecificPaths["zed"] = [
549
561
  { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
550
562
  { filePath: ".zed\\settings.json", type: "local" }
@@ -563,7 +575,9 @@ if ((0, import_node_os2.platform)() === "win32") {
563
575
  osSpecificPaths["vscode"] = [
564
576
  { filePath: ".vscode/mcp.json", type: "local" },
565
577
  { filePath: "~/Library/Application Support/Code/User/settings.json", type: "global" },
566
- { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" }
578
+ { filePath: "~/Library/Application Support/Code/User/mcp.json", type: "global" },
579
+ { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" },
580
+ { filePath: "~/Library/Application Support/Code - Insiders/User/mcp.json", type: "global" }
567
581
  ];
568
582
  osSpecificPaths["cline"] = [
569
583
  { filePath: "~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json", type: "global" },
@@ -579,6 +593,10 @@ if ((0, import_node_os2.platform)() === "win32") {
579
593
  osSpecificPaths["intellij-github-copilot"] = [
580
594
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
581
595
  ];
596
+ osSpecificPaths["junie"] = [
597
+ { filePath: "~/.junie/mcp/mcp.json", type: "global" },
598
+ { filePath: ".junie/mcp/mcp.json", type: "local" }
599
+ ];
582
600
  osSpecificPaths["zed"] = [
583
601
  { filePath: "~/.config/zed/settings.json", type: "global" },
584
602
  { filePath: ".zed/settings.json", type: "local" }
@@ -629,6 +647,11 @@ var MCPFiles = class {
629
647
  friendlyName: "IntelliJ GitHub Copilot",
630
648
  paths: osSpecificPaths["intellij-github-copilot"]
631
649
  },
650
+ junie: {
651
+ name: "junie",
652
+ friendlyName: "IntelliJ Junie",
653
+ paths: osSpecificPaths["junie"]
654
+ },
632
655
  zed: {
633
656
  name: "zed",
634
657
  friendlyName: "Zed",
package/dist/main.mjs CHANGED
@@ -52,8 +52,12 @@ var MCPConfigLinterService = class {
52
52
  }
53
53
  }
54
54
  async countMCPServers() {
55
- const mcpServers = await this.getMCPServers();
56
- return Object.keys(mcpServers).length;
55
+ try {
56
+ const mcpServers = await this.getMCPServers();
57
+ return Object.keys(mcpServers).length;
58
+ } catch (error) {
59
+ return 0;
60
+ }
57
61
  }
58
62
  async getMCPServers() {
59
63
  await this.parseFile();
@@ -111,8 +115,10 @@ var MCPServerManagerService = class {
111
115
  }
112
116
  if (serverConfig.url) {
113
117
  this.source = serverConfig.url;
118
+ this.transport = "http";
114
119
  } else {
115
- this.source = this.getBaseCommand(serverConfig.command);
120
+ const fullCommand = [serverConfig.command, ...serverConfig.args || []].join(" ");
121
+ this.source = fullCommand;
116
122
  }
117
123
  this.env = serverConfig.env || {};
118
124
  }
@@ -481,7 +487,8 @@ var osSpecificPaths = {
481
487
  cline: [],
482
488
  windsurf: [],
483
489
  roo: [],
484
- "intellij-github-copilot": []
490
+ "intellij-github-copilot": [],
491
+ junie: []
485
492
  };
486
493
  if (platform2() === "win32") {
487
494
  osSpecificPaths["claude"] = [
@@ -491,13 +498,15 @@ if (platform2() === "win32") {
491
498
  { filePath: ".mcp.json", type: "local" }
492
499
  ];
493
500
  osSpecificPaths["cursor"] = [
494
- { filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
501
+ { filePath: "~\\.cursor\\mcp.json", type: "global" },
495
502
  { filePath: ".cursor\\mcp.json", type: "local" }
496
503
  ];
497
504
  osSpecificPaths["vscode"] = [
498
505
  { filePath: ".vscode\\mcp.json", type: "local" },
499
506
  { filePath: `${process.env.APPDATA}\\Code\\User\\settings.json`, type: "global" },
500
- { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" }
507
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: "global" },
508
+ { filePath: `${process.env.APPDATA}\\Code\\User\\mcp.json`, type: "global" },
509
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\mcp.json`, type: "global" }
501
510
  ];
502
511
  osSpecificPaths["cline"] = [
503
512
  { filePath: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, type: "global" },
@@ -513,6 +522,9 @@ if (platform2() === "win32") {
513
522
  osSpecificPaths["intellij-github-copilot"] = [
514
523
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
515
524
  ];
525
+ osSpecificPaths["junie"] = [
526
+ { filePath: "~\\.junie\\mcp\\mcp.json", type: "global" }
527
+ ];
516
528
  osSpecificPaths["zed"] = [
517
529
  { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
518
530
  { filePath: ".zed\\settings.json", type: "local" }
@@ -531,7 +543,9 @@ if (platform2() === "win32") {
531
543
  osSpecificPaths["vscode"] = [
532
544
  { filePath: ".vscode/mcp.json", type: "local" },
533
545
  { filePath: "~/Library/Application Support/Code/User/settings.json", type: "global" },
534
- { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" }
546
+ { filePath: "~/Library/Application Support/Code/User/mcp.json", type: "global" },
547
+ { filePath: "~/Library/Application Support/Code - Insiders/User/settings.json", type: "global" },
548
+ { filePath: "~/Library/Application Support/Code - Insiders/User/mcp.json", type: "global" }
535
549
  ];
536
550
  osSpecificPaths["cline"] = [
537
551
  { filePath: "~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json", type: "global" },
@@ -547,6 +561,10 @@ if (platform2() === "win32") {
547
561
  osSpecificPaths["intellij-github-copilot"] = [
548
562
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
549
563
  ];
564
+ osSpecificPaths["junie"] = [
565
+ { filePath: "~/.junie/mcp/mcp.json", type: "global" },
566
+ { filePath: ".junie/mcp/mcp.json", type: "local" }
567
+ ];
550
568
  osSpecificPaths["zed"] = [
551
569
  { filePath: "~/.config/zed/settings.json", type: "global" },
552
570
  { filePath: ".zed/settings.json", type: "local" }
@@ -597,6 +615,11 @@ var MCPFiles = class {
597
615
  friendlyName: "IntelliJ GitHub Copilot",
598
616
  paths: osSpecificPaths["intellij-github-copilot"]
599
617
  },
618
+ junie: {
619
+ name: "junie",
620
+ friendlyName: "IntelliJ Junie",
621
+ paths: osSpecificPaths["junie"]
622
+ },
600
623
  zed: {
601
624
  name: "zed",
602
625
  friendlyName: "Zed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-mcp",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "description": "list and detect MCP servers and configurations",
5
5
  "types": "dist/main.d.ts",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "engines": {
29
- "node": ">=22.0.0"
29
+ "node": ">=20.13.0"
30
30
  },
31
31
  "packageManager": "npm@8.4.0",
32
32
  "files": [
@@ -96,5 +96,22 @@
96
96
  "**/*.{js,json}": [
97
97
  "npm run lint:fix"
98
98
  ]
99
+ },
100
+ "c8": {
101
+ "exclude": [
102
+ "dist/**",
103
+ "coverage/**",
104
+ "__tests__/**",
105
+ "**/*.test.ts",
106
+ "**/*.test.js"
107
+ ],
108
+ "include": [
109
+ "src/**"
110
+ ],
111
+ "reporter": [
112
+ "text",
113
+ "lcov",
114
+ "html"
115
+ ]
99
116
  }
100
117
  }
package/src/main.ts CHANGED
@@ -51,7 +51,8 @@ const osSpecificPaths: { [key: string]: MCPFilePath[] } = {
51
51
  cline: [],
52
52
  windsurf: [],
53
53
  roo: [],
54
- 'intellij-github-copilot': []
54
+ 'intellij-github-copilot': [],
55
+ junie: []
55
56
  }
56
57
 
57
58
  if (platform() === 'win32') {
@@ -62,13 +63,15 @@ if (platform() === 'win32') {
62
63
  { filePath: '.mcp.json', type: 'local' }
63
64
  ]
64
65
  osSpecificPaths['cursor'] = [
65
- { filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: 'global' },
66
+ { filePath: '~\\.cursor\\mcp.json', type: 'global' },
66
67
  { filePath: '.cursor\\mcp.json', type: 'local' }
67
68
  ]
68
69
  osSpecificPaths['vscode'] = [
69
70
  { filePath: '.vscode\\mcp.json', type: 'local' },
70
71
  { filePath: `${process.env.APPDATA}\\Code\\User\\settings.json`, type: 'global' },
71
72
  { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\settings.json`, type: 'global' },
73
+ { filePath: `${process.env.APPDATA}\\Code\\User\\mcp.json`, type: 'global' },
74
+ { filePath: `${process.env.APPDATA}\\Code - Insiders\\User\\mcp.json`, type: 'global' }
72
75
  ]
73
76
  osSpecificPaths['cline'] = [
74
77
  { filePath: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, type: 'global' },
@@ -84,6 +87,9 @@ if (platform() === 'win32') {
84
87
  osSpecificPaths['intellij-github-copilot'] = [
85
88
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: 'global' },
86
89
  ]
90
+ osSpecificPaths['junie'] = [
91
+ { filePath: '~\\.junie\\mcp\\mcp.json', type: 'global' },
92
+ ]
87
93
  osSpecificPaths['zed'] = [
88
94
  { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: 'global' },
89
95
  { filePath: '.zed\\settings.json', type: 'local' }
@@ -102,7 +108,9 @@ if (platform() === 'win32') {
102
108
  osSpecificPaths['vscode'] = [
103
109
  { filePath: '.vscode/mcp.json', type: 'local' },
104
110
  { filePath: '~/Library/Application Support/Code/User/settings.json', type: 'global' },
111
+ { filePath: '~/Library/Application Support/Code/User/mcp.json', type: 'global' },
105
112
  { filePath: '~/Library/Application Support/Code - Insiders/User/settings.json', type: 'global' },
113
+ { filePath: '~/Library/Application Support/Code - Insiders/User/mcp.json', type: 'global' }
106
114
  ]
107
115
  osSpecificPaths['cline'] = [
108
116
  { filePath: '~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json', type: 'global' },
@@ -118,6 +126,11 @@ if (platform() === 'win32') {
118
126
  osSpecificPaths['intellij-github-copilot'] = [
119
127
  { filePath: '~/.config/github-copilot/intellij/mcp.json', type: 'global' },
120
128
  ]
129
+ osSpecificPaths['junie'] = [
130
+ { filePath: '~/.junie/mcp/mcp.json', type: 'global' },
131
+ { filePath: '.junie/mcp/mcp.json', type: 'local' }
132
+ ]
133
+
121
134
  osSpecificPaths['zed'] = [
122
135
  { filePath: '~/.config/zed/settings.json', type: 'global' },
123
136
  { filePath: '.zed/settings.json', type: 'local' }
@@ -166,6 +179,11 @@ export class MCPFiles {
166
179
  friendlyName: 'IntelliJ GitHub Copilot',
167
180
  paths: osSpecificPaths['intellij-github-copilot']
168
181
  },
182
+ junie: {
183
+ name: 'junie',
184
+ friendlyName: 'IntelliJ Junie',
185
+ paths: osSpecificPaths['junie']
186
+ },
169
187
  zed: {
170
188
  name: 'zed',
171
189
  friendlyName: 'Zed',
@@ -51,8 +51,12 @@ export class MCPConfigLinterService {
51
51
  }
52
52
 
53
53
  async countMCPServers (): Promise<number> {
54
- const mcpServers = await this.getMCPServers()
55
- return Object.keys(mcpServers).length
54
+ try {
55
+ const mcpServers = await this.getMCPServers()
56
+ return Object.keys(mcpServers).length
57
+ } catch (error) {
58
+ return 0
59
+ }
56
60
  }
57
61
 
58
62
  async getMCPServers (): Promise<Record<string, object>> {
@@ -47,8 +47,11 @@ export class MCPServerManagerService {
47
47
 
48
48
  if (serverConfig.url) {
49
49
  this.source = serverConfig.url
50
+ this.transport = 'http' // URLs always use http transport
50
51
  } else {
51
- this.source = this.getBaseCommand(serverConfig.command)
52
+ // Build the full command with arguments
53
+ const fullCommand = [serverConfig.command, ...(serverConfig.args || [])].join(' ')
54
+ this.source = fullCommand
52
55
  }
53
56
  this.env = serverConfig.env || {}
54
57
  }