mcp-pymilvus-code-generator
A pimilvus code generating helper with SSE-based MCP support
Overview
The mcp-pymilvus-code-generator is a Model Context Protocol (MCP) server designed to assist users in generating pymilvus code by retrieving relevant code snippets or documents.
To use the mcp-pymilvus-code-generator, ensure you have Python 3.10 or higher and a running Milvus instance. You can run the server using the uv command, either in SSE or STDIO mode, and configure it with applications like Cursor or Claude Desktop.
- Supports both SSE and STDIO modes for server operation. - Retrieves relevant pymilvus code snippets based on user queries. - Provides tools for translating ORM code to pymilvus client code.
- Assisting developers in generating pymilvus code from natural language queries.
- Helping users translate ORM code to pymilvus client code.
- Streamlining the development process for applications using Milvus.
Add to your AI client
Use these steps to connect mcp-pymilvus-code-generator in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-pymilvus-code-generator-brcarry": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-pymilvus-code-generator-brcarry": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-pymilvus-code-generator-brcarry": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-pymilvus-code-generator-brcarry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-pymilvus-code-generator-brcarry": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-pymilvus-code-generator-brcarry": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pymilvus-code-generator-brcarry"
]
}
}
}FAQ
What are the prerequisites for using this project?
You need Python 3.10 or higher and a running Milvus instance.
Can I run the server without installation?
Yes, it is recommended to run the server directly with `uv` without installation.
How can I contribute to this project?
Contributions are welcome! You can submit a pull request or open an issue with your ideas.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2727,"uuid":"fe13392e-79c4-49bb-89b3-4b2934ef2f82","name":"mcp-pymilvus-code-generator","title":"mcp-pymilvus-code-generator","description":"A pimilvus code generating helper with SSE-based MCP support","avatar_url":null,"created_at":"2025-03-13T12:12:18.366+00:00","updated_at":"2025-04-01T15:53:12.494+00:00","status":"created","author_name":"brcarry","author_avatar_url":null,"tags":"mcp,pymilvus,code-generator","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/brcarry/mcp-pymilvus-code-generator","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"738aa3fb-bd0f-4bb3-bffa-2294890da533","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]