Milvus MCP Server for Claude

Inspect collections and query a Milvus vector database from Claude Desktop with Zilliz’s open-source MCP server.

How to set up the Milvus MCP Server in Claude

  1. Install uv and clone the publisher’s MCP repository using the command below. Prepare a local Milvus instance or use your authorized development endpoint.
  2. Use the absolute paths to uv and the server directory in your Claude Desktop configuration. Restart Claude Desktop before opening the collection.
Git · Clone the Milvus MCP server
git clone https://github.com/zilliztech/mcp-server-milvus.git
Claude Desktop · Claude Desktop configuration
{
  "mcpServers": {
    "milvus": {
      "command": "/PATH/TO/uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-milvus/src/mcp_server_milvus",
        "run",
        "server.py",
        "--milvus-uri",
        "http://localhost:19530"
      ]
    }
  }
}
Download configuration

Inspect collections in an existing Milvus instance

The server exposes collection metadata and query operations from your Milvus database. Use it when debugging which collection, field, or index a retrieval job uses. It connects to a Milvus instance you provide.

Check a collection before asking for matches

Ask Claude to list the vector field, scalar filter fields, and number of dimensions in a sample FAQ collection. Verify those details in your Milvus client. Then run one retrieval query whose expected result you know and compare the document ID with the fixture.

Use the local stdio setup for a first test

The publisher’s Claude Desktop example starts the server from a source checkout with uv. Use a development Milvus instance and set the intended database if it differs from the default. Authentication and collection permissions come from that instance.

Publisher setup and documentation

Browse MCP servers