What is mcp-tool-server-milvus?
mcp-tool-server-milvus is an MCP server that provides tool functions to insert data into and query data from the Milvus vector database. It is designed for developers who want to integrate AI‑powered vector search into their applications.
How to use mcp-tool-server-milvus?
Run docker compose up -d to start the server on http://localhost:3000. Then interact using npx @wong2/mcp-cli --url http://localhost:3000/mcp or the simple streamable HTTP client from the MCP TypeScript SDK. By default, the server creates a database named mcp_db and a collection named full_text_search. These can be overridden with the environment variables MILVUS_DB and MILVUS_COLLECTION.
Key features of mcp-tool-server-milvus
- Provides three tools: insert, insert-multiple, and search.
- Automatically creates a default database and collection.
- Configurable database and collection names via environment variables.
- Runs as a Docker container with a single command.
- Supports interaction via MCP-Cli or a streamable HTTP client.
- Returns the number of inserted records from insert-multiple.
Use cases of mcp-tool-server-milvus
- Insert individual text documents into a Milvus vector collection for later retrieval.
- Batch-insert multiple texts using the insert-multiple tool.
- Perform semantic similarity search by submitting a query text to the search tool.
- Prototype and test MCP‑based vector search workflows locally.
コメント