Milvus is an MCP server that provides access to the Milvus vector database for Model Context Protocol clients like Claude Desktop and Cursor. It connects language models directly to local or remote Milvus database instances, allowing AI agents, software developers, and data engineers to manage collections and run multi-modal searches. Users can list existing collections, inspect schemas, create collections with customized vector dimensions, and insert document records through simple tool calls. The server enables sophisticated search capabilities, including dense vector similarity search, full-text lexical search, and combined hybrid searches with configurable filtering expressions and distance metrics such as COSINE, L2, or Inner Product. With support for standard input/output, Server-Sent Events, and streamable HTTP transports, this server exposes structured vector storage context directly into generative workflows, enabling retrieval-augmented generation and semantic memory management within developer workflows.
Category: AI Memory & Context
Tags: embeddings, milvus, vector-database, vector-search
git clone https://github.com/zilliztech/mcp-server-milvus.git and navigate into the directory with cd mcp-server-milvus. 3. To run locally in stdio mode with Claude Desktop or Cursor, configure your MCP configuration file (claude_desktop_config.json or mcp.json): json { "mcpServers": { "milvus": { "command": "uv", "args": [ "--directory", "/path/to/mcp-server-milvus/src/mcp_server_milvus", "run", "server.py", "--milvus-uri", "http://localhost:19530" ] } } } 4. Alternatively, start the server over SSE using uv run src/mcp_server_milvus/server.py --sse --milvus-uri http://localhost:19530 --port 8000 and configure the client with the matching HTTP endpoint.Part of MCP Servers
You can run the server directly using uv without manual installation. Clone the repository, ensure Python 3.10 or higher is installed, and point your client configuration to run server.py with your Milvus URI specified via the command line arguments.
The server provides tools to list collections, inspect schemas, create collections, and insert data. It also allows clients to run vector similarity searches, keyword text searches, and hybrid searches using customizable distance metrics, limits, and filter expressions.
It works with any client supporting the Model Context Protocol, including Anthropic Claude Desktop, the Cursor code editor, and custom client implementations. It supports standard input/output, SSE, and streamable HTTP communication modes.
Yes, the Milvus MCP server is open source. You can inspect the source code, review updates, and contribute to the repository hosted by Zilliz on GitHub.