sunholo 0.143.14__py3-none-any.whl → 0.143.15__py3-none-any.whl
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.
- sunholo/mcp/cli.py +18 -6
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/METADATA +1 -1
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/RECORD +7 -7
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/WHEEL +0 -0
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/entry_points.txt +0 -0
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/licenses/LICENSE.txt +0 -0
- {sunholo-0.143.14.dist-info → sunholo-0.143.15.dist-info}/top_level.txt +0 -0
sunholo/mcp/cli.py
CHANGED
@@ -312,15 +312,27 @@ def setup_mcp_subparser(subparsers):
|
|
312
312
|
```
|
313
313
|
"""
|
314
314
|
mcp_parser = subparsers.add_parser('mcp',
|
315
|
-
help='
|
315
|
+
help='MCP (Model Context Protocol) commands')
|
316
316
|
|
317
|
-
|
317
|
+
# Create subcommands for mcp
|
318
|
+
mcp_subparsers = mcp_parser.add_subparsers(title='mcp commands',
|
319
|
+
description='MCP subcommands',
|
320
|
+
help='MCP subcommands',
|
321
|
+
dest='mcp_command')
|
322
|
+
|
323
|
+
# mcp server command (default)
|
324
|
+
server_parser = mcp_subparsers.add_parser('server',
|
325
|
+
help='Start an Anthropic MCP server that wraps sunholo functionality')
|
326
|
+
server_parser.set_defaults(func=cli_mcp)
|
318
327
|
|
319
|
-
#
|
320
|
-
|
328
|
+
# mcp bridge command
|
329
|
+
bridge_parser = mcp_subparsers.add_parser('bridge',
|
321
330
|
help='Start a stdio-to-HTTP bridge for MCP servers')
|
322
|
-
|
331
|
+
bridge_parser.add_argument('url',
|
323
332
|
nargs='?',
|
324
333
|
default='http://127.0.0.1:1956/mcp',
|
325
334
|
help='HTTP URL of the MCP server (default: http://127.0.0.1:1956/mcp)')
|
326
|
-
|
335
|
+
bridge_parser.set_defaults(func=cli_mcp_bridge)
|
336
|
+
|
337
|
+
# Set default behavior when no subcommand is provided
|
338
|
+
mcp_parser.set_defaults(func=cli_mcp)
|
@@ -115,7 +115,7 @@ sunholo/llamaindex/user_history.py,sha256=ZtkecWuF9ORduyGB8kF8gP66bm9DdvCI-ZiK6K
|
|
115
115
|
sunholo/lookup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
116
|
sunholo/lookup/model_lookup.yaml,sha256=O7o-jP53MLA06C8pI-ILwERShO-xf6z_258wtpZBv6A,739
|
117
117
|
sunholo/mcp/__init__.py,sha256=Bi0ZYMvWuf1AL_QSrMAREVVdTZFiIokGwrytBXKBJyc,1028
|
118
|
-
sunholo/mcp/cli.py,sha256=
|
118
|
+
sunholo/mcp/cli.py,sha256=zVbUDrOS1kvSMYJvq7PqzYnEwwzP1sGE0YWwhpVd_VM,12255
|
119
119
|
sunholo/mcp/mcp_manager.py,sha256=g75vv6XvM24U7uz366slE-p76Qs4AvVcsarHSF9qIvE,5061
|
120
120
|
sunholo/mcp/stdio_http_bridge.py,sha256=xi9aaeueKvYT5gdBo-jmltqUNe7X9a7dCZeTz3o-CtY,3258
|
121
121
|
sunholo/mcp/vac_mcp_server.py,sha256=WcFOgN2_lyp1vfn-KcW4GewrBidkRYDx9gzEORV6rV8,10611
|
@@ -176,9 +176,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
|
|
176
176
|
sunholo/vertex/memory_tools.py,sha256=tBZxqVZ4InTmdBvLlOYwoSEWu4-kGquc-gxDwZCC4FA,7667
|
177
177
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
178
178
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
179
|
-
sunholo-0.143.
|
180
|
-
sunholo-0.143.
|
181
|
-
sunholo-0.143.
|
182
|
-
sunholo-0.143.
|
183
|
-
sunholo-0.143.
|
184
|
-
sunholo-0.143.
|
179
|
+
sunholo-0.143.15.dist-info/licenses/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
180
|
+
sunholo-0.143.15.dist-info/METADATA,sha256=zQzQX3gRLF_dlD6MsGUnbd5aRPlyja5Eu84qJET-Qhs,18502
|
181
|
+
sunholo-0.143.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
182
|
+
sunholo-0.143.15.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
183
|
+
sunholo-0.143.15.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
184
|
+
sunholo-0.143.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|