mcp-browser/mcp_browser
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
..
__init__.py Bump version to 0.2.0 after major enhancements 2025-06-28 12:05:55 +02:00
__main__.py Fix linter issues and update integration test 2025-06-27 22:02:31 +02:00
buffer.py Initial prototype of MCP Browser 2025-06-27 12:30:20 +02:00
client_main.py Fix linter issues and update integration test 2025-06-27 22:02:31 +02:00
config.py Add default config system with ~/.claude/mcp-browser/ directory 2025-06-27 14:37:19 +02:00
daemon.py Fix linter issues and update integration test 2025-06-27 22:02:31 +02:00
daemon_main.py Fix daemon file descriptor handling 2025-06-27 18:07:15 +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 initialization timeout and add daemon management 2025-06-27 22:00:32 +02:00
interactive_client.py Add enhanced interactive mode and cmem integration 2025-06-28 12:00:52 +02:00
logging_config.py Fix MCP initialization timeout and add daemon management 2025-06-27 22:00:32 +02:00
multi_server.py Fix MCP initialization timeout and add daemon management 2025-06-27 22:00:32 +02:00
proxy.py Add dynamic config reloading and comprehensive onboarding 2025-06-27 22:10:52 +02:00
py.typed Add pip infrastructure and AI development tools 2025-06-27 12:33:43 +02:00
registry.py Add regex JSONPath support and gen_apidoc command 2025-06-28 13:04:59 +02:00
server.py Replace debug output with proper logging framework 2025-06-27 16:24:24 +02:00