MCP Milvus server

MCP Milvus server

mcp-milvus•bytailabs

A Model Context Protocol server that provides tools for managing and querying a Milvus vector database.

License: MIT License•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Manages Milvus databases, collections, and indexes through dedicated tools, including creating databases and collections and creating or dropping indexes.
  • •Supports data operations including insert, upsert, delete, conditional query, and vector similarity search.
  • •Establishes a Milvus connection using address, token, and database name parameters.

BEST FOR

  • •Performing vector similarity search and retrieval against Milvus from MCP-enabled clients.
  • •Managing Milvus collection lifecycle, including loading into memory and releasing from memory.
  • •Running Milvus operations in a containerized deployment.

ABOUT MCP-MILVUS

MCP Milvus server is cataloged as an MCP server attributed to tailabs. A Model Context Protocol server that provides tools for managing and querying a Milvus vector database. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Milvus server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server connect to Milvus?

It uses the milvus_connector tool with address, token, and db_name connection parameters.

Upstream README

View this exact version on GitHub

README.md · df4186ac3c1d · Fetched 2026-11-13 12:35:43 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Milvus

A Model Context Protocol (MCP) server for Milvus vector database, providing comprehensive vector database operations.

🚀 Features

  • Complete Milvus Operations: Full lifecycle management of databases, collections, and indexes
  • High-Performance Vector Search: Support for similarity search, hybrid search, and more retrieval methods
  • Intelligent Session Management: Efficient connection pooling based on Ristretto cache
  • Engineering Architecture: Modular design for easy extension and maintenance
  • Middleware Support: Built-in logging, authentication, and other middleware
  • Docker Support: Complete containerized deployment solution
  • Type Safety: Go's strong type system ensures API safety

📋 Supported Tools

Database Management

  • milvus_create_database - Create database
  • milvus_list_databases - List all databases
  • milvus_use_database - Switch database

Collection Management

  • milvus_create_collection - Create collection
  • milvus_drop_collection - Drop collection
  • milvus_list_collections - List collections
  • milvus_get_collection_info - Get collection information
  • milvus_rename_collection - Rename collection
  • milvus_load_collection - Load collection into memory
  • milvus_release_collection - Release collection from memory

Index Management

  • milvus_create_index - Create index
  • milvus_drop_index - Drop index

Data Operations

  • milvus_insert_data - Insert data
  • milvus_upsert - Insert or update data
  • milvus_delete_entities - Delete entities
  • milvus_query - Conditional query
  • milvus_vector_search - Vector similarity search

Connection Management

  • milvus_connector - Establish Milvus connection

🛠️ Installation and Usage

Prerequisites

  • Go 1.24 or higher
  • Running Milvus instance

Install from Source

git clone https://github.com/tailabs/mcp-milvus.git
cd mcp-milvus
make deps
make build

Or using Go directly:

git clone https://github.com/tailabs/mcp-milvus.git
cd mcp-milvus
go mod download
go build -o mcp-milvus ./cmd/mcp-milvus

Docker Deployment

# Build image
docker build -t mcp-milvus .

# Run container
docker run -p 8080:8080 mcp-milvus

Usage

  1. Start the server
# Using Makefile
make run

# Or directly
./build/mcp-milvus
  1. Connect to Milvus Use the milvus_connector tool to establish connection:
{
  "address": "localhost:19530",
  "token": "username:password",
  "db_name": "default"
}
  1. Perform operations After connection is established, you can use other tools for database operations.

🏗️ Project Structure

mcp-milvus/
├── cmd/mcp-milvus/          # Main application entry
├── internal/
│   ├── middleware/          # Middleware (logging, auth, etc.)
│   ├── registry/            # Tool registry
│   ├── schema/              # Schema builder
│   ├── session/             # Session management
│   └── tools/               # Milvus tool implementations
├── Dockerfile               # Docker build file
├── go.mod                   # Go module definition
└── README.md               # Project documentation

🔧 Configuration

Environment Variables

  • LOG_LEVEL: Log level (debug/info/warn/error), default: info
  • PORT: Service port, default: 8080

Connection Configuration

Supports the following connection parameters:

  • address: Milvus service address
  • token: Authentication token (format: username:password)
  • db_name: Database name

🤝 Contributing

We welcome all forms of contributions! Please see CONTRIBUTING.md for details.

Development Workflow

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Set up development environment (make deps && make tools)
  4. Make your changes and test (make test && make lint)
  5. Commit your changes (git commit -m 'Add some AmazingFeature')
  6. Push to the branch (git push origin feature/AmazingFeature)
  7. Open a Pull Request

Available Make Commands

Run make help to see all available commands:

make help          # Show all available commands
make build         # Build binary
make test          # Run tests
make lint          # Run linter
make fmt           # Format code
make run           # Build and run
make dev           # Run with live reload
make docker        # Build Docker image
make build-all     # Build for all platforms
make release       # Prepare release
make clean         # Clean build artifacts

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Support

If you encounter any issues or have questions:

  1. Check Issues to see if similar issues exist
  2. Create a new Issue describing your problem
  3. Join discussions in Discussions

🙏 Acknowledgments

  • Milvus - Excellent vector database
  • MCP Go - Go implementation of MCP
  • All contributors and users

⭐ If this project helps you, please give it a Star!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Milvus server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-milvus)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage