ls-mcp 1.8.0 → 1.8.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/bin/cli.cjs +30 -1
- package/dist/bin/cli.mjs +30 -1
- package/dist/main.cjs +30 -1
- package/dist/main.mjs +30 -1
- package/package.json +2 -2
- package/src/main.ts +27 -1
- package/src/services/mcp-config-linter-service.ts +5 -0
package/dist/bin/cli.cjs
CHANGED
|
@@ -92,6 +92,9 @@ var MCPConfigLinterService = class {
|
|
|
92
92
|
if (this.fileContentsData?.mcpServers) {
|
|
93
93
|
return this.fileContentsData.mcpServers;
|
|
94
94
|
}
|
|
95
|
+
if (this.fileContentsData?.context_servers) {
|
|
96
|
+
return this.fileContentsData.context_servers;
|
|
97
|
+
}
|
|
95
98
|
return {};
|
|
96
99
|
}
|
|
97
100
|
async getFileContent() {
|
|
@@ -498,16 +501,21 @@ var MCPServerManagerService = class {
|
|
|
498
501
|
// src/main.ts
|
|
499
502
|
var osSpecificPaths = {
|
|
500
503
|
claude: [],
|
|
504
|
+
claude_code: [],
|
|
501
505
|
cursor: [],
|
|
502
506
|
vscode: [],
|
|
503
507
|
cline: [],
|
|
504
508
|
windsurf: [],
|
|
505
|
-
roo: []
|
|
509
|
+
roo: [],
|
|
510
|
+
"intellij-github-copilot": []
|
|
506
511
|
};
|
|
507
512
|
if ((0, import_node_os2.platform)() === "win32") {
|
|
508
513
|
osSpecificPaths["claude"] = [
|
|
509
514
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
510
515
|
];
|
|
516
|
+
osSpecificPaths["claude_code"] = [
|
|
517
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
518
|
+
];
|
|
511
519
|
osSpecificPaths["cursor"] = [
|
|
512
520
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
513
521
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -531,10 +539,17 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
531
539
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
532
540
|
{ filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
|
|
533
541
|
];
|
|
542
|
+
osSpecificPaths["zed"] = [
|
|
543
|
+
{ filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
|
|
544
|
+
{ filePath: ".zed\\settings.json", type: "local" }
|
|
545
|
+
];
|
|
534
546
|
} else {
|
|
535
547
|
osSpecificPaths["claude"] = [
|
|
536
548
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
537
549
|
];
|
|
550
|
+
osSpecificPaths["claude_code"] = [
|
|
551
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
552
|
+
];
|
|
538
553
|
osSpecificPaths["cursor"] = [
|
|
539
554
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
540
555
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -558,6 +573,10 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
558
573
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
559
574
|
{ filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
|
|
560
575
|
];
|
|
576
|
+
osSpecificPaths["zed"] = [
|
|
577
|
+
{ filePath: "~/.config/zed/settings.json", type: "global" },
|
|
578
|
+
{ filePath: ".zed/settings.json", type: "local" }
|
|
579
|
+
];
|
|
561
580
|
}
|
|
562
581
|
var MCPFiles = class {
|
|
563
582
|
static {
|
|
@@ -569,6 +588,11 @@ var MCPFiles = class {
|
|
|
569
588
|
friendlyName: "Claude Desktop",
|
|
570
589
|
paths: osSpecificPaths["claude"]
|
|
571
590
|
},
|
|
591
|
+
claude_code: {
|
|
592
|
+
name: "claude-code",
|
|
593
|
+
friendlyName: "Claude Code",
|
|
594
|
+
paths: osSpecificPaths["claude_code"]
|
|
595
|
+
},
|
|
572
596
|
cursor: {
|
|
573
597
|
name: "cursor",
|
|
574
598
|
friendlyName: "Cursor",
|
|
@@ -598,6 +622,11 @@ var MCPFiles = class {
|
|
|
598
622
|
name: "intellij-github-copilot",
|
|
599
623
|
friendlyName: "IntelliJ GitHub Copilot",
|
|
600
624
|
paths: osSpecificPaths["intellij-github-copilot"]
|
|
625
|
+
},
|
|
626
|
+
zed: {
|
|
627
|
+
name: "zed",
|
|
628
|
+
friendlyName: "Zed",
|
|
629
|
+
paths: osSpecificPaths["zed"]
|
|
601
630
|
}
|
|
602
631
|
};
|
|
603
632
|
constructor(mcpFilePathGroups) {
|
package/dist/bin/cli.mjs
CHANGED
|
@@ -70,6 +70,9 @@ var MCPConfigLinterService = class {
|
|
|
70
70
|
if (this.fileContentsData?.mcpServers) {
|
|
71
71
|
return this.fileContentsData.mcpServers;
|
|
72
72
|
}
|
|
73
|
+
if (this.fileContentsData?.context_servers) {
|
|
74
|
+
return this.fileContentsData.context_servers;
|
|
75
|
+
}
|
|
73
76
|
return {};
|
|
74
77
|
}
|
|
75
78
|
async getFileContent() {
|
|
@@ -476,16 +479,21 @@ var MCPServerManagerService = class {
|
|
|
476
479
|
// src/main.ts
|
|
477
480
|
var osSpecificPaths = {
|
|
478
481
|
claude: [],
|
|
482
|
+
claude_code: [],
|
|
479
483
|
cursor: [],
|
|
480
484
|
vscode: [],
|
|
481
485
|
cline: [],
|
|
482
486
|
windsurf: [],
|
|
483
|
-
roo: []
|
|
487
|
+
roo: [],
|
|
488
|
+
"intellij-github-copilot": []
|
|
484
489
|
};
|
|
485
490
|
if (platform2() === "win32") {
|
|
486
491
|
osSpecificPaths["claude"] = [
|
|
487
492
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
488
493
|
];
|
|
494
|
+
osSpecificPaths["claude_code"] = [
|
|
495
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
496
|
+
];
|
|
489
497
|
osSpecificPaths["cursor"] = [
|
|
490
498
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
491
499
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -509,10 +517,17 @@ if (platform2() === "win32") {
|
|
|
509
517
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
510
518
|
{ filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
|
|
511
519
|
];
|
|
520
|
+
osSpecificPaths["zed"] = [
|
|
521
|
+
{ filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
|
|
522
|
+
{ filePath: ".zed\\settings.json", type: "local" }
|
|
523
|
+
];
|
|
512
524
|
} else {
|
|
513
525
|
osSpecificPaths["claude"] = [
|
|
514
526
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
515
527
|
];
|
|
528
|
+
osSpecificPaths["claude_code"] = [
|
|
529
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
530
|
+
];
|
|
516
531
|
osSpecificPaths["cursor"] = [
|
|
517
532
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
518
533
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -536,6 +551,10 @@ if (platform2() === "win32") {
|
|
|
536
551
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
537
552
|
{ filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
|
|
538
553
|
];
|
|
554
|
+
osSpecificPaths["zed"] = [
|
|
555
|
+
{ filePath: "~/.config/zed/settings.json", type: "global" },
|
|
556
|
+
{ filePath: ".zed/settings.json", type: "local" }
|
|
557
|
+
];
|
|
539
558
|
}
|
|
540
559
|
var MCPFiles = class {
|
|
541
560
|
static {
|
|
@@ -547,6 +566,11 @@ var MCPFiles = class {
|
|
|
547
566
|
friendlyName: "Claude Desktop",
|
|
548
567
|
paths: osSpecificPaths["claude"]
|
|
549
568
|
},
|
|
569
|
+
claude_code: {
|
|
570
|
+
name: "claude-code",
|
|
571
|
+
friendlyName: "Claude Code",
|
|
572
|
+
paths: osSpecificPaths["claude_code"]
|
|
573
|
+
},
|
|
550
574
|
cursor: {
|
|
551
575
|
name: "cursor",
|
|
552
576
|
friendlyName: "Cursor",
|
|
@@ -576,6 +600,11 @@ var MCPFiles = class {
|
|
|
576
600
|
name: "intellij-github-copilot",
|
|
577
601
|
friendlyName: "IntelliJ GitHub Copilot",
|
|
578
602
|
paths: osSpecificPaths["intellij-github-copilot"]
|
|
603
|
+
},
|
|
604
|
+
zed: {
|
|
605
|
+
name: "zed",
|
|
606
|
+
friendlyName: "Zed",
|
|
607
|
+
paths: osSpecificPaths["zed"]
|
|
579
608
|
}
|
|
580
609
|
};
|
|
581
610
|
constructor(mcpFilePathGroups) {
|
package/dist/main.cjs
CHANGED
|
@@ -98,6 +98,9 @@ var MCPConfigLinterService = class {
|
|
|
98
98
|
if (this.fileContentsData?.mcpServers) {
|
|
99
99
|
return this.fileContentsData.mcpServers;
|
|
100
100
|
}
|
|
101
|
+
if (this.fileContentsData?.context_servers) {
|
|
102
|
+
return this.fileContentsData.context_servers;
|
|
103
|
+
}
|
|
101
104
|
return {};
|
|
102
105
|
}
|
|
103
106
|
async getFileContent() {
|
|
@@ -504,16 +507,21 @@ var MCPServerManagerService = class {
|
|
|
504
507
|
// src/main.ts
|
|
505
508
|
var osSpecificPaths = {
|
|
506
509
|
claude: [],
|
|
510
|
+
claude_code: [],
|
|
507
511
|
cursor: [],
|
|
508
512
|
vscode: [],
|
|
509
513
|
cline: [],
|
|
510
514
|
windsurf: [],
|
|
511
|
-
roo: []
|
|
515
|
+
roo: [],
|
|
516
|
+
"intellij-github-copilot": []
|
|
512
517
|
};
|
|
513
518
|
if ((0, import_node_os2.platform)() === "win32") {
|
|
514
519
|
osSpecificPaths["claude"] = [
|
|
515
520
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
516
521
|
];
|
|
522
|
+
osSpecificPaths["claude_code"] = [
|
|
523
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
524
|
+
];
|
|
517
525
|
osSpecificPaths["cursor"] = [
|
|
518
526
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
519
527
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -537,10 +545,17 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
537
545
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
538
546
|
{ filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
|
|
539
547
|
];
|
|
548
|
+
osSpecificPaths["zed"] = [
|
|
549
|
+
{ filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
|
|
550
|
+
{ filePath: ".zed\\settings.json", type: "local" }
|
|
551
|
+
];
|
|
540
552
|
} else {
|
|
541
553
|
osSpecificPaths["claude"] = [
|
|
542
554
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
543
555
|
];
|
|
556
|
+
osSpecificPaths["claude_code"] = [
|
|
557
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
558
|
+
];
|
|
544
559
|
osSpecificPaths["cursor"] = [
|
|
545
560
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
546
561
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -564,6 +579,10 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
564
579
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
565
580
|
{ filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
|
|
566
581
|
];
|
|
582
|
+
osSpecificPaths["zed"] = [
|
|
583
|
+
{ filePath: "~/.config/zed/settings.json", type: "global" },
|
|
584
|
+
{ filePath: ".zed/settings.json", type: "local" }
|
|
585
|
+
];
|
|
567
586
|
}
|
|
568
587
|
var MCPFiles = class {
|
|
569
588
|
static {
|
|
@@ -575,6 +594,11 @@ var MCPFiles = class {
|
|
|
575
594
|
friendlyName: "Claude Desktop",
|
|
576
595
|
paths: osSpecificPaths["claude"]
|
|
577
596
|
},
|
|
597
|
+
claude_code: {
|
|
598
|
+
name: "claude-code",
|
|
599
|
+
friendlyName: "Claude Code",
|
|
600
|
+
paths: osSpecificPaths["claude_code"]
|
|
601
|
+
},
|
|
578
602
|
cursor: {
|
|
579
603
|
name: "cursor",
|
|
580
604
|
friendlyName: "Cursor",
|
|
@@ -604,6 +628,11 @@ var MCPFiles = class {
|
|
|
604
628
|
name: "intellij-github-copilot",
|
|
605
629
|
friendlyName: "IntelliJ GitHub Copilot",
|
|
606
630
|
paths: osSpecificPaths["intellij-github-copilot"]
|
|
631
|
+
},
|
|
632
|
+
zed: {
|
|
633
|
+
name: "zed",
|
|
634
|
+
friendlyName: "Zed",
|
|
635
|
+
paths: osSpecificPaths["zed"]
|
|
607
636
|
}
|
|
608
637
|
};
|
|
609
638
|
constructor(mcpFilePathGroups) {
|
package/dist/main.mjs
CHANGED
|
@@ -66,6 +66,9 @@ var MCPConfigLinterService = class {
|
|
|
66
66
|
if (this.fileContentsData?.mcpServers) {
|
|
67
67
|
return this.fileContentsData.mcpServers;
|
|
68
68
|
}
|
|
69
|
+
if (this.fileContentsData?.context_servers) {
|
|
70
|
+
return this.fileContentsData.context_servers;
|
|
71
|
+
}
|
|
69
72
|
return {};
|
|
70
73
|
}
|
|
71
74
|
async getFileContent() {
|
|
@@ -472,16 +475,21 @@ var MCPServerManagerService = class {
|
|
|
472
475
|
// src/main.ts
|
|
473
476
|
var osSpecificPaths = {
|
|
474
477
|
claude: [],
|
|
478
|
+
claude_code: [],
|
|
475
479
|
cursor: [],
|
|
476
480
|
vscode: [],
|
|
477
481
|
cline: [],
|
|
478
482
|
windsurf: [],
|
|
479
|
-
roo: []
|
|
483
|
+
roo: [],
|
|
484
|
+
"intellij-github-copilot": []
|
|
480
485
|
};
|
|
481
486
|
if (platform2() === "win32") {
|
|
482
487
|
osSpecificPaths["claude"] = [
|
|
483
488
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
484
489
|
];
|
|
490
|
+
osSpecificPaths["claude_code"] = [
|
|
491
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
492
|
+
];
|
|
485
493
|
osSpecificPaths["cursor"] = [
|
|
486
494
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
487
495
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -505,10 +513,17 @@ if (platform2() === "win32") {
|
|
|
505
513
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
506
514
|
{ filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
|
|
507
515
|
];
|
|
516
|
+
osSpecificPaths["zed"] = [
|
|
517
|
+
{ filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
|
|
518
|
+
{ filePath: ".zed\\settings.json", type: "local" }
|
|
519
|
+
];
|
|
508
520
|
} else {
|
|
509
521
|
osSpecificPaths["claude"] = [
|
|
510
522
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
511
523
|
];
|
|
524
|
+
osSpecificPaths["claude_code"] = [
|
|
525
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
526
|
+
];
|
|
512
527
|
osSpecificPaths["cursor"] = [
|
|
513
528
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
514
529
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -532,6 +547,10 @@ if (platform2() === "win32") {
|
|
|
532
547
|
osSpecificPaths["intellij-github-copilot"] = [
|
|
533
548
|
{ filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
|
|
534
549
|
];
|
|
550
|
+
osSpecificPaths["zed"] = [
|
|
551
|
+
{ filePath: "~/.config/zed/settings.json", type: "global" },
|
|
552
|
+
{ filePath: ".zed/settings.json", type: "local" }
|
|
553
|
+
];
|
|
535
554
|
}
|
|
536
555
|
var MCPFiles = class {
|
|
537
556
|
static {
|
|
@@ -543,6 +562,11 @@ var MCPFiles = class {
|
|
|
543
562
|
friendlyName: "Claude Desktop",
|
|
544
563
|
paths: osSpecificPaths["claude"]
|
|
545
564
|
},
|
|
565
|
+
claude_code: {
|
|
566
|
+
name: "claude-code",
|
|
567
|
+
friendlyName: "Claude Code",
|
|
568
|
+
paths: osSpecificPaths["claude_code"]
|
|
569
|
+
},
|
|
546
570
|
cursor: {
|
|
547
571
|
name: "cursor",
|
|
548
572
|
friendlyName: "Cursor",
|
|
@@ -572,6 +596,11 @@ var MCPFiles = class {
|
|
|
572
596
|
name: "intellij-github-copilot",
|
|
573
597
|
friendlyName: "IntelliJ GitHub Copilot",
|
|
574
598
|
paths: osSpecificPaths["intellij-github-copilot"]
|
|
599
|
+
},
|
|
600
|
+
zed: {
|
|
601
|
+
name: "zed",
|
|
602
|
+
friendlyName: "Zed",
|
|
603
|
+
paths: osSpecificPaths["zed"]
|
|
575
604
|
}
|
|
576
605
|
};
|
|
577
606
|
constructor(mcpFilePathGroups) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ls-mcp",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "list and detect MCP servers and configurations",
|
|
5
5
|
"types": "dist/main.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@changesets/changelog-github": "^0.5.0",
|
|
81
81
|
"@changesets/cli": "^2.27.7",
|
|
82
|
-
"@types/node": "^
|
|
82
|
+
"@types/node": "^24.0.3",
|
|
83
83
|
"c8": "^10.1.2",
|
|
84
84
|
"eslint": "^9.6.0",
|
|
85
85
|
"eslint-plugin-security": "^3.0.1",
|
package/src/main.ts
CHANGED
|
@@ -45,17 +45,22 @@ type MCPFileGroupsResultRecord = Record<string, MCPFileGroupsResult>
|
|
|
45
45
|
|
|
46
46
|
const osSpecificPaths: { [key: string]: MCPFilePath[] } = {
|
|
47
47
|
claude: [],
|
|
48
|
+
claude_code: [],
|
|
48
49
|
cursor: [],
|
|
49
50
|
vscode: [],
|
|
50
51
|
cline: [],
|
|
51
52
|
windsurf: [],
|
|
52
|
-
roo: []
|
|
53
|
+
roo: [],
|
|
54
|
+
'intellij-github-copilot': []
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
if (platform() === 'win32') {
|
|
56
58
|
osSpecificPaths['claude'] = [
|
|
57
59
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: 'global' }
|
|
58
60
|
]
|
|
61
|
+
osSpecificPaths['claude_code'] = [
|
|
62
|
+
{ filePath: '.mcp.json', type: 'local' }
|
|
63
|
+
]
|
|
59
64
|
osSpecificPaths['cursor'] = [
|
|
60
65
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: 'global' },
|
|
61
66
|
{ filePath: '.cursor\\mcp.json', type: 'local' }
|
|
@@ -79,10 +84,17 @@ if (platform() === 'win32') {
|
|
|
79
84
|
osSpecificPaths['intellij-github-copilot'] = [
|
|
80
85
|
{ filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: 'global' },
|
|
81
86
|
]
|
|
87
|
+
osSpecificPaths['zed'] = [
|
|
88
|
+
{ filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: 'global' },
|
|
89
|
+
{ filePath: '.zed\\settings.json', type: 'local' }
|
|
90
|
+
]
|
|
82
91
|
} else {
|
|
83
92
|
osSpecificPaths['claude'] = [
|
|
84
93
|
{ filePath: '~/Library/Application Support/Claude/claude_desktop_config.json', type: 'global' }
|
|
85
94
|
]
|
|
95
|
+
osSpecificPaths['claude_code'] = [
|
|
96
|
+
{ filePath: '.mcp.json', type: 'local' }
|
|
97
|
+
]
|
|
86
98
|
osSpecificPaths['cursor'] = [
|
|
87
99
|
{ filePath: '~/.cursor/mcp.json', type: 'global' },
|
|
88
100
|
{ filePath: '.cursor/mcp.json', type: 'local' }
|
|
@@ -106,6 +118,10 @@ if (platform() === 'win32') {
|
|
|
106
118
|
osSpecificPaths['intellij-github-copilot'] = [
|
|
107
119
|
{ filePath: '~/.config/github-copilot/intellij/mcp.json', type: 'global' },
|
|
108
120
|
]
|
|
121
|
+
osSpecificPaths['zed'] = [
|
|
122
|
+
{ filePath: '~/.config/zed/settings.json', type: 'global' },
|
|
123
|
+
{ filePath: '.zed/settings.json', type: 'local' }
|
|
124
|
+
]
|
|
109
125
|
}
|
|
110
126
|
|
|
111
127
|
export class MCPFiles {
|
|
@@ -115,6 +131,11 @@ export class MCPFiles {
|
|
|
115
131
|
friendlyName: 'Claude Desktop',
|
|
116
132
|
paths: osSpecificPaths['claude']
|
|
117
133
|
},
|
|
134
|
+
claude_code: {
|
|
135
|
+
name: 'claude-code',
|
|
136
|
+
friendlyName: 'Claude Code',
|
|
137
|
+
paths: osSpecificPaths['claude_code']
|
|
138
|
+
},
|
|
118
139
|
cursor: {
|
|
119
140
|
name: 'cursor',
|
|
120
141
|
friendlyName: 'Cursor',
|
|
@@ -144,6 +165,11 @@ export class MCPFiles {
|
|
|
144
165
|
name: 'intellij-github-copilot',
|
|
145
166
|
friendlyName: 'IntelliJ GitHub Copilot',
|
|
146
167
|
paths: osSpecificPaths['intellij-github-copilot']
|
|
168
|
+
},
|
|
169
|
+
zed: {
|
|
170
|
+
name: 'zed',
|
|
171
|
+
friendlyName: 'Zed',
|
|
172
|
+
paths: osSpecificPaths['zed']
|
|
147
173
|
}
|
|
148
174
|
}
|
|
149
175
|
|