Commit Graph

5 Commits

Author SHA1 Message Date
Andre Heinecke c96cc26939
Disable optional builtin servers
Just to reduce problem surface
2025-10-11 12:30:11 +02:00
Claude4Ξlope 824a66d7c8 Add tmux session management and screen to tmux conversion
Features:
- Add tmux_server.py with full session management capabilities
- Convert TheCoder script from screen to tmux with HOME bind mount fix
- Add enabled flag to MCPServerConfig for selective server startup
- Tmux now default, screen legacy (disabled by default)
- Update documentation and architecture to reflect tmux preference

Session Management:
- create_session, execute, peek, list_sessions, kill_session
- attach_session and share_session with multi-user instructions
- Better multi-user support than screen with native tmux capabilities

Testing:
- Add test_tmux_session.py for comprehensive tmux functionality testing
- Add test_screen_utf8.py for UTF-8 handling
- Add MCP_QUICK_REFERENCE.md for AI handoff documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 15:28:32 +02:00
Claude4Ξlope 5aacf468a4 Fix MCP initialization timeout and add daemon management
- Fix protocol version mismatch (0.1.0 -> 2024-11-05)
- Fix server mode blocking on startup causing Claude Desktop timeout
- Add --version flag to show version information
- Implement proper daemon cleanup when starting new daemon
- Add kill_daemon_with_children() to properly terminate process tree
- Fix dictionary iteration error during shutdown
- Ensure sparse mode is always enabled (3 tools only)
- Fix async stdin reading in base server to prevent EOF loops
- Add syslog support for server mode logging
- Switch from stdin.read() to readline() for proper JSON-RPC handling
- Add comprehensive MCP protocol test suite

The tool now works correctly as an MCP proxy between Claude Desktop
and MCP servers with additional built-in tools.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 22:00:32 +02:00
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
Claude4Ξlope 9a7172096f Initial prototype of MCP Browser
A generic, minimalistic MCP browser with optimized context usage:
- Generic JSON-RPC interface with call() and discover() methods
- Sparse mode for context optimization
- 4 built-in MCP servers (screen, memory, patterns, onboarding)
- Multi-server management
- Identity-aware onboarding as third visible tool

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 12:30:20 +02:00