# Function analyzeRepo

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

- analyzeRepo(
  metadata: GhRepoMetadata,
  topLevelEntries: readonly string[],
  workflowEntries?: readonly string[],
  ): RepoAnalysis

  Analyze a GitHub repository given its metadata and file tree.

  #### Parameters

  - metadata: GhRepoMetadata
  - topLevelEntries: readonly string[]
  - `Optional` workflowEntries: readonly string[]

  #### Returns RepoAnalysis

  - Defined in packages/nexus-agents/src/mcp/tools/repo-analyze.ts:290