Log Viewer
The Log Viewer provides a terminal-style interface for viewing and searching MCP server logs.
Features
- Terminal-style interface: Monospace font with color-coded log levels
- Real-time updates: Logs appear as they're generated
- Filtering: Filter by log level and server
- Search: Regex pattern search
- Export: Copy to clipboard or download as JSON
Accessing Logs
Navigate to the Logs page from the sidebar.
Log Format
Each log entry shows:
- Timestamp: When the log was generated
- Level: DEBUG, INFO, WARNING, ERROR
- Server: Which MCP server generated it
- Message: Log content
Filtering
By Log Level
Select one or more levels:
- DEBUG: Detailed diagnostic information
- INFO: General informational messages
- WARNING: Warning messages
- ERROR: Error messages
By Server
Filter logs from specific servers using the server dropdown.
By Search Pattern
Enter a regex pattern to search log messages.
Exporting Logs
Copy to Clipboard
Click the Copy button to copy visible logs.
Download as JSON
Click the Download button to save logs as a JSON file.
Best Practices
- Use filters: Narrow down logs for easier debugging
- Check ERROR level: Start with error logs when troubleshooting
- Export logs: Save logs before clearing or restarting
- Search patterns: Use regex for complex searches
For API access to logs, see Logs API.