Milvus
MCP server built on top of Milvus, a high-performance vector database.
Available Tools
The server provides the following tools:
Search and Query Operations
-
milvus_text_search: Search for documents using full text search- Parameters:
collection_name: Name of collection to searchquery_text: Text to search forlimit: Maximum results (default: 5)output_fields: Fields to include in resultsdrop_ratio: Proportion of low-frequency terms to ignore (0.0-1.0)
- Parameters:
-
milvus_vector_search: Perform vector similarity search on a collection- Parameters:
collection_name: Name of collection to searchvector: Query vectorvector_field: Field containing vectors to search (default: "vector")limit: Maximum results (default: 5)output_fields: Fields to include in resultsmetric_type: Distance metric (COSINE, L2, IP) (default: "COSINE")
- Parameters:
-
milvus_query: Query collection using filter expressions- Parameters:
collection_name: Name of collection to queryfilter_expr: Filter expression (e.g. 'age > 20')output_fields: Fields to include in resultslimit: Maximum results (default: 10)
- Parameters:
Collection Management
-
milvus_list_collections: List all collections in the database -
milvus_create_collection: Create a new collection with specified schema- Parameters:
collection_name: Name for the new collectioncollection_schema: Collection schema definitionindex_params: Optional index parameters
- Parameters:
-
milvus_load_collection: Load a collection into memory for search and query- Parameters:
collection_name: Name of collection to loadreplica_number: Number of replicas (default: 1)
- Parameters:
-
milvus_release_collection: Release a collection from memory- Parameters:
collection_name: Name of collection to release
- Parameters:
-
milvus_get_collection_info: Lists detailed information like schema, properties, collection ID, and other metadata of a specific collection.- Parameters:
collection_name: Name of the collection to get detailed information about
- Parameters:
Data Operations
-
milvus_insert_data: Insert data into a collection- Parameters:
collection_name: Name of collectiondata: Dictionary mapping field names to lists of values
- Parameters:
-
milvus_delete_entities: Delete entities from a collection based on filter expression- Parameters:
collection_name: Name of collectionfilter_expr: Filter expression to select entities to delete
- Parameters:
Server Config
{
"mcpServers": {
"milvus": {
"command": "uvx",
"args": [
"mcp-server-milvus@latest"
],
"env": {
"MILVUS_URI": "http://localhost:19530",
"MILVUS_TOKEN": "",
"MILVUS_DB": "default"
}
}
}
}