Provides Docker support for containerized deployment of the MCP server with a sample Dockerfile included
Supports Sentence Transformers models from Hugging Face as embedding providers for creating vector representations of content for semantic search
Utilizes OpenAI's embedding models (text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002) to generate vector embeddings for semantic search capabilities
Qdrant MCP Server
A Model Context Protocol (MCP) server that provides semantic memory capabilities using Qdrant vector database with configurable embedding providers.
Features
Multiple Embedding Providers:
OpenAI (text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002)
Sentence Transformers (all-MiniLM-L6-v2, all-mpnet-base-v2, and more)
Semantic Search: Store and retrieve information using vector similarity
Flexible Configuration: Environment variables for all settings
MCP Tools: Store, find, delete, and list operations
Metadata Support: Attach custom metadata to stored content
Installation
Via uvx (Recommended for MCP)
The server is designed to be lightweight by default. When using OpenAI embeddings:
For local embeddings with Sentence Transformers:
Via pip (Development)
Configuration
The server can be configured using environment variables:
Required Environment Variables
EMBEDDING_PROVIDER: Choose betweenopenaiorsentence-transformersEMBEDDING_MODEL: Model name for the chosen providerOPENAI_API_KEY: Required when using OpenAI embeddings
Optional Environment Variables
QDRANT_URL: Qdrant server URL (default:http://localhost:6333)QDRANT_API_KEY: Qdrant API key (optional)COLLECTION_NAME: Qdrant collection name (default:mcp_memory)DEVICE: Device for sentence transformers (default: auto-detect)DEFAULT_LIMIT: Default search results limit (default: 10)SCORE_THRESHOLD: Minimum similarity score (default: 0.0)
Example Configuration
Supported Embedding Models
OpenAI Models
text-embedding-3-small(1536 dimensions) - Defaulttext-embedding-3-large(3072 dimensions)text-embedding-ada-002(1536 dimensions) - Legacy
Sentence Transformers Models
all-MiniLM-L6-v2(384 dimensions) - Fast and efficientall-mpnet-base-v2(768 dimensions) - Higher qualityAny other Sentence Transformers model from Hugging Face
Usage
Starting the Server
MCP Tools
qdrant-store
Store content with semantic embeddings:
qdrant-find
Search for relevant information:
qdrant-delete
Delete stored items:
qdrant-list-collections
List all collections in Qdrant:
qdrant-collection-info
Get information about the current collection:
Integration with Claude Desktop
Add to your Claude Desktop configuration:
For OpenAI Embeddings (Lightweight)
For Local Embeddings (Sentence Transformers)
Development
Running Tests
Project Structure
Docker Support
License
Apache License 2.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed