@buger/probe-mcp
DEPRECATED: This package has been integrated into
@buger/probe.Please use
@buger/probewith theprobe mcpcommand instead.Migration:
npm install @buger/probethen useprobe mcpinstead ofprobe-mcp
MCP server for the Probe code search tool.
Installation
For new users, please use the integrated version:
# Install the main probe package
npm install -g @buger/probe
# Run MCP server
probe mcp
Legacy installation (deprecated):
# Install globally (DEPRECATED)
npm install -g @buger/probe-mcp
# Or use directly with npx (DEPRECATED)
npx @buger/probe-mcp
This package now uses the @buger/probe package as a dependency, which will automatically handle downloading the appropriate Probe binary for your system when needed.
Usage
This package provides an MCP server that allows AI assistants to use the Probe code search tool.
Command Line Options
probe-mcp [options]
Options:
--timeout, -t <seconds> Set timeout for search operations (default: 30)
--help, -h Show help message
In Claude Desktop or VSCode
Recommended (new integrated version):
{
"mcpServers": {
"probe": {
"command": "npx",
"args": [
"-y",
"@buger/probe",
"mcp"
]
}
}
}
To use a custom timeout (e.g., 60 seconds):
{
"mcpServers": {
"probe": {
"command": "npx",
"args": [
"-y",
"@buger/probe",
"mcp",
"--timeout",
"60"
]
}
}
}
Legacy configuration (deprecated):
{
"mcpServers": {
"probe": {
"command": "npx",
"args": [
"-y",
"@buger/probe-mcp"
]
}
}
}
Ask your AI assistant to search your codebase using natural language queries like:
- "Search my codebase for implementations of the ranking algorithm"
- "Find all functions related to error handling in the src directory"
- "Look for code that handles user authentication"
The AI will use the Probe tool to search your codebase and provide relevant code snippets and explanations.
Troubleshooting
If you encounter issues with the MCP server:
Package Dependencies: Make sure both
@buger/probe-mcpand@buger/probeare properly installed. The@buger/probepackage handles the binary download and management.Binary Issues: If you encounter issues with the Probe binary, you can check the binary path using:
import { getBinaryPath } from '@buger/probe'; console.log(getBinaryPath());Package Name: Make sure you're using
@buger/probe-mcp(not@buger/probe) in your MCP configuration.
License
ISC