mcp-server-milvus 0.1.1.dev1__tar.gz → 0.1.1.dev3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ {
2
+ "mcpServers": {
3
+ "milvus": {
4
+ "command": "uvx",
5
+ "args": [
6
+ "mcp-server-milvus@latest",
7
+ "--milvus-uri",
8
+ "http://127.0.0.1:19530"
9
+ ]
10
+ }
11
+ }
12
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-server-milvus
3
- Version: 0.1.1.dev1
3
+ Version: 0.1.1.dev3
4
4
  Summary: MCP server for Milvus
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: click>=8.0.0
@@ -40,13 +40,13 @@ cd mcp-server-milvus
40
40
  Then you can run the server directly:
41
41
 
42
42
  ```bash
43
- uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530
43
+ uv run mcp-server-milvus --milvus-uri http://localhost:19530
44
44
  ```
45
45
 
46
46
  Alternatively you can change the .env file in the `src/mcp_server_milvus/` directory to set the environment variables and run the server with the following command:
47
47
 
48
48
  ```bash
49
- uv run src/mcp_server_milvus/server.py
49
+ uv run mcp-server-milvus
50
50
  ```
51
51
 
52
52
  ### Important: the .env file will have higher priority than the command line arguments.
@@ -72,12 +72,9 @@ This MCP server can be used with various LLM applications that support the Model
72
72
  {
73
73
  "mcpServers": {
74
74
  "milvus": {
75
- "command": "/PATH/TO/uv",
75
+ "command": "uvx",
76
76
  "args": [
77
- "--directory",
78
- "/path/to/mcp-server-milvus/src/mcp_server_milvus",
79
- "run",
80
- "server.py",
77
+ "mcp-server-milvus@latest",
81
78
  "--milvus-uri",
82
79
  "http://localhost:19530"
83
80
  ]
@@ -100,7 +97,7 @@ This MCP server can be used with various LLM applications that support the Model
100
97
 
101
98
  - **Type**: Select `stdio` (since you're running a command)
102
99
  - **Name**: `milvus`
103
- - **Command**: `/PATH/TO/uv --directory /path/to/mcp-server-milvus/src/mcp_server_milvus run server.py --milvus-uri http://127.0.0.1:19530`
100
+ - **Command**: `uvx mcp-server-milvus@latest --milvus-uri http://127.0.0.1:19530`
104
101
 
105
102
  > ⚠️ Note: Use `127.0.0.1` instead of `localhost` to avoid potential DNS resolution issues.
106
103
 
@@ -120,15 +117,12 @@ Create a `.cursor/mcp.json` file in your project root:
120
117
  {
121
118
  "mcpServers": {
122
119
  "milvus": {
123
- "command": "/PATH/TO/uv",
124
- "args": [
125
- "--directory",
126
- "/path/to/mcp-server-milvus/src/mcp_server_milvus",
127
- "run",
128
- "server.py",
129
- "--milvus-uri",
130
- "http://127.0.0.1:19530"
131
- ]
120
+ "command": "uvx",
121
+ "args": [
122
+ "mcp-server-milvus@latest",
123
+ "--milvus-uri",
124
+ "http://127.0.0.1:19530"
125
+ ]
132
126
  }
133
127
  }
134
128
  }
@@ -28,13 +28,13 @@ cd mcp-server-milvus
28
28
  Then you can run the server directly:
29
29
 
30
30
  ```bash
31
- uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530
31
+ uv run mcp-server-milvus --milvus-uri http://localhost:19530
32
32
  ```
33
33
 
34
34
  Alternatively you can change the .env file in the `src/mcp_server_milvus/` directory to set the environment variables and run the server with the following command:
35
35
 
36
36
  ```bash
37
- uv run src/mcp_server_milvus/server.py
37
+ uv run mcp-server-milvus
38
38
  ```
39
39
 
40
40
  ### Important: the .env file will have higher priority than the command line arguments.
@@ -60,12 +60,9 @@ This MCP server can be used with various LLM applications that support the Model
60
60
  {
61
61
  "mcpServers": {
62
62
  "milvus": {
63
- "command": "/PATH/TO/uv",
63
+ "command": "uvx",
64
64
  "args": [
65
- "--directory",
66
- "/path/to/mcp-server-milvus/src/mcp_server_milvus",
67
- "run",
68
- "server.py",
65
+ "mcp-server-milvus@latest",
69
66
  "--milvus-uri",
70
67
  "http://localhost:19530"
71
68
  ]
@@ -88,7 +85,7 @@ This MCP server can be used with various LLM applications that support the Model
88
85
 
89
86
  - **Type**: Select `stdio` (since you're running a command)
90
87
  - **Name**: `milvus`
91
- - **Command**: `/PATH/TO/uv --directory /path/to/mcp-server-milvus/src/mcp_server_milvus run server.py --milvus-uri http://127.0.0.1:19530`
88
+ - **Command**: `uvx mcp-server-milvus@latest --milvus-uri http://127.0.0.1:19530`
92
89
 
93
90
  > ⚠️ Note: Use `127.0.0.1` instead of `localhost` to avoid potential DNS resolution issues.
94
91
 
@@ -108,15 +105,12 @@ Create a `.cursor/mcp.json` file in your project root:
108
105
  {
109
106
  "mcpServers": {
110
107
  "milvus": {
111
- "command": "/PATH/TO/uv",
112
- "args": [
113
- "--directory",
114
- "/path/to/mcp-server-milvus/src/mcp_server_milvus",
115
- "run",
116
- "server.py",
117
- "--milvus-uri",
118
- "http://127.0.0.1:19530"
119
- ]
108
+ "command": "uvx",
109
+ "args": [
110
+ "mcp-server-milvus@latest",
111
+ "--milvus-uri",
112
+ "http://127.0.0.1:19530"
113
+ ]
120
114
  }
121
115
  }
122
116
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcp-server-milvus"
3
- version = "0.1.1.dev1"
3
+ version = "0.1.1.dev3"
4
4
  description = "MCP server for Milvus"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -13,7 +13,7 @@ dependencies = [
13
13
  ]
14
14
 
15
15
  [project.scripts]
16
- mcp-server-milvus = "mcp_server_milvus.server:main"
16
+ mcp-server-milvus = "mcp_server_milvus:main"
17
17
 
18
18
  [build-system]
19
19
  requires = ["hatchling"]
@@ -0,0 +1,4 @@
1
+ from mcp_server_milvus.server import main
2
+
3
+ if __name__ == "__main__":
4
+ main()
@@ -1,5 +1,4 @@
1
1
  version = 1
2
- revision = 1
3
2
  requires-python = ">=3.10"
4
3
  resolution-markers = [
5
4
  "python_full_version >= '3.12'",
@@ -45,7 +44,7 @@ name = "click"
45
44
  version = "8.1.8"
46
45
  source = { registry = "https://pypi.org/simple" }
47
46
  dependencies = [
48
- { name = "colorama", marker = "sys_platform == 'win32'" },
47
+ { name = "colorama", marker = "platform_system == 'Windows'" },
49
48
  ]
50
49
  sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593 }
51
50
  wheels = [
@@ -219,7 +218,7 @@ cli = [
219
218
 
220
219
  [[package]]
221
220
  name = "mcp-server-milvus"
222
- version = "0.1.1"
221
+ version = "0.1.1.dev2"
223
222
  source = { editable = "." }
224
223
  dependencies = [
225
224
  { name = "click" },
@@ -649,7 +648,7 @@ name = "tqdm"
649
648
  version = "4.67.1"
650
649
  source = { registry = "https://pypi.org/simple" }
651
650
  dependencies = [
652
- { name = "colorama", marker = "sys_platform == 'win32'" },
651
+ { name = "colorama", marker = "platform_system == 'Windows'" },
653
652
  ]
654
653
  sdist = { url = "https://files.pythonhosted.org/packages/a8/4b/29b4ef32e036bb34e4ab51796dd745cdba7ed47ad142a9f4a1eb8e0c744d/tqdm-4.67.1.tar.gz", hash = "sha256:f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2", size = 169737 }
655
654
  wheels = [
@@ -1,15 +0,0 @@
1
- {
2
- "mcpServers": {
3
- "milvus": {
4
- "command": "/path/to/uv",
5
- "args": [
6
- "--directory",
7
- "/path/to/mcp-server-milvus/src/mcp_server_milvus",
8
- "run",
9
- "server.py",
10
- "--milvus-uri",
11
- "http://127.0.0.1:19530"
12
- ]
13
- }
14
- }
15
- }