diff --git a/README.md b/README.md index b2568b7..13aab6b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@
+
diff --git a/README_zh.md b/README_zh.md index 539cd27..85c7a4a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,4 +1,5 @@
+
diff --git a/pyproject.toml b/pyproject.toml index dfcabf7..c45810a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "wireshark-mcp" -version = "0.6.4" +version = "0.6.5" description = "A production-grade Model Context Protocol (MCP) server for Wireshark" readme = "README.md" keywords = ["mcp", "wireshark", "tshark", "packet-analysis", "network", "pcap", "model-context-protocol", "llm", "security"] diff --git a/server.json b/server.json new file mode 100644 index 0000000..a68d253 --- /dev/null +++ b/server.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.bx33661/wireshark-mcp", + "description": "Professional network analysis with tshark. Security audits, deep-dives, and threat detection.", + "repository": { + "url": "https://github.com/bx33661/Wireshark-MCP", + "source": "github" + }, + "version": "0.6.5", + "packages": [ + { + "registryType": "pypi", + "identifier": "wireshark-mcp", + "version": "0.6.5", + "runtimeHint": "uvx", + "transport": { + "type": "stdio" + } + } + ], + "websiteUrl": "https://github.com/bx33661/Wireshark-MCP" +} diff --git a/src/wireshark_mcp/__init__.py b/src/wireshark_mcp/__init__.py index 8848346..86f858a 100644 --- a/src/wireshark_mcp/__init__.py +++ b/src/wireshark_mcp/__init__.py @@ -2,4 +2,4 @@ Wireshark MCP - A Model Context Protocol server for Wireshark. """ -__version__ = "0.6.4" +__version__ = "0.6.5" diff --git a/tests/test_server.py b/tests/test_server.py index 13a711c..0608d8b 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -1,5 +1,8 @@ """Tests for server bootstrap behavior.""" +from importlib import metadata + +import wireshark_mcp import wireshark_mcp.server as server @@ -45,3 +48,7 @@ class FakePolicy: server._configure_windows_event_loop() assert applied == [] + + +def test_package_version_matches_installed_metadata(): + assert wireshark_mcp.__version__ == metadata.version("wireshark-mcp") diff --git a/uv.lock b/uv.lock index 289afe0..d7c78f2 100644 --- a/uv.lock +++ b/uv.lock @@ -1171,7 +1171,7 @@ wheels = [ [[package]] name = "wireshark-mcp" -version = "0.6.4" +version = "0.6.5" source = { editable = "." } dependencies = [ { name = "mcp" },