What is MCP Server for Milvus?
The MCP Server for Milvus is a Model Context Protocol (MCP) server that provides access to Milvus vector database functionality. It enables LLM applications like Claude Desktop, Cursor, and custom MCP clients to interact with Milvus for vector search, text search, and collection management.
How to use MCP Server for Milvus?
Run the server with uv and a running Milvus instance: uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530. Alternatively, set environment variables in a .env file in src/mcp_server_milvus/. The server supports three communication modes: stdio (default), SSE, and Streamable HTTP, selectable via command-line flags.
Key features of MCP Server for Milvus
- Provides full-text, vector, hybrid, and similarity search tools
- Allows querying collections with filter expressions
- Supports creating collections with quick or custom schema
- Lists all collections in the database
- Works with Claude Desktop and Cursor via MCP
- Offers stdio, SSE, and Streamable HTTP transport modes
Use cases of MCP Server for Milvus
- AI-powered code editors performing semantic code search in a vector database
- Chat interfaces retrieving relevant documents via hybrid search
- Custom AI workflows that query and manage vector collections
- Automated collection creation and schema setup for new projects
评论