mcp-pymilvus-code-generator
@brcarry
About mcp-pymilvus-code-generator
A pimilvus code generating helper with SSE-based MCP support
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-pymilvus-code-generator": {
"command": "uv",
"args": [
"run",
"src/mcp_pymilvus_code_generate_helper/sse_server.py"
]
}
}
}Tools
4Find related pymilvus code/documents to help generating code from user input in natural language
Find related orm and pymilvus client code/documents to help converting orm code to pymilvus client (or vice versa)
Find related documents and code snippets in different programming languages for milvus code translation
`query`: A string of Milvus API names in list format to translate from one programming language to another (e.g., ['create_collection', 'insert', 'search'])
Overview
What is mcp-pymilvus-code-generator?
An MCP server that retrieves relevant code snippets or documents to help generate pymilvus code. It integrates with a running Milvus instance and is intended for developers using AI coding assistants like Cursor or Claude Desktop.
How to use mcp-pymilvus-code-generator?
Run the server with uv run src/mcp_pymilvus_code_generate_helper/sse_server.py (for SSE) or uv run src/mcp_pymilvus_code_generate_helper/stdio_server.py (for STDIO). Configure it in Cursor or Claude Desktop by adding an MCP server entry. The server connects to a local Milvus instance by default; use --milvus_uri to specify a remote one.
Key features of mcp-pymilvus-code-generator
- Retrieves pymilvus code snippets based on natural language queries.
- Converts Milvus ORM code to pymilvus client code and vice versa.
- Translates Milvus code between programming languages.
- Supports both SSE and STDIO transport protocols.
- Can be run locally or via Docker.
Use cases of mcp-pymilvus-code-generator
- Generate pymilvus code for hybrid search from a user description.
- Convert existing Milvus ORM code to pymilvus client code.
- Translate a Milvus code snippet from Python to Java, Node.js, or other languages.
FAQ from mcp-pymilvus-code-generator
What are the prerequisites?
Python 3.10 or higher, a running Milvus instance (local or remote), and uv installed.
Does the server require an API key?
Yes, the OPENAI_API_KEY environment variable must be set when using the STDIO configuration (e.g., in Claude Desktop or Cursor).
What transports does the server support?
It supports both SSE (Server-Sent Events) and STDIO (standard input/output).
Can I run the server in a container?
Yes, a Dockerfile is provided. Build the image with docker build -t milvus-code-helper . and run with environment variables for OPENAI_API_KEY, MILVUS_URI, and MILVUS_TOKEN.
Frequently asked questions
What are the prerequisites?
Python 3.10 or higher, a running Milvus instance (local or remote), and `uv` installed.
Does the server require an API key?
Yes, the `OPENAI_API_KEY` environment variable must be set when using the STDIO configuration (e.g., in Claude Desktop or Cursor).
What transports does the server support?
It supports both SSE (Server-Sent Events) and STDIO (standard input/output).
Can I run the server in a container?
Yes, a Dockerfile is provided. Build the image with `docker build -t milvus-code-helper .` and run with environment variables for `OPENAI_API_KEY`, `MILVUS_URI`, and `MILVUS_TOKEN`.
Basic information
More Developer Tools MCP servers
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers

discoverGPT
Joe MonastierodiscoverGPT is visualAI's unified MCP gateway for AI commerce, exposing 29 tools across four capabilities on one canonical product catalog: trimodal search (natural-language, precise-color, and image-similarity), AI cata
TranscriptFetch MCP Server
TranscriptFetchModel Context Protocol (MCP) server for TranscriptFetch: fetch YouTube transcripts, search, channels, and playlists from any MCP client.
endoflife.ai
endoflife.aiFree MCP server for software end-of-life intelligence: EOL dates, support status, and the 0-100 EOL Risk Score across 485 tracked products. Agents can check a single version, pull a product's full lifecycle schedule, or
Grafana MCP server
grafanaMCP server for Grafana
Comments