# Function getEventBusStats

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

- getEventBusStats(): {
  eventsEmitted: number;
  activeSubscriptions: number;
  historySize: number;
  errorCount: number;
  }

  Gets EventBus statistics for observability reporting.

  #### Returns {
  eventsEmitted: number;
  activeSubscriptions: number;
  historySize: number;
  errorCount: number;
  }

  - Defined in packages/nexus-agents/src/mcp/eventbus-bridge.ts:291