Skip to main content

Zilliz-MCP-Server

1. Zilliz-MCP-Server Overview

Model Context Protocol (MCP) is a standardized framework that enables AI applications to securely connect to external data sources and tools in real-time. It acts as a universal interface between AI models and various systems, allowing AI assistants to access current information and perform actions beyond text generation. Zilliz MCP Server enables AI agents to seamlessly interact with Milvus, a popular open-source vector database, and Zilliz Cloud, the fully managed version of Milvus. Through this integration, your AI assistants can create collections, insert vector data, and perform semantic searches directly within their conversations—no manual database management required. Zilliz MCP Server seamlessly integrates with popular AI-powered coding tools like Cursor, Claude, Windsurf, and other MCP-compatible editors, enabling developers to build vector search capabilities directly within their development workflow.

2. Demos

Demo 1: Create a free Milvus cluster with a simple natural language prompt

Create Free Cluster GIF Instead of navigating through web interfaces or complex setup processes, you can get a free, fully functional vector database cluster up and running it directly from Claude, Cursor or any other MCP-compatible AI coding assistants with the Zilliz MCP Server. The Zilliz MCP server automatically:

  • Provisions a free Milvus cluster using Zilliz Cloud
  • Handles authentication and configuration
  • Returns connection details for immediate use No need to leave your AI chat interface or manually set up infrastructure. Just ask in natural language and get a working vector database within seconds. This works in any MCP-enabled environment, including Claude's web interface as shown above.

Demo 2: Monitor cluster performance without leaving your chat

Checkout My Cluster GIF Once you have a cluster running, you can inspect its status and generate visualizations directly through natural language: The Zilliz MCP server:

  • Retrieves real-time cluster metrics and collection details
  • Fetches performance data (CPU computation, capacity usage)
  • Generates visualizations on demand
  • All without writing queries or accessing monitoring dashboards This demonstrates how you can monitor and analyze your vector database infrastructure conversationally, making cluster management as simple as asking questions in plain English.

Demo 3: Perform semantic search directly from your chat

Talk with your Data GIF Search your vector collections using natural language without writing any code: The Zilliz MCP server:

  • Performs semantic search across your specified collection
  • Returns relevant results with similarity scores
  • All through conversational interface - no SDK calls or query syntax required This shows how vector search becomes as simple as describing what you're looking for. Perfect for testing search queries, exploring your data, or building search functionality without leaving your development environment.

3. Requirements

  • Python: 3.10 or higher.
  • uv: A fast Python package installer and resolver. If you don't have it, run brew install uv on OSX, or just run curl -LsSf https://astral.sh/uv/install.sh | sh .
  • Zilliz Cloud API Key: You'll need an API key to interact with Zilliz Cloud. You can get one by following the instructions here: Manage API Keys.

4. Usage

You can start the server in two ways:

4.1. Standard I/O (StdIO)

This method is useful when the agent and the MCP server are running on the same machine and you want the agent to manage the server's lifecycle directly. The agent communicates with the server over its standard input and output streams.

Configure your agent's MCP JSON file like this:

{
  "mcpServers": {
    "zilliz-mcp-server": {
      "command": "uvx",
      "args": ["zilliz-mcp-server"],
      "env": {
          "ZILLIZ_CLOUD_TOKEN": "your-token-here"
      }
    }
  }
}

Note: Make sure to replace /path/to/your/zilliz-mcp-server with the actual absolute path to the project directory.

4.2. Streamable HTTP

This method runs the server as a standalone HTTP service. This is useful for development and for agents that can communicate over HTTP.

First, clone or download the project repository.

git clone https://github.com/zilliztech/zilliz-mcp-server.git
cd zilliz-mcp-server

Next, create a .env file from the example and fill in your Zilliz Cloud API key.

cp example.env .env

Now, open .env and add your API key:

ZILLIZ_API_KEY="your_api_key_here"

It 'll start the MCP server as a standalone HTTP service

uv run src/zilliz_mcp_server/server.py --transport streamable-http

After starting the server, you can configure your MCP client to connect to it. If the server is running correctly, the available tools will appear in your client's tool list (e.g., in Cursor or Claude).

You can then configure your agent or MCP client to connect to it using a configuration like this:

{
  "mcpServers": {
    "zilliz-mcp-server": {
      "url": "http://localhost:8000/mcp",
      "transport": "streamable-http",
      "description": "Zilliz Cloud and Milvus MCP Server"
    }
  }
}

5. Available Tools

The server exposes two categories of tools for your AI agents.

Zilliz Control Plane Tools

These tools are for managing your Zilliz Cloud resources.

Tool Name Description
list_projects List all projects in your Zilliz Cloud account.
list_clusters List all clusters within your projects.
create_free_cluster Create a new, free-tier Milvus cluster.
describe_cluster Get detailed information about a specific cluster.
suspend_cluster Suspend a running cluster to save costs.
resume_cluster Resume a suspended cluster.
query_cluster_metrics Query various performance metrics for a cluster.

Milvus Data Plane Tools

These tools are for interacting with the data inside a Milvus cluster.

Tool Name Description
list_databases List all databases within a specific cluster.
list_collections List all collections within a database.
create_collection Create a new collection with a specified schema.
describe_collection Get detailed information about a collection, including its schema.
insert_entities Insert entities (data records with vectors) into a collection.
delete_entities Delete entities from a collection based on IDs or a filter expression.
search Perform a vector similarity search on a collection.
query Query entities based on a scalar filter expression.
hybrid_search Perform a hybrid search combining vector similarity and scalar filters.

Metadata

Release files for zilliz-mcp-server 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zilliz-mcp-server 1.0.0
File Size Uploaded Provenance
zilliz_mcp_server-1.0.0.tar.gz 23.5 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zilliz-mcp-server 1.0.0
File Interpreter ABI Platform
zilliz_mcp_server-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.5 MB

Release files / zilliz_mcp_server-1.0.0.tar.gz

Download URL zilliz_mcp_server-1.0.0.tar.gz
Size 23.5 MB
Tags Source
SHA-256 checksum
How to use checksums
0092c4d56891502982beefe2b9a1a987371d5a8ce140047df05e63eeabdd4080
BLAKE2b-256 checksum
How to use checksums
53d46974e3028de100efa637ff1e2a2adb9c3a69c2267878cb601fb1d3a9431e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Release files / zilliz_mcp_server-1.0.0-py3-none-any.whl

Download URL zilliz_mcp_server-1.0.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2aff5ca82670711edde9399663a85a3c83c749173521979fd6e110fc4ad9814c
BLAKE2b-256 checksum
How to use checksums
df6e35ebd5a559644819e4769d1fbf5aaddba8414e98f59605a403dcda4e9516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Security for zilliz-mcp-server 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page