Milvus
Zilliz
Home
  • Tools

Milvus SDK Code Helper Guide

Overview

⚡️ Configure once, boost efficiency forever!

Still frustrated by outdated results from LLM? Tired of LLM outputting obsolete content even after versions are updated? Try this mcp to solve the information lag issue when developing Milvus-related code once and for all!

Milvus official SDK Code Helper is now online — just find the corresponding AI IDE, configure it once, and let AI write officially recommended Milvus code for you. Say goodbye to outdated frameworks completely!

➡️ Jump now: QuickStart

Effect display

The following figure compares the effects of generating code with and without the Milvus SDK code helper. If the Milvus SDK code helper is not used, the code written follows the old ORM SDK approach, which is no longer recommended. The following is a comparison of code screenshots with and without the Code Helper MCP:

MCP code helper enabled

MCP code helper disabled

Code Helper Enabled

Code Helper Disabled

Use the officially recommended latest MilvusClient interface to create a Collection

Creating a Collection using the old ORM interface is not recommended.

Quickstart

Find your AI IDE, configure it with one click, and unlock a worry-free coding journey.

Cursor

Go to: Settings -> Cursor Settings -> Tools & Intergrations -> Add new global MCP server

Cursor Mcp Settings Cursor Mcp Settings

Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

Claude Code

Claude Code supports adding MCP servers directly through JSON configuration, including servers of the remote URL type. Use following command to add configuration to Claude Code:

claude mcp add-json sdk-code-helper --json '{
  "url": "https://sdk.milvus.io/mcp/",
  "headers": {
    "Accept": "text/event-stream"
  }
}'

Windsurf

Windsurf supports MCP configuration through a JSON file. Add the following configuration to your Windsurf MCP settings:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

VS Code

The CodeIndexer MCP server can be used with VS Code through MCP-compatible extensions. Add the following configuration to your VS Code MCP settings:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

Cherry Studio

Cherry Studio allows for visual MCP server configuration through its settings interface. While it doesn’t directly support manual JSON configuration, you can add a new server via the GUI:

  1. Navigate to Settings → MCP Servers → Add Server.

  2. Fill in the server details:

    • Name: sdk code helper

    • Type: Streamable HTTP

    • URL: https://sdk.milvus.io/mcp/

    • Headers: "Accept": "text/event-stream"

  3. Save the configuration to activate the server.

Cherry Studio Mcp Settings Cherry Studio Mcp Settings

Cline

Cline uses a JSON configuration file to manage MCP servers. To integrate the provided MCP server configuration:

  1. Open Cline and click on the MCP Servers icon in the top navigation bar.

  2. Select the Installed tab, then click Advanced MCP Settings.

  3. In the cline_mcp_settings.json file, add the following configuration:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

Augment

  1. Press Cmd/Ctrl Shift P or go to the hamburger menu in the Augment panel

  2. Select Edit Settings

  3. Under Advanced, click Edit in settings.json

  4. Add the server configuration to the mcpServers array in the augment.advanced object:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}

Gemini CLI

Gemini CLI requires manual configuration through a JSON file:

  1. Create or edit the ~/.gemini/settings.json file.

  2. Add the following configuration:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}
  1. Save the file and restart Gemini CLI to apply the changes.

Roo Code

Roo Code

Roo Code utilizes a JSON configuration file for MCP servers:

  1. Open Roo Code and navigate to Settings → MCP Servers → Edit Global Config.

  2. In the mcp_settings.json file, add the following configuration:

{
  "mcpServers": {
    "sdk-code-helper": {
      "url": "https://sdk.milvus.io/mcp/",
      "headers": {
        "Accept": "text/event-stream"
      }
    }
  }
}
  1. Save the file to activate the server.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?