Krep MCP Server
@bmorphism
关于 Krep MCP Server
High-performance string search MCP server with automatic CPU core scaling
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"krep": {
"command": "node",
"args": [
"/path/to/krep-mcp-server/src/index.js"
],
"env": {
"CLAUDE_MCP": "true",
"KREP_PATH": "/path/to/krep-native/krep",
"DEBUG": "true"
},
"description": "High-performance string search utility with unified interface",
"disabled": false,
"autoApprove": [
"krep"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Krep MCP Server?
Krep MCP Server is a high‑performance string search utility that wraps the krep binary and exposes its functionality through the Model Context Protocol (MCP). It allows AI assistants to perform efficient pattern searching in files and strings using optimized algorithms and hardware acceleration.
How to use Krep MCP Server?
Install the krep binary, then configure the MCP server in your MCP settings file with the path to the server script and the required environment variables (e.g., KREP_PATH). Invoke the single unified function krep with parameters for pattern, target, mode, case sensitivity, and thread count.
Key features of Krep MCP Server
- High‑performance search using KMP, Boyer‑Moore‑Horspool, and Rabin‑Karp algorithms
- Hardware acceleration via SIMD instructions (SSE4.2/AVX2/NEON)
- Optimized multi‑threading that auto‑detects all CPU cores
- Unified interface: one function supporting file search, string search, and count‑only mode
- Seamless integration with AI assistants through the Model Context Protocol
- Automatic algorithm selection based on pattern length
Use cases of Krep MCP Server
- AI assistants performing fast pattern matching in large codebases
- Developers searching strings or files contextually within an IDE (e.g., Cline VSCode extension)
- Counting occurrences of a pattern without retrieving full matches
- Integrating with other MCP services (e.g., Babashka, Say, Coin‑Flip) in the infinity‑topos environment
FAQ from Krep MCP Server
What is Krep MCP Server?
It is a wrapper around the krep binary that provides a high‑performance string search utility accessible through the Model Context Protocol, enabling AI assistants to search files and strings efficiently.
Does Krep MCP Server require the krep binary to be installed?
Yes. The server expects the krep binary to be present; its path can be specified via the KREP_PATH environment variable. The server will skip the check if KREP_SKIP_CHECK is set to true.
Can Krep MCP Server run in a non‑MCP mode?
Yes. When not running in MCP mode, the server starts an HTTP server with endpoints for health check, search, match, performance, and algorithm selection.
What search algorithms does Krep MCP Server use?
It uses Knuth‑Morris‑Pratt (KMP) for very short patterns (<3 characters), Boyer‑Moore‑Horspool for medium‑length patterns (3‑16 characters), and Rabin‑Karp for longer patterns (>16 characters). Hardware acceleration via SIMD is used when available.
How is Krep MCP Server integrated with Cline VSCode extension?
The server provides installation scripts (install-cline-integration.sh) and a test script (run-cline-test.sh) to set up the integration, allowing users to search with /krep commands directly in Cline conversations.
其他 分类下的更多 MCP 服务器
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
评论