Skip to main content
Glama

WebSee MCP Server

by 1AQuantum
README.md4.05 kB
# WebSee Error Intelligence Error resolution, root cause analysis, and pattern detection for JavaScript applications. ## Quick Info - **Tools**: 4 error analysis tools - **Category**: Error debugging - **Error Types**: TypeError, ReferenceError, SyntaxError, RangeError, Network, Custom, Async - **Root Cause Accuracy**: 85-90% - **Average Response Time**: 1.1s - **Test Pass Rate**: 100% ## When to Use - Production errors need debugging - Cryptic minified error messages - Need component/network context for error - Finding root cause of cascading errors - Analyzing recurring error patterns - Understanding error frequency - Tracking error correlation ## Tools Provided 1. **error_resolve_stack** - Resolve stack traces with source maps 2. **error_get_context** - Get component and network context 3. **error_trace_cause** - Find root cause (AI-powered) 4. **error_get_similar** - Find similar error patterns ## Quick Start ``` # 1. Resolve stack error_resolve_stack → Enhanced stack trace # 2. Get context error_get_context → Component + network state # 3. Find root cause error_trace_cause → AI-powered analysis # 4. Check patterns error_get_similar → Related errors ``` ## Documentation - **[SKILL.md](./SKILL.md)** - Complete skill documentation ## Common Use Cases ### Debug Production Error ``` 1. error_resolve_stack → Get original locations 2. error_get_context → Understand what happened 3. error_trace_cause → Find root cause 4. Navigate to source and fix ``` ### Analyze Error Cascade ``` 1. error_get_similar → Group related errors 2. error_trace_cause → Find original cause 3. Fix root cause (fixes all related) ``` ### Recurring Error Analysis ``` 1. error_get_similar → Find all instances 2. Analyze patterns 3. error_trace_cause → Common root cause ``` ## Performance - **Average response time**: 1.1s - **Range**: 0.8s - 1.6s - **Success rate**: 100% - **Root cause accuracy**: 85-90% (high confidence) ## Integration Works seamlessly with: - **websee-source-intelligence** - Resolve stack traces - **websee-component-intelligence** - Get component context - **websee-network-intelligence** - Get network context ## Error Types Supported | Error Type | Detection | Resolution | Context | |------------|-----------|------------|---------| | TypeError | ✅ Full | ✅ Full | ✅ Yes | | ReferenceError | ✅ Full | ✅ Full | ✅ Yes | | SyntaxError | ✅ Full | ⚠️ Limited | ⚠️ Limited | | RangeError | ✅ Full | ✅ Full | ✅ Yes | | Network errors | ✅ Full | ✅ Full | ✅ Yes | | Custom errors | ✅ Full | ✅ Full | ✅ Yes | | Async errors | ✅ Full | ✅ Full | ✅ Yes | ## Root Cause Analysis **Confidence Levels**: - **High (85-90%)**: Single clear cause identified - **Medium (60-85%)**: Multiple possible causes - **Low (< 60%)**: Complex cascade, manual investigation needed **Analysis includes**: - Error message normalization - Stack trace analysis - Component state correlation - Network request correlation - Similar error patterns - Temporal proximity ## Error Context **Captured automatically**: - Component name and state - Recent network requests - Console errors/warnings - User actions (if tracked) - Browser environment - Stack trace (enhanced) ## Prerequisites ### Recommended - Source maps (for stack resolution) - Error boundaries (React) - Global error handlers ### Error Boundary Setup (React) ```javascript class ErrorBoundary extends React.Component { componentDidCatch(error, errorInfo) { // Error automatically captured by WebSee console.error('Error caught:', error, errorInfo); } } ``` ### Global Handler ```javascript window.addEventListener('error', (event) => { // Captured automatically by WebSee console.error('Global error:', event.error); }); window.addEventListener('unhandledrejection', (event) => { // Promise rejections captured console.error('Unhandled promise:', event.reason); }); ``` ## Version - **Skill Version**: 1.0.0 - **Last Updated**: 2025-10-26 - **Status**: ✅ Production Ready

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/1AQuantum/websee-mcp-server'

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