MCPcopy Create free account
hub / github.com/ShipSecAI/studio / listGroups

Method listGroups

backend/src/mcp-groups/mcp-groups.service.ts:104–107  ·  view source on GitHub ↗
(enabledOnly = false)

Source from the content-addressed store, hash-verified

102 }
103
104 async listGroups(enabledOnly = false): Promise<McpGroupResponse[]> {
105 const groups = await this.repository.findAll(enabledOnly ? { enabled: true } : {});
106 return groups.map((g) => this.mapGroupToResponse(g));
107 }
108
109 listTemplates(): GroupTemplateDto[] {
110 return this.seedingService.getAllTemplates();

Callers 3

fetchServersFunction · 0.45
fetchGroupServersFunction · 0.45
mcpGroupStore.tsFile · 0.45

Calls 2

mapGroupToResponseMethod · 0.95
findAllMethod · 0.45

Tested by

no test coverage detected