Skip to content

Commit a749c54

Browse files
authored
Print transport type in mcpserver-formatted list command (#1088)
Per request from Ozz.
1 parent e4a207c commit a749c54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/thv/app/list.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ func printMCPServersOutput(workloadList []workloads.Workload) error {
8484
for _, c := range workloadList {
8585
// Add the MCP server to the map
8686
mcpServers[c.Name] = map[string]string{
87-
"url": c.URL,
87+
"url": c.URL,
88+
"type": c.TransportType.String(),
8889
}
8990
}
9091

0 commit comments

Comments
 (0)