vmware-debug 2.1.0__py3-none-any.whl → 2.2.0__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.
- vmware_debug/__init__.py +1 -1
- vmware_debug/cli.py +23 -2
- vmware_debug/mcp_server/server.py +18 -4
- {vmware_debug-2.1.0.dist-info → vmware_debug-2.2.0.dist-info}/METADATA +3 -3
- {vmware_debug-2.1.0.dist-info → vmware_debug-2.2.0.dist-info}/RECORD +7 -7
- {vmware_debug-2.1.0.dist-info → vmware_debug-2.2.0.dist-info}/WHEEL +0 -0
- {vmware_debug-2.1.0.dist-info → vmware_debug-2.2.0.dist-info}/entry_points.txt +0 -0
vmware_debug/__init__.py
CHANGED
vmware_debug/cli.py
CHANGED
|
@@ -116,11 +116,32 @@ def mcp(
|
|
|
116
116
|
"--allow-write",
|
|
117
117
|
help="With --expose read: comma-separated write tools to offer as well.",
|
|
118
118
|
),
|
|
119
|
+
transport: Optional[str] = typer.Option(
|
|
120
|
+
None,
|
|
121
|
+
"--transport",
|
|
122
|
+
help="stdio (default), https, or http (loopback only, behind a TLS reverse proxy). "
|
|
123
|
+
"https/http need a token: 'vmware-audit token create NAME'.",
|
|
124
|
+
),
|
|
125
|
+
host: Optional[str] = typer.Option(None, "--host", help="Bind address (default 127.0.0.1)."),
|
|
126
|
+
port: Optional[int] = typer.Option(None, "--port", help="Port (default 8443)."),
|
|
127
|
+
cert: Optional[str] = typer.Option(None, "--cert", help="TLS certificate (PEM) for https."),
|
|
128
|
+
key: Optional[str] = typer.Option(None, "--key", help="TLS private key (PEM) for https."),
|
|
129
|
+
public_name: Optional[str] = typer.Option(
|
|
130
|
+
None,
|
|
131
|
+
"--public-name",
|
|
132
|
+
help="Host names clients use, comma-separated; other Host/Origin values are refused.",
|
|
133
|
+
),
|
|
134
|
+
token_file: Optional[str] = typer.Option(
|
|
135
|
+
None, "--token-file", help="Token hash file (default $OPS_HOME/mcp-tokens)."
|
|
136
|
+
),
|
|
119
137
|
) -> None:
|
|
120
|
-
"""Start the
|
|
138
|
+
"""Start the MCP server: stdio by default (proxy-safe), or --transport https."""
|
|
121
139
|
from vmware_debug.mcp_server.server import main as _main
|
|
122
140
|
|
|
123
|
-
_main(
|
|
141
|
+
_main(
|
|
142
|
+
expose=expose, allow_write=allow_write, transport=transport, host=host, port=port,
|
|
143
|
+
cert=cert, key=key, public_name=public_name, token_file=token_file,
|
|
144
|
+
)
|
|
124
145
|
|
|
125
146
|
|
|
126
147
|
if __name__ == "__main__":
|
|
@@ -862,7 +862,17 @@ def build_server() -> FastMCP:
|
|
|
862
862
|
|
|
863
863
|
|
|
864
864
|
return server
|
|
865
|
-
def main(
|
|
865
|
+
def main(
|
|
866
|
+
expose: Optional[str] = None,
|
|
867
|
+
allow_write: Optional[str] = None,
|
|
868
|
+
transport: Optional[str] = None,
|
|
869
|
+
host: Optional[str] = None,
|
|
870
|
+
port: Optional[int] = None,
|
|
871
|
+
cert: Optional[str] = None,
|
|
872
|
+
key: Optional[str] = None,
|
|
873
|
+
public_name: Optional[str] = None,
|
|
874
|
+
token_file: Optional[str] = None,
|
|
875
|
+
) -> None:
|
|
866
876
|
"""Entry point for `vmware-debug-mcp` (stdio transport)."""
|
|
867
877
|
# Floor is 3.10, matching `requires-python` and the other eleven skills.
|
|
868
878
|
# This guard used to demand 3.11 on the grounds that FastMCP schema
|
|
@@ -878,10 +888,14 @@ def main(expose: Optional[str] = None, allow_write: Optional[str] = None) -> Non
|
|
|
878
888
|
"Reinstall on a newer interpreter: "
|
|
879
889
|
"uv tool install --python 3.12 --force vmware-debug"
|
|
880
890
|
)
|
|
881
|
-
from vmware_policy.
|
|
891
|
+
from vmware_policy.serve import run_server
|
|
882
892
|
server = build_server()
|
|
883
|
-
|
|
884
|
-
|
|
893
|
+
run_server(
|
|
894
|
+
server,
|
|
895
|
+
skill="debug",
|
|
896
|
+
expose=expose, allow_write=allow_write, transport=transport, host=host, port=port,
|
|
897
|
+
cert=cert, key=key, public_name=public_name, token_file=token_file,
|
|
898
|
+
)
|
|
885
899
|
|
|
886
900
|
|
|
887
901
|
if __name__ == "__main__":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vmware-debug
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: VMware diagnostic brain — offline incident triage, log/event correlation, and root-cause routing across the VMware skill family
|
|
5
5
|
Project-URL: Homepage, https://github.com/vmware-skills/VMware-Debug
|
|
6
6
|
Project-URL: Repository, https://github.com/vmware-skills/VMware-Debug
|
|
@@ -14,11 +14,11 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
15
|
Classifier: Topic :: System :: Monitoring
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
|
-
Requires-Dist: mcp[cli]<2.0,>=1.
|
|
17
|
+
Requires-Dist: mcp[cli]<2.0,>=1.28
|
|
18
18
|
Requires-Dist: pyyaml<7.0,>=6.0
|
|
19
19
|
Requires-Dist: rich<15.0,>=13.0
|
|
20
20
|
Requires-Dist: typer<1.0,>=0.12
|
|
21
|
-
Requires-Dist: vmware-policy<2.0,>=1.
|
|
21
|
+
Requires-Dist: vmware-policy<2.0,>=1.21.0
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
<!-- mcp-name: io.github.vmware-skills/vmware-debug -->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
vmware_debug/__init__.py,sha256=
|
|
2
|
-
vmware_debug/cli.py,sha256=
|
|
1
|
+
vmware_debug/__init__.py,sha256=JjgubSbR8Xhn-i8kk8lV2EtYQxwqZUwSAQqxyW3k46o,376
|
|
2
|
+
vmware_debug/cli.py,sha256=nho92ORzfyqEPPvnFWuAY3J5uyWpVdzx5kAd7DPmbcA,5690
|
|
3
3
|
vmware_debug/envelope.py,sha256=66AQzI_h4JoopUcFxHvqaFe48rYRZz0uX9Wdm5lDcuI,11235
|
|
4
4
|
vmware_debug/mcp/__init__.py,sha256=isuSzMWp1iXgJWGz2Q0JyUXlDTfcFfHNPSTHALuNHaA,220
|
|
5
5
|
vmware_debug/mcp/tools.py,sha256=TcWywxro1zqGYFmJC8NUgxb7DMyGpSQbZusJrHzqnGI,2796
|
|
6
6
|
vmware_debug/mcp_server/__init__.py,sha256=QZpQxriDdqDCYaS-HP7McsaPbTPbHwcamIwu-7UxY-E,49
|
|
7
|
-
vmware_debug/mcp_server/server.py,sha256=
|
|
7
|
+
vmware_debug/mcp_server/server.py,sha256=uz4BnW-6Zu7G4fYYffT6B5cfOQ7xVFDzLWsmpASTrfc,47379
|
|
8
8
|
vmware_debug/ops/__init__.py,sha256=Co9u0zZexST7-IOUBOAS5eq5RHkaEeI2FqfYijzhI1g,46
|
|
9
9
|
vmware_debug/ops/skill_names.py,sha256=JkBaKBJYyq0RrEqzro-e-zhSVh7Cn5wlxjAoakgXSyY,3990
|
|
10
10
|
vmware_debug/ops/timeline.py,sha256=GzafF7jkEfa6cr3H2wO0At7fZEBdn_9m9_0Omh7faTs,27556
|
|
@@ -25,7 +25,7 @@ vmware_debug/ops/cases/store.py,sha256=dIgdAR111_gDoZ4rYbTtccuiaQVdksMCDoZOHKmbW
|
|
|
25
25
|
vmware_debug/ops/cases/timeline.py,sha256=WbJg2xUrqyHxMERBFYA-tgU9Mmy67whH9GGh96R8ifk,7843
|
|
26
26
|
vmware_debug/rules/evidence_sources.yaml,sha256=w8YOdUtKw-oi-t9c5ePJaktx7CwZlfFinH8aQAQfhzo,11387
|
|
27
27
|
vmware_debug/rules/grading_rules.yaml,sha256=USCp7D2geU_CZgscvo8GMHEHZPgqbzbjqE-qwWG3QtA,3261
|
|
28
|
-
vmware_debug-2.
|
|
29
|
-
vmware_debug-2.
|
|
30
|
-
vmware_debug-2.
|
|
31
|
-
vmware_debug-2.
|
|
28
|
+
vmware_debug-2.2.0.dist-info/METADATA,sha256=HCpMz0WTX-CNGVrBN0YmFA3M6IANeTRMH7fRJFyAPVM,8059
|
|
29
|
+
vmware_debug-2.2.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
30
|
+
vmware_debug-2.2.0.dist-info/entry_points.txt,sha256=4d14JRHy0ouSOfCJyczaxUFH6p8AsHZNS19AKom0v4c,109
|
|
31
|
+
vmware_debug-2.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|