ls-mcp 1.8.0 → 1.8.1
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 +14 -1
- package/dist/bin/cli.mjs +14 -1
- package/dist/main.cjs +14 -1
- package/dist/main.mjs +14 -1
- package/package.json +2 -2
- package/src/main.ts +14 -1
package/dist/bin/cli.cjs
CHANGED
|
@@ -498,16 +498,21 @@ var MCPServerManagerService = class {
|
|
|
498
498
|
// src/main.ts
|
|
499
499
|
var osSpecificPaths = {
|
|
500
500
|
claude: [],
|
|
501
|
+
claude_code: [],
|
|
501
502
|
cursor: [],
|
|
502
503
|
vscode: [],
|
|
503
504
|
cline: [],
|
|
504
505
|
windsurf: [],
|
|
505
|
-
roo: []
|
|
506
|
+
roo: [],
|
|
507
|
+
"intellij-github-copilot": []
|
|
506
508
|
};
|
|
507
509
|
if ((0, import_node_os2.platform)() === "win32") {
|
|
508
510
|
osSpecificPaths["claude"] = [
|
|
509
511
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
510
512
|
];
|
|
513
|
+
osSpecificPaths["claude_code"] = [
|
|
514
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
515
|
+
];
|
|
511
516
|
osSpecificPaths["cursor"] = [
|
|
512
517
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
513
518
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -535,6 +540,9 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
535
540
|
osSpecificPaths["claude"] = [
|
|
536
541
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
537
542
|
];
|
|
543
|
+
osSpecificPaths["claude_code"] = [
|
|
544
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
545
|
+
];
|
|
538
546
|
osSpecificPaths["cursor"] = [
|
|
539
547
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
540
548
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -569,6 +577,11 @@ var MCPFiles = class {
|
|
|
569
577
|
friendlyName: "Claude Desktop",
|
|
570
578
|
paths: osSpecificPaths["claude"]
|
|
571
579
|
},
|
|
580
|
+
claude_code: {
|
|
581
|
+
name: "claude-code",
|
|
582
|
+
friendlyName: "Claude Code",
|
|
583
|
+
paths: osSpecificPaths["claude_code"]
|
|
584
|
+
},
|
|
572
585
|
cursor: {
|
|
573
586
|
name: "cursor",
|
|
574
587
|
friendlyName: "Cursor",
|
package/dist/bin/cli.mjs
CHANGED
|
@@ -476,16 +476,21 @@ var MCPServerManagerService = class {
|
|
|
476
476
|
// src/main.ts
|
|
477
477
|
var osSpecificPaths = {
|
|
478
478
|
claude: [],
|
|
479
|
+
claude_code: [],
|
|
479
480
|
cursor: [],
|
|
480
481
|
vscode: [],
|
|
481
482
|
cline: [],
|
|
482
483
|
windsurf: [],
|
|
483
|
-
roo: []
|
|
484
|
+
roo: [],
|
|
485
|
+
"intellij-github-copilot": []
|
|
484
486
|
};
|
|
485
487
|
if (platform2() === "win32") {
|
|
486
488
|
osSpecificPaths["claude"] = [
|
|
487
489
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
488
490
|
];
|
|
491
|
+
osSpecificPaths["claude_code"] = [
|
|
492
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
493
|
+
];
|
|
489
494
|
osSpecificPaths["cursor"] = [
|
|
490
495
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
491
496
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -513,6 +518,9 @@ if (platform2() === "win32") {
|
|
|
513
518
|
osSpecificPaths["claude"] = [
|
|
514
519
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
515
520
|
];
|
|
521
|
+
osSpecificPaths["claude_code"] = [
|
|
522
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
523
|
+
];
|
|
516
524
|
osSpecificPaths["cursor"] = [
|
|
517
525
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
518
526
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -547,6 +555,11 @@ var MCPFiles = class {
|
|
|
547
555
|
friendlyName: "Claude Desktop",
|
|
548
556
|
paths: osSpecificPaths["claude"]
|
|
549
557
|
},
|
|
558
|
+
claude_code: {
|
|
559
|
+
name: "claude-code",
|
|
560
|
+
friendlyName: "Claude Code",
|
|
561
|
+
paths: osSpecificPaths["claude_code"]
|
|
562
|
+
},
|
|
550
563
|
cursor: {
|
|
551
564
|
name: "cursor",
|
|
552
565
|
friendlyName: "Cursor",
|
package/dist/main.cjs
CHANGED
|
@@ -504,16 +504,21 @@ var MCPServerManagerService = class {
|
|
|
504
504
|
// src/main.ts
|
|
505
505
|
var osSpecificPaths = {
|
|
506
506
|
claude: [],
|
|
507
|
+
claude_code: [],
|
|
507
508
|
cursor: [],
|
|
508
509
|
vscode: [],
|
|
509
510
|
cline: [],
|
|
510
511
|
windsurf: [],
|
|
511
|
-
roo: []
|
|
512
|
+
roo: [],
|
|
513
|
+
"intellij-github-copilot": []
|
|
512
514
|
};
|
|
513
515
|
if ((0, import_node_os2.platform)() === "win32") {
|
|
514
516
|
osSpecificPaths["claude"] = [
|
|
515
517
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
516
518
|
];
|
|
519
|
+
osSpecificPaths["claude_code"] = [
|
|
520
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
521
|
+
];
|
|
517
522
|
osSpecificPaths["cursor"] = [
|
|
518
523
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
519
524
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -541,6 +546,9 @@ if ((0, import_node_os2.platform)() === "win32") {
|
|
|
541
546
|
osSpecificPaths["claude"] = [
|
|
542
547
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
543
548
|
];
|
|
549
|
+
osSpecificPaths["claude_code"] = [
|
|
550
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
551
|
+
];
|
|
544
552
|
osSpecificPaths["cursor"] = [
|
|
545
553
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
546
554
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -575,6 +583,11 @@ var MCPFiles = class {
|
|
|
575
583
|
friendlyName: "Claude Desktop",
|
|
576
584
|
paths: osSpecificPaths["claude"]
|
|
577
585
|
},
|
|
586
|
+
claude_code: {
|
|
587
|
+
name: "claude-code",
|
|
588
|
+
friendlyName: "Claude Code",
|
|
589
|
+
paths: osSpecificPaths["claude_code"]
|
|
590
|
+
},
|
|
578
591
|
cursor: {
|
|
579
592
|
name: "cursor",
|
|
580
593
|
friendlyName: "Cursor",
|
package/dist/main.mjs
CHANGED
|
@@ -472,16 +472,21 @@ var MCPServerManagerService = class {
|
|
|
472
472
|
// src/main.ts
|
|
473
473
|
var osSpecificPaths = {
|
|
474
474
|
claude: [],
|
|
475
|
+
claude_code: [],
|
|
475
476
|
cursor: [],
|
|
476
477
|
vscode: [],
|
|
477
478
|
cline: [],
|
|
478
479
|
windsurf: [],
|
|
479
|
-
roo: []
|
|
480
|
+
roo: [],
|
|
481
|
+
"intellij-github-copilot": []
|
|
480
482
|
};
|
|
481
483
|
if (platform2() === "win32") {
|
|
482
484
|
osSpecificPaths["claude"] = [
|
|
483
485
|
{ filePath: `${process.env.APPDATA}\\Claude\\claude_desktop_config.json`, type: "global" }
|
|
484
486
|
];
|
|
487
|
+
osSpecificPaths["claude_code"] = [
|
|
488
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
489
|
+
];
|
|
485
490
|
osSpecificPaths["cursor"] = [
|
|
486
491
|
{ filePath: `${process.env.HOME}\\.cursor\\mcp.json`, type: "global" },
|
|
487
492
|
{ filePath: ".cursor\\mcp.json", type: "local" }
|
|
@@ -509,6 +514,9 @@ if (platform2() === "win32") {
|
|
|
509
514
|
osSpecificPaths["claude"] = [
|
|
510
515
|
{ filePath: "~/Library/Application Support/Claude/claude_desktop_config.json", type: "global" }
|
|
511
516
|
];
|
|
517
|
+
osSpecificPaths["claude_code"] = [
|
|
518
|
+
{ filePath: ".mcp.json", type: "local" }
|
|
519
|
+
];
|
|
512
520
|
osSpecificPaths["cursor"] = [
|
|
513
521
|
{ filePath: "~/.cursor/mcp.json", type: "global" },
|
|
514
522
|
{ filePath: ".cursor/mcp.json", type: "local" }
|
|
@@ -543,6 +551,11 @@ var MCPFiles = class {
|
|
|
543
551
|
friendlyName: "Claude Desktop",
|
|
544
552
|
paths: osSpecificPaths["claude"]
|
|
545
553
|
},
|
|
554
|
+
claude_code: {
|
|
555
|
+
name: "claude-code",
|
|
556
|
+
friendlyName: "Claude Code",
|
|
557
|
+
paths: osSpecificPaths["claude_code"]
|
|
558
|
+
},
|
|
546
559
|
cursor: {
|
|
547
560
|
name: "cursor",
|
|
548
561
|
friendlyName: "Cursor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ls-mcp",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
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' }
|
|
@@ -83,6 +88,9 @@ if (platform() === 'win32') {
|
|
|
83
88
|
osSpecificPaths['claude'] = [
|
|
84
89
|
{ filePath: '~/Library/Application Support/Claude/claude_desktop_config.json', type: 'global' }
|
|
85
90
|
]
|
|
91
|
+
osSpecificPaths['claude_code'] = [
|
|
92
|
+
{ filePath: '.mcp.json', type: 'local' }
|
|
93
|
+
]
|
|
86
94
|
osSpecificPaths['cursor'] = [
|
|
87
95
|
{ filePath: '~/.cursor/mcp.json', type: 'global' },
|
|
88
96
|
{ filePath: '.cursor/mcp.json', type: 'local' }
|
|
@@ -115,6 +123,11 @@ export class MCPFiles {
|
|
|
115
123
|
friendlyName: 'Claude Desktop',
|
|
116
124
|
paths: osSpecificPaths['claude']
|
|
117
125
|
},
|
|
126
|
+
claude_code: {
|
|
127
|
+
name: 'claude-code',
|
|
128
|
+
friendlyName: 'Claude Code',
|
|
129
|
+
paths: osSpecificPaths['claude_code']
|
|
130
|
+
},
|
|
118
131
|
cursor: {
|
|
119
132
|
name: 'cursor',
|
|
120
133
|
friendlyName: 'Cursor',
|