File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ async function init () {
2828 return
2929 }
3030
31- let groupIndex = 0
31+ let pathIndex = 0
3232 for ( const groupName of Object . keys ( mcpFilesList ) ) {
33- groupIndex ++
3433 const group = mcpFilesList [ groupName ]
3534
3635 if ( group . paths . length >= 0 ) {
3736 // handle file path list of MCP Servers
3837 for ( const filePathData of group . paths ) {
38+ pathIndex ++
39+
3940 const filePath = filePathData . filePath . replace ( '~' , process . env . HOME || '' )
4041 const filePathValid = filePathData . parsable ? 'VALID' : 'INVALID'
4142 const filePathDataType = filePathData . type . toUpperCase ( )
@@ -56,7 +57,7 @@ async function init () {
5657 mcpServersRunning : totalMCPServersRunning ,
5758 }
5859
59- RenderService . printMcpGroup ( groupIndex , mcpGroupData , groupMetadata )
60+ RenderService . printMcpGroup ( pathIndex , mcpGroupData , groupMetadata )
6061 RenderService . printMcpServers ( mcpServers )
6162 }
6263 } else {
You can’t perform that action at this time.
0 commit comments