Add example of using local mode in README
This commit is contained in:
23
README.md
23
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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user