website-to-markdown-mcp
Version:
Advanced MCP server for fetching websites and converting to markdown with AI-powered features and stealth capabilities
37 lines • 983 B
TypeScript
export interface StealthBrowserOptions {
headless?: boolean;
timeout?: number;
userAgent?: string;
proxy?: string;
viewport?: {
width: number;
height: number;
};
blockedResourceTypes?: string[];
enableStealth?: boolean;
browserType?: 'chromium' | 'firefox' | 'webkit';
}
export declare class StealthBrowser {
private browser;
private context;
private page;
private options;
private rateLimit;
constructor(options?: StealthBrowserOptions);
initialize(): Promise<void>;
private applyStealth;
navigate(url: string): Promise<void>;
private simulateHumanBehavior;
getContent(): Promise<{
title: string;
content: string;
url: string;
}>;
executeScript(script: string): Promise<any>;
screenshot(options?: {
path?: string;
fullPage?: boolean;
}): Promise<Buffer>;
close(): Promise<void>;
}
//# sourceMappingURL=stealth-browser.d.ts.map