# Function createDefaultDeps

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

- createDefaultDeps(
  rateLimiter: McpRateLimiter,
  logger?: ILogger,
  ): CreateExpertDeps

  Creates default dependencies for the create_expert tool.

  #### Parameters

  - rateLimiter: McpRateLimiter

    Rate limiter for throttling tool calls (required)

  - `Optional` logger: ILogger

    Optional logger instance

  #### Returns CreateExpertDeps

  CreateExpertDeps with default factory and empty registry

  - Defined in packages/nexus-agents/src/mcp/tools/create-expert.ts:357