Skip to main content
Glama

Safari MCP Server

by lxman
types.ts•1.59 kB
export interface SafariSessionOptions { enableInspection?: boolean; enableProfiling?: boolean; usesTechnologyPreview?: boolean; } export interface SafariSession { driver: any; // WebDriver instance - using any to avoid import issues sessionId: string; options: SafariSessionOptions; createdAt: Date; } export interface ConsoleLogEntry { level: string; message: string; timestamp: number; source?: string; } export interface NetworkLogEntry { method: string; url: string; status?: number; requestHeaders?: Record<string, string>; responseHeaders?: Record<string, string>; timestamp: number; duration?: number; } export interface ElementInspectionResult { tagName: string; text: string; attributes: Record<string, string>; computedStyles?: Record<string, string>; boundingRect?: { x: number; y: number; width: number; height: number; }; } export interface PerformanceMetrics { navigationStart?: number; loadEventEnd?: number; domContentLoadedEventEnd?: number; firstPaint?: number; firstContentfulPaint?: number; } export interface SafariCapabilities { browserName: string; browserVersion: string; platformName: string; acceptInsecureCerts?: boolean; pageLoadStrategy?: 'normal' | 'eager' | 'none'; unhandledPromptBehavior?: 'dismiss' | 'accept' | 'dismiss and notify' | 'accept and notify' | 'ignore'; 'safari:automaticInspection'?: boolean; 'safari:automaticProfiling'?: boolean; 'safari:useTechnologyPreview'?: boolean; } export type LogLevel = 'ALL' | 'DEBUG' | 'INFO' | 'WARNING' | 'SEVERE';

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lxman/safari-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server