Krep MCP Server
@MCP-Mirror
Krep MCP Server について
Mirror of
基本情報
設定
以下の設定を使って、このサーバーを 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 with MCP (Model Context Protocol) integration for the infinity-topos environment. It wraps the krep binary, an ultra-fast pattern matching utility, and exposes its functionality through MCP so AI assistants can perform efficient pattern searching in files and strings.
How to use Krep MCP Server?
First, ensure the krep binary is installed (e.g., make in the krep-native repository). Then configure the MCP server in your MCP settings file with the command, args, and env as shown in the README. Invoke the tool by calling the single unified function with parameters: pattern, target, mode (file, string, or count), caseSensitive, and threads. Integration with Cline VSCode extension is also supported via provided shell scripts.
Key features of Krep MCP Server
- High-Performance Search using optimized algorithms (KMP, Boyer-Moore-Horspool, Rabin-Karp)
- Hardware Acceleration: SIMD instructions (SSE4.2/AVX2/NEON) when available
- Optimized Multi-Threading: automatically uses all CPU cores
- Unified Interface: single function with file, string, and count modes
- MCP Integration: seamless connection with AI assistants
Use cases of Krep MCP Server
- Searching for patterns in large source code files or logs
- Matching strings within application output or data streams
- Counting occurrences of a pattern across files without extracting full matches
- Enabling AI assistants to perform rapid codebase analysis
- Integrating with Cline VSCode extension for in-editor pattern searching
FAQ from Krep MCP Server
What dependencies does Krep MCP Server require?
You need the krep binary installed and built from source (https://github.com/barton-willis/krep-native), Node.js to run the server, and an MCP‑compatible host (e.g., Claude Desktop, Cline). The server uses environment variables like KREP_PATH, CLAUDE_MCP, and DEBUG.
How do I configure the path to the krep binary?
Set the KREP_PATH environment variable in your MCP settings file to the full path of the krep binary. The server looks in 37 different paths, but it is recommended to specify it explicitly.
What search algorithms does Krep MCP Server use?
It automatically selects KMP for patterns shorter than 3 characters, Boyer-Moore-Horspool for 3–16 characters, and Rabin-Karp for patterns longer than 16 characters. SIMD instructions (SSE4.2, AVX2, NEON) are used when available.
Can I test the server without a real krep binary?
Yes. Set KREP_TEST_MODE to "true" to enable mock responses that simulate success even when the binary is missing. Also set KREP_SKIP_CHECK to "true" to skip binary existence checks.
How do I integrate Krep MCP Server with Cline VSCode extension?
Use the provided scripts: run install-cline-integration.sh to set up integration, run-cline-test.sh to test before installing, and uninstall-cline-integration.sh to remove it. After setup, use the command /krep krep pattern="..." target="..." mode="..." in Cline conversations.
「その他」の他のコンテンツ
Nginx UI
0xJackyYet another WebUI for Nginx
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
ghidraMCP
LaurieWiredMCP Server for Ghidra
コメント