mcp-pymilvus-code-generate-helper

brcarry/mcp-pymilvus-code-generate-helper

3.1

If you are the rightful owner of mcp-pymilvus-code-generate-helper and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server that retrieves relevant code snippets or documents to help generate pymilvus code.

The mcp-pymilvus-code-generate-helper is a Model Context Protocol server designed to assist developers in generating pymilvus code by retrieving relevant code snippets and documents. It supports both SSE and STDIO communication protocols and can be run using the 'uv' tool. The server connects to a Milvus instance, either locally or remotely, to facilitate code generation tasks. It is particularly useful for developers working with Milvus, a popular vector database, as it simplifies the process of writing and converting code related to Milvus operations. The server can be integrated with tools like Cursor and Claude Desktop, enhancing the development workflow by providing quick access to code generation and translation functionalities.

Features

  • Supports SSE and STDIO communication protocols for flexible integration.
  • Connects to local or remote Milvus instances for code generation tasks.
  • Integrates with development tools like Cursor and Claude Desktop.
  • Provides tools for code generation, conversion, and translation related to Milvus.
  • Docker support for easy deployment and scalability.

Usages

usage with cursor sse

{
  "mcpServers": {
    "pymilvus-code-generate-helper": {
      "url": "http://localhost:23333/milvus-code-helper/sse"
    }
  }
}

usage with cursor stdio

{
  "mcpServers": {
    "pymilvus-code-generate-helper": {
      "command": "/PATH/TO/uv",
      "args": [
        "--directory",
        "/path/to/mcp-pymilvus-code-generator",
        "run",
        "src/mcp_pymilvus_code_generate_helper/stdio_server.py",
        "--milvus_uri",
        "http://localhost:19530"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR OPENAI API KEY HERE"
      }
    }
  }
}

usage with claude desktop stdio

{
  "mcpServers": {
    "pymilvus-code-generate-helper": {
      "command": "/PATH/TO/uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-milvus/src/mcp_server_milvus",
        "run",
        "src/mcp_pymilvus_code_generate_helper/stdio_server.py",
        "--milvus_uri",
        "http://localhost:19530"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR OPENAI API KEY HERE"
      }
    }
  }
}