Krep
Summary
Krep MCP Server provides a high-performance string search utility that wraps the krep binary, offering significantly faster pattern matching than traditional tools like grep. It exposes search functionality through both HTTP endpoints and the Model Context Protocol, automatically selecting optimal search algorithms (KMP, Boyer-Moore-Horspool, or Rabin-Karp) based on pattern length and leveraging hardware acceleration when available. The server includes dynamic CPU core detection for optimal thread allocation, supports both file and string searching modes, and integrates with Claude Desktop and VSCode's Cline extension, making it valuable for developers needing efficient pattern matching within AI assistant workflows.
Available Actions(1)
krep
Search for a pattern in a file or string. Parameters: pattern (string, required), target (string, required), mode (string, optional: 'file', 'string', 'count'), caseSensitive (boolean, optional), threads (number, optional)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论