Atlas / MCP servers / zilliztech / Milvus

MilvusSAFE

mcp/zilliztech/milvus

Model Context Protocol Servers for Milvus

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
14 11r · 2w · 1d
Transport
sse · streamable-http
License
Apache-2.0
Stars
244
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

This repository contains a MCP server that provides access to Milvus vector database functionality.

Prerequisites

Before using this MCP server, ensure you have:

  • Python 3.10 or higher
  • A running Milvus instance (local or remote)
  • uv installed (recommended for running the server)

Usage

The recommended way to use this MCP server is to run it directly with uv without installation. This is how both Claude Desktop and Cursor are configured to use it in the examples below.

If you want to clone the repository:

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

Then you can run the server directly:

uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530

Alternatively you can change the .env file in the src/mcp_server_milvus/ directory to set the environment variables and run the server with the following command:

uv run src/mcp_server_milvus/server.py

Important: the .env file will have higher priority than the command line arguments.

Running Modes

The server supports two running modes: stdio (default) and SSE (Server-Sent Events).

Stdio Mode (Default)

  • Description: Communicates with the client via standard input/output. This is the default mode if no mode is specified.
  • Usage:
uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530

SSE Mode

  • Description: Uses HTTP Server-Sent Events for communication. This mode allows
Read from source at commit 7b7f63eaa90fOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-server-milvus --env MILVUS_TOKEN=${MILVUS_TOKEN} -- uvx mcp-server-milvus
claude-desktop
{
  "mcpServers": {
    "mcp-server-milvus": {
      "command": "uvx",
      "args": [
        "mcp-server-milvus"
      ],
      "env": {
        "MILVUS_TOKEN": "${MILVUS_TOKEN}"
      }
    }
  }
}
03

Exposed tools (14)

11 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
milvus_create_collectionwrite
milvus_delete_entitiesdestructive
milvus_get_collection_inforead
milvus_hybrid_searchread
milvus_insert_datawrite
milvus_list_collectionsreadList all collections in the database.
milvus_list_databasesreadList all databases in the Milvus instance.
milvus_load_collectionread
milvus_queryread
milvus_release_collectionread
milvus_text_searchread
milvus_text_similarity_searchread
milvus_use_databaseread
milvus_vector_searchread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (6)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
milvus_delete_entities
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:83
🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:86
You can then access the MCP Inspector at `http://127.0.0.1:6274` for testing.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:213
"http://127.0.0.1:19530"
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
fastmcp, pymilvus, click, python-dotenv
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
INFOInventory / provenance · inv.oversize · CWE-1104
Claude_mcp+1080.gif
Claude_mcp+1080.gif
Why it matters. 7477685 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 7b7f63eaa90ffull audit observations/trust-audit/mcp-server/zilliztech__milvus.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-067b7f63eaa90fSAFEB89first audit
06

Questions

What is the Milvus MCP server?

Model Context Protocol Servers for Milvus

What tools does Milvus expose?

14 in total: 11 read-only, 2 that write, and 1 that can delete or overwrite (milvus_delete_entities). Every one is listed on this page with its risk.

Is Milvus safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Milvus need?

It reads MILVUS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Milvus run?

It speaks sse and streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as mcp-server-milvus.

How current is this page?

The grade is for one exact copy of the source (7b7f63eaa90f), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement