@mhalder/qdrant-mcp-server 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/CONTRIBUTING.md +14 -2
  3. package/README.md +9 -8
  4. package/build/index.js +34 -832
  5. package/build/index.js.map +1 -1
  6. package/build/prompts/register.d.ts +10 -0
  7. package/build/prompts/register.d.ts.map +1 -0
  8. package/build/prompts/register.js +50 -0
  9. package/build/prompts/register.js.map +1 -0
  10. package/build/resources/index.d.ts +10 -0
  11. package/build/resources/index.d.ts.map +1 -0
  12. package/build/resources/index.js +60 -0
  13. package/build/resources/index.js.map +1 -0
  14. package/build/tools/code.d.ts +10 -0
  15. package/build/tools/code.d.ts.map +1 -0
  16. package/build/tools/code.js +122 -0
  17. package/build/tools/code.js.map +1 -0
  18. package/build/tools/collection.d.ts +12 -0
  19. package/build/tools/collection.d.ts.map +1 -0
  20. package/build/tools/collection.js +59 -0
  21. package/build/tools/collection.js.map +1 -0
  22. package/build/tools/document.d.ts +12 -0
  23. package/build/tools/document.d.ts.map +1 -0
  24. package/build/tools/document.js +84 -0
  25. package/build/tools/document.js.map +1 -0
  26. package/build/tools/index.d.ts +18 -0
  27. package/build/tools/index.d.ts.map +1 -0
  28. package/build/tools/index.js +30 -0
  29. package/build/tools/index.js.map +1 -0
  30. package/build/tools/schemas.d.ts +75 -0
  31. package/build/tools/schemas.d.ts.map +1 -0
  32. package/build/tools/schemas.js +114 -0
  33. package/build/tools/schemas.js.map +1 -0
  34. package/build/tools/search.d.ts +12 -0
  35. package/build/tools/search.d.ts.map +1 -0
  36. package/build/tools/search.js +79 -0
  37. package/build/tools/search.js.map +1 -0
  38. package/package.json +1 -1
  39. package/src/index.ts +38 -984
  40. package/src/prompts/register.ts +71 -0
  41. package/src/resources/index.ts +79 -0
  42. package/src/tools/code.ts +184 -0
  43. package/src/tools/collection.ts +100 -0
  44. package/src/tools/document.ts +113 -0
  45. package/src/tools/index.ts +48 -0
  46. package/src/tools/schemas.ts +130 -0
  47. package/src/tools/search.ts +122 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## <small>2.1.1 (2026-01-17)</small>
2
+
3
+ * Merge pull request #43 from mhalder/feat/mcpserver-migration ([48ac95b](https://github.com/mhalder/qdrant-mcp-server/commit/48ac95b)), closes [#43](https://github.com/mhalder/qdrant-mcp-server/issues/43)
4
+ * fix: address PR review feedback for type safety and docs ([608100d](https://github.com/mhalder/qdrant-mcp-server/commit/608100d))
5
+ * refactor: migrate from Server to McpServer API ([1315104](https://github.com/mhalder/qdrant-mcp-server/commit/1315104))
6
+
7
+ ## 2.1.0 (2026-01-17)
8
+
9
+ * Merge pull request #42 from mhalder/feat/configurable-http-timeout ([15a5a5a](https://github.com/mhalder/qdrant-mcp-server/commit/15a5a5a)), closes [#42](https://github.com/mhalder/qdrant-mcp-server/issues/42)
10
+ * fix: add validation for HTTP_REQUEST_TIMEOUT_MS environment variable ([fdc169f](https://github.com/mhalder/qdrant-mcp-server/commit/fdc169f))
11
+ * feat: make HTTP request timeout configurable via environment variable ([09528e3](https://github.com/mhalder/qdrant-mcp-server/commit/09528e3))
12
+
1
13
  ## 2.0.0 (2026-01-17)
2
14
 
3
15
  * build!: update dependencies and migrate to Podman ([bef9119](https://github.com/mhalder/qdrant-mcp-server/commit/bef9119))
package/CONTRIBUTING.md CHANGED
@@ -147,8 +147,20 @@ Automated via [semantic-release](https://semantic-release.gitbook.io/):
147
147
  ```
148
148
  qdrant-mcp-server/
149
149
  ├── src/ # Source code
150
- │ ├── embeddings/ # Embedding providers
151
- └── qdrant/ # Qdrant client
150
+ │ ├── code/ # Code indexing and vectorization
151
+ │ ├── chunker/ # AST-aware code chunking
152
+ │ │ └── sync/ # File synchronization with Merkle trees
153
+ │ ├── embeddings/ # Embedding providers (Ollama, OpenAI, Cohere, Voyage)
154
+ │ ├── prompts/ # MCP prompt templates and registration
155
+ │ ├── qdrant/ # Qdrant vector database client
156
+ │ ├── resources/ # MCP resource definitions
157
+ │ └── tools/ # MCP tool implementations
158
+ │ ├── code.ts # Code indexing tools
159
+ │ ├── collection.ts # Collection management
160
+ │ ├── document.ts # Document operations
161
+ │ ├── search.ts # Search tools (semantic + hybrid)
162
+ │ ├── schemas.ts # Zod validation schemas
163
+ │ └── index.ts # Tool registration orchestrator
152
164
  ├── build/ # Compiled output
153
165
  ├── examples/ # Usage examples
154
166
  ├── scripts/ # Utility scripts
package/README.md CHANGED
@@ -436,14 +436,15 @@ See [examples/](examples/) directory for detailed guides:
436
436
 
437
437
  #### Core Configuration
438
438
 
439
- | Variable | Description | Default |
440
- | --------------------- | -------------------------------------- | --------------------- |
441
- | `TRANSPORT_MODE` | "stdio" or "http" | stdio |
442
- | `HTTP_PORT` | Port for HTTP transport | 3000 |
443
- | `EMBEDDING_PROVIDER` | "ollama", "openai", "cohere", "voyage" | ollama |
444
- | `QDRANT_URL` | Qdrant server URL | http://localhost:6333 |
445
- | `QDRANT_API_KEY` | API key for Qdrant authentication | - |
446
- | `PROMPTS_CONFIG_FILE` | Path to prompts configuration JSON | prompts.json |
439
+ | Variable | Description | Default |
440
+ | ------------------------- | --------------------------------------- | --------------------- |
441
+ | `TRANSPORT_MODE` | "stdio" or "http" | stdio |
442
+ | `HTTP_PORT` | Port for HTTP transport | 3000 |
443
+ | `HTTP_REQUEST_TIMEOUT_MS` | Request timeout for HTTP transport (ms) | 300000 |
444
+ | `EMBEDDING_PROVIDER` | "ollama", "openai", "cohere", "voyage" | ollama |
445
+ | `QDRANT_URL` | Qdrant server URL | http://localhost:6333 |
446
+ | `QDRANT_API_KEY` | API key for Qdrant authentication | - |
447
+ | `PROMPTS_CONFIG_FILE` | Path to prompts configuration JSON | prompts.json |
447
448
 
448
449
  #### Embedding Configuration
449
450