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 Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.

EverArt
modelcontextprotocolModel Context Protocol Servers
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
コメント