Zilliz MCP Server
Published
At a glance
- Category
- Databases
- GitHub repository
- zilliztech/zilliz-mcp-server
- Watch out for
- It targets Zilliz Cloud and needs a Zilliz Cloud API key, so a self-hosted Milvus instance is not the main path here.
Zilliz, the company behind the Milvus vector database, publishes this server in its zilliztech GitHub organization. It connects an agent to Zilliz Cloud, the managed version of Milvus, and covers two layers: the control plane, where projects and clusters live, and the data plane, where collections, entities and searches live.
It is a Python package. The usual route is stdio, with the client launching it through uvx and passing a Zilliz Cloud API key in the environment. You can also clone the repo and run it as a Streamable HTTP service on localhost port 8000, which suits setups where the server should keep running outside the client.
The README's demos show the intended flow well: ask for a free cluster, get connection details back, then create a collection, insert vectors and run a semantic search from the same chat. That makes it handy for prototyping retrieval features without opening the Zilliz console.
How it connects
Your AI app
An assistant or agent that supports MCP
Zilliz MCP Server
Runs as
- Python (uv / pip)
Gives the agent
- Project and cluster inventory
- Free cluster provisioning
- Cluster lifecycle and metrics
- Database and collection management
- Writing and removing data
- Search and query
Zilliz
Signs in with
- API key
What it can do
- Project and cluster inventory
- list_projects and list_clusters show what exists in the account, and describe_cluster returns details for a single cluster.
- Free cluster provisioning
- create_free_cluster spins up a new free-tier Milvus cluster on Zilliz Cloud and returns what the agent needs to connect.
- Cluster lifecycle and metrics
- suspend_cluster and resume_cluster pause and restart clusters to control cost, while query_cluster_metrics pulls performance figures such as CPU and capacity usage.
- Database and collection management
- list_databases, list_collections, create_collection and describe_collection let the agent inspect schemas or create new collections.
- Writing and removing data
- insert_entities adds records with vectors, and delete_entities removes them by ID or by a filter expression.
- Search and query
- search runs vector similarity search, query filters on scalar fields, and hybrid_search combines both in one call.
Setting it up
You need Python 3.10 or newer, uv on your PATH (brew install uv on macOS, or curl -LsSf https://astral.sh/uv/install.sh | sh), a Zilliz Cloud account and an API key created under API keys on your organization's page. For Cursor, open Cursor Settings, choose Tools & Integrations, click Add Custom MCP, and put this in mcp.json: {"mcpServers": {"zilliz-mcp-server": {"command": "uvx", "args": ["zilliz-mcp-server"], "env": {"ZILLIZ_CLOUD_TOKEN": "your-token-here"}}}}. Claude Desktop uses the same block in claude_desktop_config.json (Settings, Developer, Edit Config), followed by a restart. For HTTP mode, git clone https://github.com/zilliztech/zilliz-mcp-server.git, cd into it, run cp example.env .env, set ZILLIZ_API_KEY in .env, start it with uv run src/zilliz_mcp_server/server.py --transport streamable-http, and point the client at http://localhost:8000/mcp. Ask "How many Milvus clusters do I have?" to check it works.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Create a free Milvus cluster and a collection for a new RAG prototype without leaving the editor.
- Insert a handful of test embeddings and run search or hybrid_search to sanity-check retrieval quality.
- Check cluster CPU and capacity metrics before deciding whether to scale or suspend a cluster.
- Suspend idle development clusters at the end of the day and resume them the next morning.
- Inspect an existing collection's schema with describe_collection before writing application code against it.
Limitations and things to watch
- It targets Zilliz Cloud and needs a Zilliz Cloud API key, so a self-hosted Milvus instance is not the main path here.
- The user guide suggests an Owner-level organization key for quick testing, which gives the agent broad access; scope the key to a project or cluster for real work.
- delete_entities and suspend_cluster change live data and service availability, so review those calls before approving them.
- The docs name the key variable differently by mode (ZILLIZ_CLOUD_TOKEN for stdio, ZILLIZ_API_KEY in the .env for HTTP), which is easy to mix up.
- The HTTP mode runs from a cloned repo on localhost with no documented authentication layer of its own.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /zilliztech/zilliz-mcp-server
- github.com /zilliztech/zilliz-mcp-server/blob/master/docs/USERGUIDE.md
- pypi.org /project/zilliz-mcp-server
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.