@mhalder/qdrant-mcp-server 1.2.0 → 1.3.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.
- package/CHANGELOG.md +18 -0
- package/README.md +34 -0
- package/build/index.js +643 -443
- package/build/index.js.map +1 -1
- package/build/transport.test.d.ts +2 -0
- package/build/transport.test.d.ts.map +1 -0
- package/build/transport.test.js +168 -0
- package/build/transport.test.js.map +1 -0
- package/examples/hybrid-search/README.md +37 -0
- package/package.json +3 -1
- package/src/index.ts +719 -478
- package/src/transport.test.ts +202 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## <small>1.3.1 (2025-10-12)</small>
|
|
2
|
+
|
|
3
|
+
* Merge pull request #27 from mhalder/fix/empty-responses ([30d33a7](https://github.com/mhalder/qdrant-mcp-server/commit/30d33a7)), closes [#27](https://github.com/mhalder/qdrant-mcp-server/issues/27)
|
|
4
|
+
* fix: improve HTTP transport robustness and prevent resource leaks ([cff1248](https://github.com/mhalder/qdrant-mcp-server/commit/cff1248)), closes [#26](https://github.com/mhalder/qdrant-mcp-server/issues/26)
|
|
5
|
+
|
|
6
|
+
## 1.3.0 (2025-10-11)
|
|
7
|
+
|
|
8
|
+
* Merge pull request #25 from mhalder/feature/http-transport ([efc90c3](https://github.com/mhalder/qdrant-mcp-server/commit/efc90c3)), closes [#25](https://github.com/mhalder/qdrant-mcp-server/issues/25)
|
|
9
|
+
* fix: address PR feedback for HTTP transport implementation ([1aec6d5](https://github.com/mhalder/qdrant-mcp-server/commit/1aec6d5))
|
|
10
|
+
* fix: address PR feedback for HTTP transport implementation ([3243d0e](https://github.com/mhalder/qdrant-mcp-server/commit/3243d0e))
|
|
11
|
+
* fix: clear cleanup interval on shutdown and improve error messages ([6aa29f3](https://github.com/mhalder/qdrant-mcp-server/commit/6aa29f3))
|
|
12
|
+
* fix: implement per-IP rate limiting and consolidate port validation ([c3bfc92](https://github.com/mhalder/qdrant-mcp-server/commit/c3bfc92))
|
|
13
|
+
* fix: prevent transport double closure and add rate limiter memory management ([2f92d78](https://github.com/mhalder/qdrant-mcp-server/commit/2f92d78))
|
|
14
|
+
* fix: resolve critical issues in HTTP transport implementation ([7951f2b](https://github.com/mhalder/qdrant-mcp-server/commit/7951f2b))
|
|
15
|
+
* fix: resolve race condition and resource leak in HTTP timeout handler ([6635ccb](https://github.com/mhalder/qdrant-mcp-server/commit/6635ccb))
|
|
16
|
+
* docs: add Try It and Cleanup sections to hybrid-search example ([5e32f16](https://github.com/mhalder/qdrant-mcp-server/commit/5e32f16))
|
|
17
|
+
* feat: add HTTP transport support for remote MCP server deployment ([983a9d6](https://github.com/mhalder/qdrant-mcp-server/commit/983a9d6)), closes [#24](https://github.com/mhalder/qdrant-mcp-server/issues/24)
|
|
18
|
+
|
|
1
19
|
## 1.2.0 (2025-10-11)
|
|
2
20
|
|
|
3
21
|
* Merge pull request #23 from mhalder/feature/hybrid-search ([5925df7](https://github.com/mhalder/qdrant-mcp-server/commit/5925df7)), closes [#23](https://github.com/mhalder/qdrant-mcp-server/issues/23)
|
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ A Model Context Protocol (MCP) server providing semantic search capabilities usi
|
|
|
14
14
|
- **Semantic Search**: Natural language search with metadata filtering
|
|
15
15
|
- **Rate Limiting**: Intelligent throttling with exponential backoff
|
|
16
16
|
- **Full CRUD**: Create, search, and manage collections and documents
|
|
17
|
+
- **Flexible Deployment**: Run locally (stdio) or as a remote HTTP server
|
|
17
18
|
|
|
18
19
|
## Quick Start
|
|
19
20
|
|
|
@@ -40,6 +41,8 @@ npm run build
|
|
|
40
41
|
|
|
41
42
|
### Configuration
|
|
42
43
|
|
|
44
|
+
#### Local Setup (stdio transport)
|
|
45
|
+
|
|
43
46
|
Add to `~/.claude/claude_code_config.json`:
|
|
44
47
|
|
|
45
48
|
```json
|
|
@@ -57,6 +60,35 @@ Add to `~/.claude/claude_code_config.json`:
|
|
|
57
60
|
}
|
|
58
61
|
```
|
|
59
62
|
|
|
63
|
+
#### Remote Setup (HTTP transport)
|
|
64
|
+
|
|
65
|
+
> **⚠️ Security Warning**: When deploying the HTTP transport in production:
|
|
66
|
+
>
|
|
67
|
+
> - **Always** run behind a reverse proxy (nginx, Caddy) with HTTPS
|
|
68
|
+
> - Implement authentication/authorization at the proxy level
|
|
69
|
+
> - Use firewalls to restrict access to trusted networks
|
|
70
|
+
> - Never expose directly to the public internet without protection
|
|
71
|
+
> - Consider implementing rate limiting at the proxy level
|
|
72
|
+
> - Monitor server logs for suspicious activity
|
|
73
|
+
|
|
74
|
+
**Start the server:**
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
TRANSPORT_MODE=http HTTP_PORT=3000 node build/index.js
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Configure client:**
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"mcpServers": {
|
|
85
|
+
"qdrant": {
|
|
86
|
+
"url": "http://your-server:3000/mcp"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
60
92
|
**Using a different provider:**
|
|
61
93
|
|
|
62
94
|
```json
|
|
@@ -111,6 +143,8 @@ See [examples/](examples/) directory for detailed guides:
|
|
|
111
143
|
|
|
112
144
|
| Variable | Description | Default |
|
|
113
145
|
| ----------------------------------- | -------------------------------------- | --------------------- |
|
|
146
|
+
| `TRANSPORT_MODE` | "stdio" or "http" | stdio |
|
|
147
|
+
| `HTTP_PORT` | Port for HTTP transport | 3000 |
|
|
114
148
|
| `EMBEDDING_PROVIDER` | "ollama", "openai", "cohere", "voyage" | ollama |
|
|
115
149
|
| `QDRANT_URL` | Qdrant server URL | http://localhost:6333 |
|
|
116
150
|
| `EMBEDDING_MODEL` | Model name | Provider-specific |
|