ls-mcp 1.8.1 → 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 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() {
@@ -536,6 +539,10 @@ if ((0, import_node_os2.platform)() === "win32") {
536
539
  osSpecificPaths["intellij-github-copilot"] = [
537
540
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
538
541
  ];
542
+ osSpecificPaths["zed"] = [
543
+ { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
544
+ { filePath: ".zed\\settings.json", type: "local" }
545
+ ];
539
546
  } else {
540
547
  osSpecificPaths["claude"] = [
541
548
  { filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
@@ -566,6 +573,10 @@ if ((0, import_node_os2.platform)() === "win32") {
566
573
  osSpecificPaths["intellij-github-copilot"] = [
567
574
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
568
575
  ];
576
+ osSpecificPaths["zed"] = [
577
+ { filePath: "~/.config/zed/settings.json", type: "global" },
578
+ { filePath: ".zed/settings.json", type: "local" }
579
+ ];
569
580
  }
570
581
  var MCPFiles = class {
571
582
  static {
@@ -611,6 +622,11 @@ var MCPFiles = class {
611
622
  name: "intellij-github-copilot",
612
623
  friendlyName: "IntelliJ GitHub Copilot",
613
624
  paths: osSpecificPaths["intellij-github-copilot"]
625
+ },
626
+ zed: {
627
+ name: "zed",
628
+ friendlyName: "Zed",
629
+ paths: osSpecificPaths["zed"]
614
630
  }
615
631
  };
616
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() {
@@ -514,6 +517,10 @@ if (platform2() === "win32") {
514
517
  osSpecificPaths["intellij-github-copilot"] = [
515
518
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
516
519
  ];
520
+ osSpecificPaths["zed"] = [
521
+ { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
522
+ { filePath: ".zed\\settings.json", type: "local" }
523
+ ];
517
524
  } else {
518
525
  osSpecificPaths["claude"] = [
519
526
  { filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
@@ -544,6 +551,10 @@ if (platform2() === "win32") {
544
551
  osSpecificPaths["intellij-github-copilot"] = [
545
552
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
546
553
  ];
554
+ osSpecificPaths["zed"] = [
555
+ { filePath: "~/.config/zed/settings.json", type: "global" },
556
+ { filePath: ".zed/settings.json", type: "local" }
557
+ ];
547
558
  }
548
559
  var MCPFiles = class {
549
560
  static {
@@ -589,6 +600,11 @@ var MCPFiles = class {
589
600
  name: "intellij-github-copilot",
590
601
  friendlyName: "IntelliJ GitHub Copilot",
591
602
  paths: osSpecificPaths["intellij-github-copilot"]
603
+ },
604
+ zed: {
605
+ name: "zed",
606
+ friendlyName: "Zed",
607
+ paths: osSpecificPaths["zed"]
592
608
  }
593
609
  };
594
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() {
@@ -542,6 +545,10 @@ if ((0, import_node_os2.platform)() === "win32") {
542
545
  osSpecificPaths["intellij-github-copilot"] = [
543
546
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
544
547
  ];
548
+ osSpecificPaths["zed"] = [
549
+ { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
550
+ { filePath: ".zed\\settings.json", type: "local" }
551
+ ];
545
552
  } else {
546
553
  osSpecificPaths["claude"] = [
547
554
  { filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
@@ -572,6 +579,10 @@ if ((0, import_node_os2.platform)() === "win32") {
572
579
  osSpecificPaths["intellij-github-copilot"] = [
573
580
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
574
581
  ];
582
+ osSpecificPaths["zed"] = [
583
+ { filePath: "~/.config/zed/settings.json", type: "global" },
584
+ { filePath: ".zed/settings.json", type: "local" }
585
+ ];
575
586
  }
576
587
  var MCPFiles = class {
577
588
  static {
@@ -617,6 +628,11 @@ var MCPFiles = class {
617
628
  name: "intellij-github-copilot",
618
629
  friendlyName: "IntelliJ GitHub Copilot",
619
630
  paths: osSpecificPaths["intellij-github-copilot"]
631
+ },
632
+ zed: {
633
+ name: "zed",
634
+ friendlyName: "Zed",
635
+ paths: osSpecificPaths["zed"]
620
636
  }
621
637
  };
622
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() {
@@ -510,6 +513,10 @@ if (platform2() === "win32") {
510
513
  osSpecificPaths["intellij-github-copilot"] = [
511
514
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: "global" }
512
515
  ];
516
+ osSpecificPaths["zed"] = [
517
+ { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: "global" },
518
+ { filePath: ".zed\\settings.json", type: "local" }
519
+ ];
513
520
  } else {
514
521
  osSpecificPaths["claude"] = [
515
522
  { filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
@@ -540,6 +547,10 @@ if (platform2() === "win32") {
540
547
  osSpecificPaths["intellij-github-copilot"] = [
541
548
  { filePath: "~/.config/github-copilot/intellij/mcp.json", type: "global" }
542
549
  ];
550
+ osSpecificPaths["zed"] = [
551
+ { filePath: "~/.config/zed/settings.json", type: "global" },
552
+ { filePath: ".zed/settings.json", type: "local" }
553
+ ];
543
554
  }
544
555
  var MCPFiles = class {
545
556
  static {
@@ -585,6 +596,11 @@ var MCPFiles = class {
585
596
  name: "intellij-github-copilot",
586
597
  friendlyName: "IntelliJ GitHub Copilot",
587
598
  paths: osSpecificPaths["intellij-github-copilot"]
599
+ },
600
+ zed: {
601
+ name: "zed",
602
+ friendlyName: "Zed",
603
+ paths: osSpecificPaths["zed"]
588
604
  }
589
605
  };
590
606
  constructor(mcpFilePathGroups) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-mcp",
3
- "version": "1.8.1",
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",
package/src/main.ts CHANGED
@@ -84,6 +84,10 @@ if (platform() === 'win32') {
84
84
  osSpecificPaths['intellij-github-copilot'] = [
85
85
  { filePath: `${process.env.LOCALAPPDATA}\\github-copilot\\intellij\\mcp.json`, type: 'global' },
86
86
  ]
87
+ osSpecificPaths['zed'] = [
88
+ { filePath: `${process.env.LOCALAPPDATA}\\zed\\settings.json`, type: 'global' },
89
+ { filePath: '.zed\\settings.json', type: 'local' }
90
+ ]
87
91
  } else {
88
92
  osSpecificPaths['claude'] = [
89
93
  { filePath: '~/Library/Application Support/Claude/claude_desktop_config.json', type: 'global' }
@@ -114,6 +118,10 @@ if (platform() === 'win32') {
114
118
  osSpecificPaths['intellij-github-copilot'] = [
115
119
  { filePath: '~/.config/github-copilot/intellij/mcp.json', type: 'global' },
116
120
  ]
121
+ osSpecificPaths['zed'] = [
122
+ { filePath: '~/.config/zed/settings.json', type: 'global' },
123
+ { filePath: '.zed/settings.json', type: 'local' }
124
+ ]
117
125
  }
118
126
 
119
127
  export class MCPFiles {
@@ -157,6 +165,11 @@ export class MCPFiles {
157
165
  name: 'intellij-github-copilot',
158
166
  friendlyName: 'IntelliJ GitHub Copilot',
159
167
  paths: osSpecificPaths['intellij-github-copilot']
168
+ },
169
+ zed: {
170
+ name: 'zed',
171
+ friendlyName: 'Zed',
172
+ paths: osSpecificPaths['zed']
160
173
  }
161
174
  }
162
175
 
@@ -73,6 +73,11 @@ export class MCPConfigLinterService {
73
73
  return this.fileContentsData.mcpServers
74
74
  }
75
75
 
76
+ // Zed uses `context_servers` key
77
+ if (this.fileContentsData?.context_servers) {
78
+ return this.fileContentsData.context_servers
79
+ }
80
+
76
81
  return {}
77
82
  }
78
83