dolphin-mcp
MCP server for Dolphin semantic code search. Conforms to MCP spec.
Quick Start
No installation needed - use bunx:
Configuration
Continue.dev
Add to config.yaml:
Claude Desktop
Add to claude_desktop_config.json:
Environment Variables
Variable | Default | Description |
|
| Dolphin API endpoint |
|
| Logging level (debug, info, warn, error) |
Parallel Snippet Fetching Configuration
These variables control the performance optimization for parallel snippet fetching in search_knowledge:
Variable | Default | Description | Recommended Range |
|
| Maximum parallel snippet requests | 4-12 |
|
| Timeout per snippet request (ms) | 1500-3000 |
|
| Retry attempts for failed requests | 0-3 |
Configuration Presets
Conservative (recommended for limited resources):
Recommended (balanced performance):
Performance (maximum throughput):
Available Tools
search_knowledge
Semantically query code and docs across indexed repositories and return ranked snippets with citations.
Filtering Options:
repos: Include only specific repositoriespath_prefix: Include only paths matching these prefixes (e.g.,["src/", "lib/"])exclude_paths: Exclude paths matching these prefixes (e.g.,["tests/", "node_modules/", "dist/"])exclude_patterns: Exclude files matching glob patterns (e.g.,["*.test.ts", "*.config.json"])
Example:
fetch_chunk
Fetch a chunk by chunk_id and return fenced code with citation.
fetch_lines
Fetch a file slice [start, end] inclusive from disk and return fenced code with citation.
get_vector_store_info
Report namespaces, dims, limits, and approximate counts.
open_in_editor
Compute a vscode://file URI for a repo path and optional position.
Installation (Optional)
If you prefer installing globally:
Then use dolphin-mcp instead of bunx dolphin-mcp.
Requirements
License
MIT - see LICENSE file for details.