Skip to content

Commit 28236e1

Browse files
committed
fix: added docs and deploy bump
1 parent 3cb1ff5 commit 28236e1

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,32 @@ Add this to your `claude_desktop_config.json`:
102102
}
103103
```
104104

105+
### Ollama run from this codebase
106+
```
107+
"ragdocs-mcp": {
108+
"command": "node",
109+
"args": [
110+
"/home/sander/code/mcp-server-ragdocs/build/index.js"
111+
],
112+
"env": {
113+
"QDRANT_URL": "http://127.0.0.1:6333",
114+
"EMBEDDINGS_PROVIDER": "ollama",
115+
"OLLAMA_URL": "http://localhost:11434"
116+
},
117+
"alwaysAllow": [
118+
"run_queue",
119+
"list_queue",
120+
"list_sources",
121+
"search_documentation",
122+
"clear_queue",
123+
"remove_documentation",
124+
"extract_urls"
125+
],
126+
"timeout": 3600
127+
}
128+
```
129+
130+
105131

106132
## Environment Variables Reference
107133

src/handlers/search-documentation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export class SearchDocumentationHandler extends BaseHandler {
2323
limit,
2424
with_payload: true,
2525
// with_vector: false, // Optimize network transfer by not retrieving vectors
26-
score_threshold: 0.7 // Only return relevant results
26+
score_threshold: 0.4, // Temporary lower threshold for testing
27+
with_vector: true // DEBUG: Include vector in response
2728
}
2829
)
2930

0 commit comments

Comments
 (0)