# Function registerModelsResource

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

- registerModelsResource(server: McpServer, logger: ILogger): void

  Registers the `nexus://models` resource with the MCP server.

  Exposes the full model capabilities matrix (13 models) as a read-only JSON resource. Data is sourced from the canonical model registry (via `getInTreeCapabilitiesMatrix()` — backed by the ModelRegistry's in-tree entries, #2546 slice C3).

  #### Parameters

  - server: McpServer

    MCP server instance

  - logger: ILogger

    Logger for registration events

  #### Returns void

  - Defined in packages/nexus-agents/src/mcp/resources/models-resource.ts:64