# Function createMcpLogger

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

- createMcpLogger(baseContext?: McpLogContext): ILogger

  Creates a logger with MCP-specific context.

  #### Parameters

  - `Optional` baseContext: McpLogContext

    Base context to include in all log entries

  #### Returns ILogger

  An ILogger instance with MCP context

  #### Example

      const logger = createMcpLogger({ requestId: 'req-123' });
      logger.info('Processing request', { tool: 'orchestrate' });

  - Defined in packages/nexus-agents/src/mcp/middleware/logging.ts:38