MCP.so
ログイン

MCP Server for Milvus

@stephen37

基本情報

カテゴリ

データベース

トランスポート

stdio

作者

stephen37

MCP Server for Milvus について

Model Context Protocol Servers for Milvus

MCP Server for Milvus の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-milvus-stephen37": {
      "command": "uv",
      "args": [
        "run",
        "src/mcp_server_milvus/server.py",
        "--milvus-uri",
        "http://localhost:19530"
      ]
    }
  }
}

MCP Server for Milvus のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Milvus?

MCP Server for Milvus provides access to the Milvus vector database through the Model Context Protocol. It enables LLM applications like Claude Desktop and Cursor to search, manage, and query vector data using natural language or programmed instructions.

How to use Milvus?

Run the server directly with uv via uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530. Configure it as an MCP server in Claude Desktop or Cursor by specifying the command and arguments. Alternatively, set environment variables MILVUS_URI, MILVUS_TOKEN, and MILVUS_DB.

Key features of Milvus

  • Full-text search on collections with drop ratio control
  • Vector similarity search (COSINE, L2, IP metrics)
  • Hybrid search combining vector and attribute filtering
  • Collection management: create, load, release, list, info
  • Data operations: insert, bulk insert, upsert, delete
  • Index creation and index info retrieval

Use cases of Milvus

  • Searching documents in a collection using natural language via Claude Desktop
  • Performing vector similarity searches for recommendation or retrieval systems
  • Managing Milvus collections and schemas directly from Cursor Composer
  • Inserting and updating data in Milvus through an AI assistant

よくある質問

1

What are the prerequisites for using this server?

Python 3.10 or higher, a running Milvus instance, and `uv` installed.

2

How do I connect to a remote Milvus instance?

Pass the URI via the `--milvus-uri` argument or set the `MILVUS_URI` environment variable.

3

What if the MCP tools do not appear in Claude Desktop or Cursor?

Restart the application after configuring the MCP server; also try pressing the refresh button in Cursor’s MCP settings.

4

How do I handle authentication with Milvus?

Set the `MILVUS_TOKEN` environment variable with your authentication token.

5

What transport does the server use?

It uses stdio transport, as shown in the Cursor configuration with “Type: stdio”.

コメント

「データベース」の他のコンテンツ