mcp-tool-server-milvus logo

mcp-tool-server-milvus

by yhwang

A MCP server providing tools to insert and query data from the Milvus vector database. It creates a default database and collection for insert and search operations, configurable via environment variables.

View on GitHub

Last updated: N/A

What is mcp-tool-server-milvus?

This is a MCP server that provides tools for interacting with a Milvus vector database. It allows users to insert and search data within Milvus using a simplified interface.

How to use mcp-tool-server-milvus?

The server can be started using Docker Compose. Users can interact with the server using the mcp-cli command-line tool or the simpleStreamableHttp client from the @modelcontextprotocol/sdk package. The CLI and client allow users to call tools like insert, insert-multiple, and search with JSON arguments.

Key features of mcp-tool-server-milvus

  • Data insertion into Milvus

  • Data searching in Milvus

  • Configurable database and collection names

  • Integration with MCP-Cli

  • Integration with @modelcontextprotocol/sdk

Use cases of mcp-tool-server-milvus

  • Building search applications with Milvus

  • Creating data ingestion pipelines for Milvus

  • Developing tools for managing Milvus data

  • Rapid prototyping with vector databases

  • Integrating Milvus with MCP-based systems

FAQ from mcp-tool-server-milvus

How do I change the default database name?

Set the MILVUS_DB environment variable.

How do I change the default collection name?

Set the MILVUS_COLLECTION environment variable.

How do I interact with the server?

Use the mcp-cli command-line tool or the simpleStreamableHttp client from the @modelcontextprotocol/sdk package.

What tools are available?

The available tools are insert, insert-multiple, and search.

How do I insert multiple texts?

Use the insert-multiple tool with a JSON array of strings as the argument. You can use the simpleStreamableHttp example in the @modelcontextprotocol/sdk package to interact with this tool API.