-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcp.json.example
More file actions
38 lines (37 loc) · 1.04 KB
/
mcp.json.example
File metadata and controls
38 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"mcpServers": {
"java-codebase-rag": {
"type": "stdio",
"command": "java-codebase-rag-mcp",
"env": {
"JAVA_CODEBASE_RAG_INDEX_DIR": "/ABSOLUTE/PATH/TO/.java-codebase-rag",
"JAVA_CODEBASE_RAG_SOURCE_ROOT": "/ABSOLUTE/PATH/TO/your-java-project",
"SBERT_MODEL": "sentence-transformers/all-MiniLM-L6-v2"
}
}
}
}
// Minimal configuration with walk-up discovery (no env vars required):
// The tool walks up from the current directory to find .java-codebase-rag.yml,
// then uses the config's source_root (or the config directory itself) to find the index.
// Just omit the "env" section entirely:
//
// {
// "mcpServers": {
// "java-codebase-rag": {
// "type": "stdio",
// "command": "java-codebase-rag-mcp"
// }
// }
// }
//
// For Claude Code (which uses the same MCP protocol but different config format),
// the minimal configuration in .mcp.json is similar:
//
// {
// "mcpServers": {
// "java-codebase-rag": {
// "command": "java-codebase-rag-mcp"
// }
// }
// }