MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / pluginMcpServersInfo

Function pluginMcpServersInfo

packages/agent-core/src/plugin/manager.ts:445–449  ·  view source on GitHub ↗
(record: PluginRecord)

Source from the content-addressed store, hash-verified

443}
444
445function pluginMcpServersInfo(record: PluginRecord): readonly PluginMcpServerInfo[] {
446 return Object.entries(record.manifest?.mcpServers ?? {})
447 .map(([name, config]) => pluginMcpServerInfo(record, name, config))
448 .toSorted((a, b) => a.name.localeCompare(b.name));
449}
450
451function pluginMcpServerInfo(
452 record: PluginRecord,

Callers 2

recordToSummaryFunction · 0.85
recordToInfoFunction · 0.85

Calls 1

pluginMcpServerInfoFunction · 0.85

Tested by

no test coverage detected