UNPKG

@the_cfdude/productboard-mcp

Version:

Model Context Protocol server for Productboard REST API with dynamic tool loading

41 lines (40 loc) 1.09 kB
/** * Session-aware configuration loading for ProductBoard MCP Server * Provides isolated configuration per session to prevent conflicts */ import { SessionState } from '../session-manager.js'; export interface SessionConfig { apiToken?: string; baseUrl?: string; timeouts?: { request?: number; response?: number; }; rateLimiting?: { enabled: boolean; maxRequestsPerMinute: number; }; caching?: { enabled: boolean; ttlSeconds: number; }; } /** * Load configuration for a specific session */ export declare function loadSessionConfig(session: SessionState): SessionConfig; /** * Update session configuration */ export declare function updateSessionConfig(session: SessionState, updates: Partial<SessionConfig>): void; /** * Clear session configuration cache */ export declare function clearSessionConfigCache(session: SessionState): void; /** * Validate session configuration */ export declare function validateSessionConfig(config: SessionConfig): { valid: boolean; errors: string[]; };