UNPKG

@postman/postman-mcp-server

Version:

Postman MCP Server — connect AI agents (Claude Code, Cursor, VS Code Copilot, Gemini CLI) to your Postman collections, specifications, and environments via Model Context Protocol (MCP)

17 lines (16 loc) • 641 B
import { TelemetryClient } from './client.js'; import { NoopTelemetryClient } from './noop.js'; export function createTelemetryClient(options) { if (!options.telemetryEnabled || !options.apiKey) { return new NoopTelemetryClient(); } return new TelemetryClient({ apiKey: options.apiKey, pluginAttributionEnabled: options.pluginAttributionEnabled, }); } export { TelemetryClient } from './client.js'; export { NoopTelemetryClient } from './noop.js'; export { TelemetrySession } from './session.js'; export { detectPaginationUsed } from './pagination.js'; export { parseTelemetryFlag } from './flag.js';