MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / applyClaudeCodeIntegration

Function applyClaudeCodeIntegration

src/integrations/claude-plugins.ts:341–349  ·  view source on GitHub ↗
(
  config: QodexConfig,
  cwd: string,
)

Source from the content-addressed store, hash-verified

339
340/** One-shot: import agents + MCP servers + hooks from Claude Code into config (mutates). */
341export async function applyClaudeCodeIntegration(
342 config: QodexConfig,
343 cwd: string,
344): Promise<{ agents: number; mcp: number; hooks: number }> {
345 const agents = await mergeClaudeCodeAgentRoles(config, cwd);
346 const mcp = await mergeClaudeCodePluginMcp(config, cwd);
347 const hooks = await mergeClaudeCodePluginHooks(config, cwd);
348 return { agents, mcp, hooks };
349}

Callers 1

bootstrapFunction · 0.85

Calls 3

mergeClaudeCodePluginMcpFunction · 0.85

Tested by

no test coverage detected