Skip to content

Add Qdrant MCP server configuration. #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

MH0386
Copy link

@MH0386 MH0386 commented Jul 15, 2025

No description provided.

…emove unused fastmcp_host/port settings, and include FASTEMBED_CACHE_PATH.
@ipedrazas
Copy link
Contributor

Thank you for your contirbution!

This is the result of running task build -- --tools qdrant

task build -- --tools qdrant
task: [build] go run ./cmd/build --tools qdrant
[+] Building 16.9s (7/7) FINISHED                                                                                                                                                                                                          docker:desktop-linux
 => [internal] load git source https://github.com/qdrant/mcp-server-qdrant.git#v0.8.0                                                                                                                                                                      1.1s
 => [internal] load metadata for docker.io/library/python:3.11-slim                                                                                                                                                                                        1.1s
 => [1/4] FROM docker.io/library/python:3.11-slim@sha256:139020233cc412efe4c8135b0efe1c7569dc8b28ddd88bddb109b764f8977e30                                                                                                                                  0.1s
 => => resolve docker.io/library/python:3.11-slim@sha256:139020233cc412efe4c8135b0efe1c7569dc8b28ddd88bddb109b764f8977e30                                                                                                                                  0.1s
 => CACHED [2/4] WORKDIR /app                                                                                                                                                                                                                              0.0s
 => [3/4] RUN pip install --no-cache-dir uv                                                                                                                                                                                                                3.6s
 => [4/4] RUN uv pip install --system --no-cache-dir mcp-server-qdrant                                                                                                                                                                                     3.6s
 => exporting to image                                                                                                                                                                                                                                     7.1s
 => => exporting layers                                                                                                                                                                                                                                    5.4s
 => => exporting manifest sha256:6c969f1f66d4ed6589560b6b527612253fb8cc0210ac77375d8a63738db2bd74                                                                                                                                                          0.0s
 => => exporting config sha256:fb30a41c1ae28048d37f485298d9a5f993a93fd4bb52917144b995524d377f53                                                                                                                                                            0.1s
 => => exporting attestation manifest sha256:b1ac1a515986fe464d53c1eab32c0f8351605b8a670e7163d0e7d92873538d34                                                                                                                                              0.1s
 => => exporting manifest list sha256:fad6c1a52d0f4b3c12c8c762cc6ab83bf139b0f4cd528b00dc0a1b37b8308eb7                                                                                                                                                     0.1s
 => => naming to docker.io/library/check:latest                                                                                                                                                                                                            0.0s
 => => unpacking to docker.io/library/check:latest                                                                                                                                                                                                         1.3s
 => => naming to docker.io/mcp/qdrant:latest                                                                                                                                                                                                               0.0s
 => => unpacking to docker.io/mcp/qdrant:latest                                                                                                                                                                                                            0.0s

 2 warnings found (use docker --debug to expand):
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "QDRANT_API_KEY") (line 16)
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 21)

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview
2025/07/21 11:29:24 initializing mcp/qdrant: Downloading hf-xet (2.9MiB)
Downloading cryptography (4.0MiB)
Downloading grpcio (5.5MiB)
Downloading pillow (5.7MiB)
Downloading sympy (6.0MiB)
Downloading pydantic-core (1.8MiB)
Downloading numpy (13.9MiB)
Downloading onnxruntime (13.8MiB)
Downloading pygments (1.2MiB)
Downloading tokenizers (2.9MiB)
   Building pyperclip==1.9.0
      Built pyperclip==1.9.0
 Downloading pygments
 Downloading pydantic-core
 Downloading hf-xet
 Downloading tokenizers
 Downloading cryptography
 Downloading grpcio
 Downloading pillow
 Downloading sympy
 Downloading onnxruntime
 Downloading numpy
Installed 75 packages in 57ms
Traceback (most recent call last):
  File "/root/.cache/uv/archive-v0/SZ7ANpRs8hfrR56uyvt3d/bin/mcp-server-qdrant", line 12, in <module>
    sys.exit(main())
             ^^^^^^
  File "/root/.cache/uv/archive-v0/SZ7ANpRs8hfrR56uyvt3d/lib/python3.11/site-packages/mcp_server_qdrant/main.py", line 22, in main
    from mcp_server_qdrant.server import mcp
  File "/root/.cache/uv/archive-v0/SZ7ANpRs8hfrR56uyvt3d/lib/python3.11/site-packages/mcp_server_qdrant/server.py", line 10, in <module>
    qdrant_settings=QdrantSettings(),
                    ^^^^^^^^^^^^^^^^
  File "/root/.cache/uv/archive-v0/SZ7ANpRs8hfrR56uyvt3d/lib/python3.11/site-packages/pydantic_settings/main.py", line 188, in __init__
    super().__init__(
  File "/root/.cache/uv/archive-v0/SZ7ANpRs8hfrR56uyvt3d/lib/python3.11/site-packages/pydantic/main.py", line 253, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for QdrantSettings
  Value error, If 'local_path' is set, 'location' and 'api_key' must be None. [type=value_error, input_value={'QDRANT_URL': 'http://lo...ath/to/qdrant/database'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.11/v/value_error
exit status 1

Could you make that listing tools does not need any configuration, please? we only push to hub docker images that succesfully list tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants