From 2e871a4707ae87f738d657d1beb33173368f2db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=81ukawski?= Date: Fri, 13 Dec 2024 17:52:10 +0100 Subject: [PATCH] Add example of using local mode in README --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84cbde6..b607736 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,28 @@ By default, the server will use the `sentence-transformers/all-MiniLM-L6-v2` emb For the time being, only [FastEmbed](https://qdrant.github.io/fastembed/) models are supported, and you can change it by passing the `--fastembed-model-name` argument to the server. -### Environment Variables +### Using a local Qdrant database + +To use a local mode of Qdrant, you can specify the path to the database using the `--qdrant-local-path` argument: + +```json +{ + "qdrant": { + "command": "uvx", + "args": [ + "mcp-server-qdrant", + "--qdrant-local-path", + "/path/to/qdrant/database", + "--collection-name", + "your_collection_name" + ] + } +} +``` + +It will run Qdrant local mode inside the same process as the MCP server. Although it is not recommended for production. + +## Environment Variables The configuration of the server can be also done using environment variables: