Commit Graph

4 Commits

Author SHA1 Message Date
Claude4Ξlope 1fee302b4d Add regex JSONPath support and gen_apidoc command
**Enhanced JSONPath Support**:
- Manual regex implementation for queries like `$.tools[?(@.name =~ /pattern/i)]`
- Supports case-insensitive searches with /i flag
- Works on both tool names and descriptions
- Fallback to standard JSONPath for non-regex queries

**gen_apidoc Command**:
- New `python setup.py gen_apidoc` command
- Generates comprehensive JSON documentation of MCP API
- Includes all servers, tools, schemas, and capabilities
- AI-optimized format with discovery patterns
- Runtime server status information
- Perfect for adding to project knowledge bases

**API Documentation Features**:
- Complete server inventory with tool counts
- Capability inference from tool names/descriptions
- Discovery pattern examples for common queries
- Sparse mode information for context optimization
- Tool grouping by server with metadata

This enables powerful regex-based tool discovery and provides
comprehensive API documentation for AI consumption.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 13:04:59 +02:00
Claude4Ξlope c8bfa4b2d1 Add enhanced interactive mode and cmem integration
Major enhancements to MCP Browser functionality:

**Interactive Client & Testing**:
- New comprehensive interactive client with readline support
- Tab completion for commands and tools
- Enhanced tool testing with sample argument generation
- Standalone executable script for easy testing

**cmem Integration**:
- Bidirectional sync between memory server and cmem
- Identity-specific memory contexts
- Automatic task, pattern, and decision synchronization
- Graceful degradation when cmem unavailable

**Developer Experience**:
- Updated tool descriptions with clear proxy pattern explanations
- Comprehensive handoff documentation for AI assistant transitions
- 32 new tests covering all enhanced functionality
- All tests passing (46 passed, 3 skipped)

**Context Optimization**:
- Maintained sparse mode efficiency
- Clear meta-tool descriptions with emojis
- Enhanced onboarding guide with practical examples

This update significantly improves both AI assistant workflow continuity
and developer testing capabilities while maintaining the project's core
principle of context efficiency.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 12:00:52 +02:00
Claude4Ξlope 9a22aa7714 Add dynamic config reloading and comprehensive onboarding
- Add inotify-based config file watching for runtime server updates
- Include external server information in mcp_discover results
- Add comprehensive default onboarding explaining proxy architecture
- Update sparse tool description to show server count
- Config changes are now automatically detected and reloaded
- No restart required when adding new MCP servers to config.yaml

The onboarding now fully explains:
- Proxy mode connecting to external MCP servers
- Built-in tools always available
- Discovery examples for finding servers and tools
- Runtime configuration without restarts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 22:10:52 +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