mcp-browser/mcp_browser
Claude4Ξlope 1bb1d05715 Replace debug output with proper logging framework
- Added comprehensive logging system with configurable levels
  - TRACE: Shows raw JSON-RPC I/O with server names
  - DEBUG: Detailed operational logging
  - INFO/WARNING/ERROR: Standard logging levels

- New command line options:
  - --log-level: Set logging level (TRACE/DEBUG/INFO/WARNING/ERROR)
  - --log-file: Log to file instead of stderr

- Improved error handling and timeouts:
  - Initial server discovery timeout reduced to 3 seconds
  - Servers marked as offline for 30 minutes after failure
  - Better error messages with server context

- All debug output now goes to stderr, keeping stdout clean for JSON

Example usage:
  mcp-browser --log-level TRACE tools-list  # See raw I/O
  mcp-browser --debug --log-file debug.log  # Debug to file

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 16:24:24 +02:00
..
__init__.py Update project metadata for Xilope0 namespace 2025-06-27 12:45:34 +02:00
__main__.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00
buffer.py Initial prototype of MCP Browser 2025-06-27 12:30:20 +02:00
config.py Add default config system with ~/.claude/mcp-browser/ directory 2025-06-27 14:37:19 +02:00
daemon.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00
default_configs.py Add default config system with ~/.claude/mcp-browser/ directory 2025-06-27 14:37:19 +02:00
filter.py Fix MCP Browser test suite and add Brave Search integration 2025-06-27 14:11:13 +02:00
logging_config.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00
multi_server.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00
proxy.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00
py.typed Add pip infrastructure and AI development tools 2025-06-27 12:33:43 +02:00
registry.py Initial prototype of MCP Browser 2025-06-27 12:30:20 +02:00
server.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00