UNPKG

okta-mcp-server

Version:

Model Context Protocol (MCP) server for Okta API operations with support for bulk operations and caching

29 lines 846 B
/** * Read-Only Mode Middleware * * Prevents dangerous write operations when READ_ONLY_MODE is enabled. * This is crucial for production environments where data modification * should be restricted. */ import type { ServerConfig } from '../../types/index.js'; export declare class ReadOnlyMiddleware { private readOnlyMode; constructor(config: ServerConfig); /** * Check if an operation is allowed in read-only mode */ checkOperation(toolName: string): void; /** * Get information about read-only mode status */ getStatus(): { readOnlyMode: boolean; allowedOperations: string[]; blockedOperations: string[]; }; /** * Get a user-friendly message about read-only mode */ getReadOnlyMessage(): string; } //# sourceMappingURL=read-only-middleware.d.ts.map