mcpcap 0.5.0__tar.gz → 0.5.2__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.
Files changed (51) hide show
  1. {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/workflows/release.yml +7 -15
  2. {mcpcap-0.5.0/src/mcpcap.egg-info → mcpcap-0.5.2}/PKG-INFO +1 -1
  3. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/_version.py +3 -3
  4. {mcpcap-0.5.0 → mcpcap-0.5.2/src/mcpcap.egg-info}/PKG-INFO +1 -1
  5. {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/FUNDING.yml +0 -0
  6. {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/workflows/test.yml +0 -0
  7. {mcpcap-0.5.0 → mcpcap-0.5.2}/.gitignore +0 -0
  8. {mcpcap-0.5.0 → mcpcap-0.5.2}/.readthedocs.yaml +0 -0
  9. {mcpcap-0.5.0 → mcpcap-0.5.2}/CONTRIBUTING.md +0 -0
  10. {mcpcap-0.5.0 → mcpcap-0.5.2}/LICENSE +0 -0
  11. {mcpcap-0.5.0 → mcpcap-0.5.2}/README.md +0 -0
  12. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/Makefile +0 -0
  13. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/_static/.gitkeep +0 -0
  14. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/cli.rst +0 -0
  15. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/core.rst +0 -0
  16. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/modules.rst +0 -0
  17. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/conf.py +0 -0
  18. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/developer/contributing.md +0 -0
  19. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/developer/module-creation-tutorial.md +0 -0
  20. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/index.rst +0 -0
  21. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/analysis-guides.md +0 -0
  22. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/installation.md +0 -0
  23. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/mcp-integration.md +0 -0
  24. {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/quickstart.md +0 -0
  25. {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/README.md +0 -0
  26. {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/dhcp.pcap +0 -0
  27. {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/dns.pcap +0 -0
  28. {mcpcap-0.5.0 → mcpcap-0.5.2}/pyproject.toml +0 -0
  29. {mcpcap-0.5.0 → mcpcap-0.5.2}/readme-assets/mcpcap-logo.png +0 -0
  30. {mcpcap-0.5.0 → mcpcap-0.5.2}/server.json +0 -0
  31. {mcpcap-0.5.0 → mcpcap-0.5.2}/setup.cfg +0 -0
  32. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/__init__.py +0 -0
  33. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/cli.py +0 -0
  34. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/__init__.py +0 -0
  35. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/config.py +0 -0
  36. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/server.py +0 -0
  37. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/__init__.py +0 -0
  38. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/base.py +0 -0
  39. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/dhcp.py +0 -0
  40. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/dns.py +0 -0
  41. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/icmp.py +0 -0
  42. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/SOURCES.txt +0 -0
  43. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/dependency_links.txt +0 -0
  44. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/entry_points.txt +0 -0
  45. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/requires.txt +0 -0
  46. {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/top_level.txt +0 -0
  47. {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/__init__.py +0 -0
  48. {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_cli.py +0 -0
  49. {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_dhcp.py +0 -0
  50. {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_dns.py +0 -0
  51. {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_modules/test_icmp.py +0 -0
@@ -32,13 +32,18 @@ jobs:
32
32
  run: |
33
33
  # Extract version from tag (remove 'v' prefix)
34
34
  TAG_VERSION=${GITHUB_REF#refs/tags/v}
35
- # Get version from setuptools-scm
36
- DETECTED_VERSION=$(python -c "from setuptools_scm import get_version; print(get_version())")
35
+ # Debug git state
36
+ echo "Current commit: $(git rev-parse HEAD)"
37
+ echo "Current tag: $(git describe --tags)"
38
+ echo "All tags: $(git tag --list | tail -3)"
39
+ # Get version from setuptools-scm with debug
40
+ DETECTED_VERSION=$(python -c "import setuptools_scm; print(setuptools_scm.get_version())")
37
41
  echo "Tag version: $TAG_VERSION"
38
42
  echo "Detected version: $DETECTED_VERSION"
39
43
  # Verify they match
40
44
  if [ "$TAG_VERSION" != "$DETECTED_VERSION" ]; then
41
45
  echo "Version mismatch! Tag: $TAG_VERSION, Detected: $DETECTED_VERSION"
46
+ echo "This might be due to setuptools-scm caching or git fetch issues"
42
47
  exit 1
43
48
  fi
44
49
 
@@ -138,19 +143,6 @@ jobs:
138
143
  if: steps.pypi_publish.outcome == 'success'
139
144
  run: ./mcp-publisher login dns --domain mcpcap.ai --private-key "${{ secrets.MCP_PRIVATE_KEY }}"
140
145
 
141
- # -------- (Optional) Validate server.json before publishing ----------------
142
- - name: Validate server.json (optional)
143
- if: steps.pypi_publish.outcome == 'success'
144
- run: |
145
- if [ -f server.json ]; then
146
- # Validate against published schema
147
- curl -s https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json | jq . > schema.json
148
- npm i -g ajv-cli >/dev/null 2>&1 || true
149
- ajv validate -s schema.json -d server.json || (echo "server.json failed schema validation"; exit 1)
150
- else
151
- echo "server.json not found; skipping validation"
152
- fi
153
-
154
146
  # -------- MCP Registry: publish -------------------------------------------
155
147
  - name: Publish to MCP Registry
156
148
  if: steps.pypi_publish.outcome == 'success'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: A modular Python MCP Server for analyzing PCAP files
5
5
  Author: mcpcap contributors
6
6
  License: MIT License
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.5.0'
32
- __version_tuple__ = version_tuple = (0, 5, 0)
31
+ __version__ = version = '0.5.2'
32
+ __version_tuple__ = version_tuple = (0, 5, 2)
33
33
 
34
- __commit_id__ = commit_id = 'gb82880466'
34
+ __commit_id__ = commit_id = 'gbe92200cf'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: A modular Python MCP Server for analyzing PCAP files
5
5
  Author: mcpcap contributors
6
6
  License: MIT License
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes