# Function generateSecurityPlan

MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports

- generateSecurityPlan(
  input: { repo: string; categories?: string[]; maxScanners: number },
  ): Promise<RepoSecurityPlan>

  Generate a security scanning plan for a repository (fetches live data).

  #### Parameters

  - input: { repo: string; categories?: string[]; maxScanners: number }

    - ##### repo: string

      GitHub repository in "owner/name" format or full URL.

    - ##### `Optional` categories?: string[]

      Filter to specific scanner categories.

    - ##### maxScanners: number

      Maximum number of scanners to recommend.

  #### Returns Promise<RepoSecurityPlan>

  - Defined in packages/nexus-agents/src/mcp/tools/repo-security-plan.ts:397