ls-mcp 1.11.0 → 1.13.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.
@@ -13,6 +13,7 @@ export interface MCPServerConfig {
13
13
  type?: 'sse' | 'http' | 'stdio' | 'streamable-http'
14
14
  url?: string
15
15
  env?: Record<string, string>
16
+ headers?: Record<string, string>
16
17
  }
17
18
 
18
19
  export interface MCPAppMetadata {
@@ -28,6 +29,13 @@ export interface MCPFilePath {
28
29
  servers?: MCPServerInfo[]
29
30
  }
30
31
 
32
+ export interface PackageVersionInfo {
33
+ packageName: string
34
+ version?: string
35
+ isPinned: boolean
36
+ isLatest: boolean
37
+ }
38
+
31
39
  export interface MCPServerInfo {
32
40
  name: string
33
41
  command: string
@@ -36,7 +44,9 @@ export interface MCPServerInfo {
36
44
  type?: 'sse' | 'http' | 'stdio' | 'streamable-http'
37
45
  source?: string
38
46
  env?: Record<string, string>
47
+ headers?: Record<string, string>
39
48
  status?: 'running' | 'stopped'
49
+ versionInfo?: PackageVersionInfo
40
50
  credentials?: CredentialAnalysisResult
41
51
  }
42
52
 
@@ -67,6 +77,7 @@ export interface CredentialVariable {
67
77
  name: string
68
78
  value: string
69
79
  riskLevel: 'low' | 'high'
80
+ source?: 'env' | 'args' | 'headers'
70
81
  }
71
82
 
72
83
  export interface CredentialAnalysisResult {