claude-computer-use-mcp
Version:
MCP server providing browser automation capabilities to Claude Code
21 lines • 837 B
JavaScript
// Type definitions for the claude-computer-use-mcp server
export const DEFAULT_SECURITY_CONFIG = {
allowedProtocols: ['http:', 'https:'],
maxScriptLength: 10000,
maxSelectorLength: 500,
maxTextLength: 50000,
maxSessions: 10,
sessionTimeout: 30 * 60 * 1000, // 30 minutes
allowJavaScriptExecution: false, // Disabled by default for security
maxSessionsPerMinute: 5, // Max 5 new sessions per minute
maxSessionsPerHour: 20, // Max 20 new sessions per hour
enableContentSecurityPolicy: true,
enableRequestInterception: false,
blockedDomains: [],
allowedFileExtensions: ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.pdf', '.txt', '.csv'],
maxFileSize: 50 * 1024 * 1024,
enableAuditLogging: false,
enableMetrics: false,
sandboxMode: true
};
//# sourceMappingURL=types.js.map