MCP Server for Milvus
Official Zilliz MCP server: the agent runs vector and text search and manages collections and data in Milvus
- 246 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Can insert data and delete entities in the database
- Connects to a Milvus server over the network
Install
- Works in
Manual install
git clone https://github.com/zilliztech/mcp-server-milvus.git
cd mcp-server-milvus
uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530Runs the server in stdio mode for a check.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Can insert data and delete entities in the database
- Connects to a Milvus server over the network
This is third-party code. Review the repository files before installing.
What it does
The server connects the agent to the Milvus vector database. The agent runs full-text, vector and hybrid search and filter queries. It can create collections with a schema and indexes, load and release them from memory and inspect metadata. It also inserts records and deletes entities by filter.
Who it is for. For developers of RAG and search systems who keep embeddings in Milvus.
Good fit when
- You need to see which collections and data live in Milvus
- You want to check search quality on a collection from the agent
- You need a quick test collection for a prototype
Not a fit when
- The database is in production and the agent must not get delete rights
- You use a different vector database
Example request
Which collections are in my Milvus? Find documents about machine learning in text_collectionMCP
- Transport
- stdio, sse, http
- Authentication
- not required
Environment variables
MILVUS_URI- Milvus server URI, replaces --milvus-uri
MILVUS_TOKENsecret- Auth token if authentication is enabled
MILVUS_DB- Database name, default is default
Limitations
Requires Python 3.10+, uv and a running Milvus instance. There is no registry package: you clone the repository and run it from source. Text similarity search needs Milvus 2.6 with an embedding function configured. Values from the .env file override command-line arguments.
How to disable. Remove the milvus block from the client's MCP configuration and restart it.
FAQ
Can I connect to Milvus with authentication?
Yes, pass the token via MILVUS_TOKEN and the database name via MILVUS_DB.
Which transports are available?
stdio by default, plus SSE and Streamable HTTP via the --sse and --streamable-http flags.
Discussion
No questions or reviews yet.
Related
MCP serversThe official MCP server for the Chroma vector database: collections, documents, semantic and full-text search
Official Pinecone MCP server: documentation search, index creation, record upserts and search from your agent
An MCP server with a toolbox for global briefs: markets, SEC filings, conflict, climate and news from open sources
The MCP server, CLI and SDKs of the QVeris platform: the agent finds a data service, calls it and audits credit spending
A free MCP server for a working 1C infobase: the agent reads data from plain requests and gets the metadata structure of any configuration
MCP server that gives an agent access to MySQL: schema inspection and queries, read-only by default, writes behind flags
README in short
The README covers running the server with uv from a cloned repository and three modes: stdio, SSE and Streamable HTTP, including a stateless option. It gives configs for Claude Desktop and Cursor. Tools are grouped into search, collection management and data operations. A troubleshooting section covers connection and auth errors.