hanzo-mcp 0.6.6__py3-none-any.whl → 0.6.8__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.
Potentially problematic release.
This version of hanzo-mcp might be problematic. Click here for more details.
- hanzo_mcp/__init__.py +10 -8
- hanzo_mcp/__main__.py +22 -0
- hanzo_mcp/cli.py +17 -11
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/METADATA +11 -11
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/RECORD +9 -8
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/WHEEL +0 -0
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/entry_points.txt +0 -0
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/licenses/LICENSE +0 -0
- {hanzo_mcp-0.6.6.dist-info → hanzo_mcp-0.6.8.dist-info}/top_level.txt +0 -0
hanzo_mcp/__init__.py
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import warnings
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
warnings.filterwarnings(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
# Aggressively suppress ALL deprecation warnings from pydantic before any imports
|
|
6
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning, module="pydantic.*")
|
|
7
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning, module="pydantic._internal.*")
|
|
8
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning, module="litellm.*")
|
|
9
|
+
|
|
10
|
+
# Also catch specific patterns
|
|
11
|
+
warnings.filterwarnings("ignore", message=".*class-based.*config.*deprecated.*")
|
|
12
|
+
warnings.filterwarnings("ignore", message=".*PydanticDeprecatedSince20.*")
|
|
13
|
+
|
|
14
|
+
__version__ = "0.6.8"
|
hanzo_mcp/__main__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Main entry point for hanzo-mcp when run as a module."""
|
|
2
|
+
|
|
3
|
+
import warnings
|
|
4
|
+
|
|
5
|
+
# Suppress ALL Pydantic deprecation warnings before any imports
|
|
6
|
+
warnings.filterwarnings(
|
|
7
|
+
"ignore",
|
|
8
|
+
category=DeprecationWarning,
|
|
9
|
+
module="pydantic.*"
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
# Also try to catch the specific message pattern
|
|
13
|
+
warnings.filterwarnings(
|
|
14
|
+
"ignore",
|
|
15
|
+
message=".*class-based.*config.*deprecated.*"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
# Import cli after setting up warnings
|
|
19
|
+
from hanzo_mcp.cli import main
|
|
20
|
+
|
|
21
|
+
if __name__ == "__main__":
|
|
22
|
+
main()
|
hanzo_mcp/cli.py
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
"""Command-line interface for the Hanzo MCP server."""
|
|
2
2
|
|
|
3
|
+
import warnings
|
|
4
|
+
import sys
|
|
5
|
+
import os
|
|
6
|
+
|
|
7
|
+
# Set environment variable to suppress warnings
|
|
8
|
+
os.environ["PYTHONWARNINGS"] = "ignore::DeprecationWarning"
|
|
9
|
+
|
|
10
|
+
# Suppress ALL deprecation warnings before any imports
|
|
11
|
+
warnings.simplefilter("ignore", DeprecationWarning)
|
|
12
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
13
|
+
|
|
14
|
+
# Specifically target pydantic internal warnings
|
|
15
|
+
if not sys.warnoptions:
|
|
16
|
+
warnings.filterwarnings("ignore", module="pydantic._internal")
|
|
17
|
+
warnings.filterwarnings("ignore", module="pydantic")
|
|
18
|
+
warnings.filterwarnings("ignore", module="litellm")
|
|
19
|
+
|
|
3
20
|
import argparse
|
|
4
21
|
import json
|
|
5
|
-
import os
|
|
6
22
|
import signal
|
|
7
|
-
import sys
|
|
8
|
-
import warnings
|
|
9
23
|
from pathlib import Path
|
|
10
24
|
from typing import Any, cast
|
|
11
25
|
|
|
12
|
-
# Suppress deprecation warnings from litellm about Pydantic v1 style configs
|
|
13
|
-
warnings.filterwarnings(
|
|
14
|
-
"ignore",
|
|
15
|
-
category=DeprecationWarning,
|
|
16
|
-
message=".*class-based `config`.*",
|
|
17
|
-
module="pydantic.*"
|
|
18
|
-
)
|
|
19
|
-
|
|
20
26
|
from hanzo_mcp.server import HanzoMCPServer
|
|
21
27
|
|
|
22
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hanzo-mcp
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.8
|
|
4
4
|
Summary: The Zen of Hanzo MCP: One server to rule them all. The ultimate MCP that orchestrates all others.
|
|
5
5
|
Author-email: Hanzo Industries Inc <dev@hanzo.ai>
|
|
6
6
|
License: MIT
|
|
@@ -14,22 +14,22 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.12
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: mcp>=1.
|
|
17
|
+
Requires-Dist: mcp>=1.9.4
|
|
18
18
|
Requires-Dist: fastmcp>=2.9.2
|
|
19
|
-
Requires-Dist: httpx>=0.
|
|
20
|
-
Requires-Dist: uvicorn>=0.
|
|
21
|
-
Requires-Dist: openai>=1.
|
|
22
|
-
Requires-Dist: python-dotenv>=1.0.
|
|
23
|
-
Requires-Dist: litellm>=1.
|
|
19
|
+
Requires-Dist: httpx>=0.28.1
|
|
20
|
+
Requires-Dist: uvicorn>=0.34.0
|
|
21
|
+
Requires-Dist: openai>=1.62.0
|
|
22
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
23
|
+
Requires-Dist: litellm>=1.73.2
|
|
24
24
|
Requires-Dist: grep-ast>=0.8.1
|
|
25
25
|
Requires-Dist: bashlex>=0.18
|
|
26
26
|
Requires-Dist: libtmux>=0.39.0
|
|
27
27
|
Requires-Dist: nbformat>=5.10.4
|
|
28
|
-
Requires-Dist: psutil>=6.1.
|
|
29
|
-
Requires-Dist: pydantic>=2.11.
|
|
28
|
+
Requires-Dist: psutil>=6.1.1
|
|
29
|
+
Requires-Dist: pydantic>=2.11.1
|
|
30
30
|
Requires-Dist: pydantic-settings>=2.7.0
|
|
31
|
-
Requires-Dist: typing-extensions>=4.
|
|
32
|
-
Requires-Dist: watchdog>=
|
|
31
|
+
Requires-Dist: typing-extensions>=4.13.0
|
|
32
|
+
Requires-Dist: watchdog>=6.0.0
|
|
33
33
|
Provides-Extra: dev
|
|
34
34
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
35
35
|
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
hanzo_mcp/__init__.py,sha256=
|
|
2
|
-
hanzo_mcp/
|
|
1
|
+
hanzo_mcp/__init__.py,sha256=N7kwt8VxU-3qGm2d9ToP84b0QMvtkOriMZlfhYYohFA,638
|
|
2
|
+
hanzo_mcp/__main__.py,sha256=kdAy3pjtKmFyFw0c8uU7fN--USerR4ubfD7ai3BWlgI,490
|
|
3
|
+
hanzo_mcp/cli.py,sha256=cUHm6z9V5KVnRW7wJoXVPtxfaOgLpPImg4f1DmS3se8,11891
|
|
3
4
|
hanzo_mcp/cli_enhanced.py,sha256=rqh9gqyjMuUznIlPTC5pcIGYZTKAScacMsDb1e68ReE,15819
|
|
4
5
|
hanzo_mcp/dev_server.py,sha256=_Ti0P7y8VNK5z4NiZ1BN5L_KdWhWYJ4IG2U6GZObzyM,7869
|
|
5
6
|
hanzo_mcp/server.py,sha256=W5mUxylqzBXGKOLxQq49bS4iL89cxbrXGs_m_Sw_aqw,8540
|
|
@@ -126,9 +127,9 @@ hanzo_mcp/tools/vector/project_manager.py,sha256=xrkRl7niWjJrtSNaEOppkPzDFDw9FaE
|
|
|
126
127
|
hanzo_mcp/tools/vector/vector.py,sha256=EpKEDkRfSHsDfPewqRwNAulX0BndlK48p-sFSMtt3js,10179
|
|
127
128
|
hanzo_mcp/tools/vector/vector_index.py,sha256=IqXoEfEk6TOOEThXw4obePZqfvBRiYL_LCrx8z35-h8,4403
|
|
128
129
|
hanzo_mcp/tools/vector/vector_search.py,sha256=jwX1azf4V4seqJ2CIDloX3lJ5_hkUl7X5e2OOgGXQNk,9647
|
|
129
|
-
hanzo_mcp-0.6.
|
|
130
|
-
hanzo_mcp-0.6.
|
|
131
|
-
hanzo_mcp-0.6.
|
|
132
|
-
hanzo_mcp-0.6.
|
|
133
|
-
hanzo_mcp-0.6.
|
|
134
|
-
hanzo_mcp-0.6.
|
|
130
|
+
hanzo_mcp-0.6.8.dist-info/licenses/LICENSE,sha256=mf1qZGFsPGskoPgytp9B-RsahfKvXsBpmaAbTLGTt8Y,1063
|
|
131
|
+
hanzo_mcp-0.6.8.dist-info/METADATA,sha256=pzLYRhtq429PBAKfJc5nyVE01LV88YY9Ce99M8T-PMU,11066
|
|
132
|
+
hanzo_mcp-0.6.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
133
|
+
hanzo_mcp-0.6.8.dist-info/entry_points.txt,sha256=Q_g5SzWk47z2b_rE_RgonVqk4-d8VQ6pqwMveYiXJuU,101
|
|
134
|
+
hanzo_mcp-0.6.8.dist-info/top_level.txt,sha256=eGFANatA0MHWiVlpS56fTYRIShtibrSom1uXI6XU0GU,10
|
|
135
|
+
hanzo_mcp-0.6.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|