The server was hanging on initialize requests because: 1. It was calling browser.initialize() at startup which tried to connect to upstream servers 2. It was using blocking stdin.read(4096) instead of line-based reading Fixed by: - Removing premature initialization in server mode (let it happen lazily) - Switching to readline() for proper line-based JSON-RPC handling - Adding proper error responses for malformed JSON This resolves the 60-second timeout error when Claude Desktop tries to connect. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| buffer.py | ||
| client_main.py | ||
| config.py | ||
| daemon.py | ||
| daemon_main.py | ||
| default_configs.py | ||
| filter.py | ||
| logging_config.py | ||
| multi_server.py | ||
| proxy.py | ||
| py.typed | ||
| registry.py | ||
| server.py | ||