Qdrant Vector Database
STDIOMachine Control Protocol server for storing and retrieving information from Qdrant vector database.
Machine Control Protocol server for storing and retrieving information from Qdrant vector database.
A Machine Control Protocol (MCP) server for storing and retrieving information from a Qdrant vector database.
pip install mcp-server-qdrant
git clone https://github.com/your-org/mcp-server-qdrant.git cd mcp-server-qdrant make setup
Configuration is done through environment variables. You can create a .env
file based on the .env.example
file:
cp .env.example .env
Edit the .env
file to configure the server:
# Qdrant configuration
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=your-api-key
# Collection name
COLLECTION_NAME=memories
# Embedding provider configuration
EMBEDDING_PROVIDER=fastembed
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
python -m mcp_server_qdrant.main
Or using the make command:
make run
docker-compose up
The MCP server provides the following tools:
Stores information in the Qdrant database.
information: The text to store
metadata: Optional JSON metadata to associate with the text
Searches for information in the Qdrant database using semantic search.
query: The search query
make test
make format
make lint
make build
Apache License 2.0