Repository navigation
Conversation
MH0386
marked this pull request as ready for review
July 25, 2025 20:16
_env_parse_none_str configuration to QdrantSettingsenv_parse_none_str configuration to QdrantSettings
env_parse_none_str configuration to QdrantSettings
mahmoudimus
pushed a commit
to mahmoudimus/mcp-server-qdrant
that referenced
this pull request
Nov 17, 2025
This commit consolidates changes from PRs qdrant#92, qdrant#75, qdrant#77, qdrant#90, qdrant#20, qdrant#89, qdrant#78, qdrant#76, and qdrant#68: Infrastructure & Configuration (PR qdrant#75, qdrant#77): - Upgrade Dockerfile to Python 3.13-slim - Use UV 0.8.3 from official image - Add FASTMCP_HOST="0.0.0.0" for container networking - Add SettingsConfigDict for proper None value parsing New Embedding Providers (PR qdrant#76, qdrant#92): - Add Model2Vec support for fast, lightweight embeddings - Add OpenAI-compatible API support (oai_compat) - New settings: OAI_COMPAT_ENDPOINT, OAI_COMPAT_API_KEY, OAI_COMPAT_VEC_SIZE Unnamed Vectors & Multiple Collections (PR qdrant#78): - Add support for Qdrant unnamed vectors - Create UnnamedVectorProvider wrapper - Add USE_UNNAMED_VECTORS and COLLECTION_NAMES settings - Update qdrant.py to handle both named and unnamed vectors - Add __main__.py for python -m execution Hybrid Search (PR qdrant#90): - Implement hybrid search combining dense and sparse vectors - Add find_hybrid() method with RRF and DBSF fusion methods - New tool: qdrant-hybrid-find - Add SPARSE_EMBEDDING_MODEL setting - Support configurable limits for dense, sparse, and final results Optional Collection Names (PR qdrant#89): - Make collection_name parameter optional in store() and find() - Use default collection when not specified - Simplify tool usage with fallback to COLLECTION_NAME env var Additional Tools (PR qdrant#68): - Add qdrant-get-point: Retrieve point by ID - Add qdrant-delete-point: Delete point by ID - Add qdrant-update-point-payload: Update point metadata - Add qdrant-get-collections: List all collections - Add qdrant-get-collection-details: Get collection info - Implement corresponding methods in QdrantConnector Documentation: - Update README with all new features - Document new embedding providers - Add examples for unnamed vectors and multiple collections - Update environment variables table - Document hybrid search functionality - Expand tools documentation Dependencies: - Add model2vec==0.6.0 - Add openai>=1.109.1
This was referenced Nov 17, 2025
Closed
mahmoudimus
added a commit
to mahmoudimus/mcp-server-qdrant
that referenced
this pull request
Nov 17, 2025
This commit consolidates changes from PRs qdrant#92, qdrant#75, qdrant#77, qdrant#90, qdrant#20, qdrant#89, qdrant#78, qdrant#76, and qdrant#68: Infrastructure & Configuration (PR qdrant#75, qdrant#77): - Upgrade Dockerfile to Python 3.13-slim - Use UV 0.8.3 from official image - Add FASTMCP_HOST="0.0.0.0" for container networking - Add SettingsConfigDict for proper None value parsing New Embedding Providers (PR qdrant#76, qdrant#92): - Add Model2Vec support for fast, lightweight embeddings - Add OpenAI-compatible API support (oai_compat) - New settings: OAI_COMPAT_ENDPOINT, OAI_COMPAT_API_KEY, OAI_COMPAT_VEC_SIZE Unnamed Vectors & Multiple Collections (PR qdrant#78): - Add support for Qdrant unnamed vectors - Create UnnamedVectorProvider wrapper - Add USE_UNNAMED_VECTORS and COLLECTION_NAMES settings - Update qdrant.py to handle both named and unnamed vectors - Add __main__.py for python -m execution Hybrid Search (PR qdrant#90): - Implement hybrid search combining dense and sparse vectors - Add find_hybrid() method with RRF and DBSF fusion methods - New tool: qdrant-hybrid-find - Add SPARSE_EMBEDDING_MODEL setting - Support configurable limits for dense, sparse, and final results Optional Collection Names (PR qdrant#89): - Make collection_name parameter optional in store() and find() - Use default collection when not specified - Simplify tool usage with fallback to COLLECTION_NAME env var Additional Tools (PR qdrant#68): - Add qdrant-get-point: Retrieve point by ID - Add qdrant-delete-point: Delete point by ID - Add qdrant-update-point-payload: Update point metadata - Add qdrant-get-collections: List all collections - Add qdrant-get-collection-details: Get collection info - Implement corresponding methods in QdrantConnector Documentation: - Update README with all new features - Document new embedding providers - Add examples for unnamed vectors and multiple collections - Update environment variables table - Document hybrid search functionality - Expand tools documentation Dependencies: - Add model2vec==0.6.0 - Add openai>=1.109.1 Co-authored-by: Claude <noreply@anthropic.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By default, environment variables are parsed verbatim, so this pull request updates the
QdrantSettingsconfiguration insrc/mcp_server_qdrant/settings.pyto enhance environment variable parsing and improve maintainability. The key changes include importingSettingsConfigDictand adding amodel_configattribute for handlingNonestring values in environment variables.Changes to environment variable parsing:
src/mcp_server_qdrant/settings.py: AddedSettingsConfigDictto the imports and introduced amodel_configattribute in theQdrantSettingsclass to ensure that the string "None" is parsed asNonefor environment variables.Before:
After
Why?
I plan to add Qdrant MCP to Docker MCP Registry. The problem is that the Docker MCP Registry's server configuration file
server.yamlneeds to specify all environment variables (options) for that MCP (Qdrant MCP).