ls-mcp 1.9.1 → 1.11.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/README.md +29 -3
- package/dist/bin/cli.cjs +952 -289
- package/dist/bin/cli.mjs +935 -272
- package/dist/main.cjs +814 -263
- package/dist/main.d.cts +82 -14
- package/dist/main.d.ts +82 -14
- package/dist/main.mjs +814 -265
- package/package.json +3 -1
- package/src/bin/cli.ts +37 -5
- package/src/components/credential-warning.ts +37 -0
- package/src/components/summary.ts +57 -0
- package/src/main.ts +50 -140
- package/src/services/credential-detection-service.ts +166 -0
- package/src/services/directory-bubble-service.ts +82 -0
- package/src/services/mcp-config-linter-service.ts +13 -74
- package/src/services/mcp-config-parser.ts +234 -0
- package/src/services/mcp-config-service.ts +304 -0
- package/src/services/mcp-path-registry.ts +164 -0
- package/src/services/mcp-server-manager-service.ts +5 -4
- package/src/services/render-service.ts +46 -2
- package/src/types/mcp-config-service.types.ts +76 -0
- package/src/types.ts +1 -1
- package/src/utils/url-utils.ts +24 -0
- package/src/utils/os-paths.ts +0 -102
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
Detect
|
|
8
|
+
Detect Configured MCP (Model Context Protocol) in your local dev environment
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
@@ -22,15 +22,41 @@
|
|
|
22
22
|
<img src="https://github.com/lirantal/ls-mcp/blob/main/.github/ls-mcp-logo.png?raw=true" alt="ls-mcp logo"/>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
|
+
## Features
|
|
26
|
+
|
|
27
|
+
- **🔍 MCP Discovery**: Automatically detect MCP servers across various AI applications and agentic IDEs
|
|
28
|
+
- **📁 Directory Bubbling**: Intelligent discovery of project-scoped MCP configs from nested directories, supporting project-scoped MCP Server configuration and global configurations
|
|
29
|
+
- **🔄 Process Detection**: Real-time status of running MCP servers
|
|
30
|
+
- **🔒 Credential Analysis**: Security analysis of environment variables and API keys for potentially exposed credentials in MCP Servers
|
|
31
|
+
|
|
25
32
|
## Usage: CLI
|
|
26
33
|
|
|
27
34
|
```bash
|
|
28
35
|
npx ls-mcp
|
|
29
36
|
```
|
|
30
37
|
|
|
31
|
-
|
|
38
|
+
### Debug Mode
|
|
39
|
+
|
|
40
|
+
To enable verbose debugging output, set the `NODE_DEBUG` environment variable:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Enable debug logging for ls-mcp
|
|
44
|
+
NODE_DEBUG=ls-mcp npx ls-mcp
|
|
45
|
+
|
|
46
|
+
# Enable all debug logging
|
|
47
|
+
NODE_DEBUG=* npx ls-mcp
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Documentation
|
|
51
|
+
|
|
52
|
+
For detailed information about the project architecture and features:
|
|
32
53
|
|
|
33
|
-
|
|
54
|
+
- **[Project Overview](./docs/project.md)**: Comprehensive project analysis and architecture
|
|
55
|
+
- **[Design Documentation](./docs/design.md)**: Technical design decisions and implementation details
|
|
56
|
+
- **[Requirements](./docs/requirements.md)**: Functional and non-functional requirements
|
|
57
|
+
- **[Directory Bubbling](./docs/directory-bubbling.md)**: Intelligent directory traversal feature
|
|
58
|
+
- **[URL Hostname Extraction](./docs/url-hostname-extraction.md)**: Clean display of hostnames for URL-based servers
|
|
59
|
+
- **[Credential Detection](./docs/credential-detection.md)**: Security analysis features
|
|
34
60
|
|
|
35
61
|
## Author
|
|
36
62
|
|