Skip to main content
Glama
zilliztech

Zilliz MCP Server

Official
by zilliztech

create_collection

Create vector collections in Milvus or Zilliz Cloud by specifying cluster details, dimensions, and metric types to organize data for similarity searches.

Instructions

Create a collection in a specified cluster using Quick Setup.

Args:
    cluster_id: ID of the cluster
    region_id: ID of the cloud region hosting the cluster
    endpoint: The cluster endpoint URL. Can be obtained by calling describe_cluster and using the connect_address field
    collection_name: The name of the collection to create
    dimension: The number of dimensions a vector value should have
    db_name: The name of the database. Pass explicit dbName or leave empty when cluster is free or serverless
    metric_type: The metric type (default: "COSINE", options: "L2", "IP", "COSINE") Ask the user to select the metric type, if user does not select, use default value "COSINE"
    id_type: The data type of the primary field (default: "Int64", options: "Int64", "VarChar")
    auto_id: Whether the primary field automatically increments (default: True)
    primary_field_name: The name of the primary field (default: "id")
    vector_field_name: The name of the vector field (default: "vector")
Returns:
    Dict containing the response
    Example:
    {
        "code": 0,
        "data": {}
    }
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYes
region_idYes
endpointYes
collection_nameYes
dimensionYes
db_nameNo
metric_typeNoCOSINE
id_typeNoInt64
auto_idNo
primary_field_nameNoid
vector_field_nameNovector

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zilliztech/zilliz-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server