# Function createTimer

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

- createTimer(): { elapsed: () => number }

  Creates a timing utility for measuring operation duration.

  #### Returns { elapsed: () => number }

  An object with start time and elapsed() method

  #### Example

      const timer = createTimer();
      // ... perform operation
      const durationMs = timer.elapsed();

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