mcpcap 0.5.0__tar.gz → 0.5.3__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.3}/.github/workflows/release.yml +7 -15
  2. {mcpcap-0.5.0/src/mcpcap.egg-info → mcpcap-0.5.3}/PKG-INFO +1 -1
  3. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/developer/contributing.md +1 -1
  4. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/developer/module-creation-tutorial.md +2 -2
  5. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/_version.py +3 -3
  6. {mcpcap-0.5.0 → mcpcap-0.5.3/src/mcpcap.egg-info}/PKG-INFO +1 -1
  7. {mcpcap-0.5.0 → mcpcap-0.5.3}/.github/FUNDING.yml +0 -0
  8. {mcpcap-0.5.0 → mcpcap-0.5.3}/.github/workflows/test.yml +0 -0
  9. {mcpcap-0.5.0 → mcpcap-0.5.3}/.gitignore +0 -0
  10. {mcpcap-0.5.0 → mcpcap-0.5.3}/.readthedocs.yaml +0 -0
  11. {mcpcap-0.5.0 → mcpcap-0.5.3}/CONTRIBUTING.md +0 -0
  12. {mcpcap-0.5.0 → mcpcap-0.5.3}/LICENSE +0 -0
  13. {mcpcap-0.5.0 → mcpcap-0.5.3}/README.md +0 -0
  14. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/Makefile +0 -0
  15. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/_static/.gitkeep +0 -0
  16. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/api/cli.rst +0 -0
  17. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/api/core.rst +0 -0
  18. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/api/modules.rst +0 -0
  19. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/conf.py +0 -0
  20. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/index.rst +0 -0
  21. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/user-guide/analysis-guides.md +0 -0
  22. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/user-guide/installation.md +0 -0
  23. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/user-guide/mcp-integration.md +0 -0
  24. {mcpcap-0.5.0 → mcpcap-0.5.3}/docs/source/user-guide/quickstart.md +0 -0
  25. {mcpcap-0.5.0 → mcpcap-0.5.3}/examples/README.md +0 -0
  26. {mcpcap-0.5.0 → mcpcap-0.5.3}/examples/dhcp.pcap +0 -0
  27. {mcpcap-0.5.0 → mcpcap-0.5.3}/examples/dns.pcap +0 -0
  28. {mcpcap-0.5.0 → mcpcap-0.5.3}/pyproject.toml +0 -0
  29. {mcpcap-0.5.0 → mcpcap-0.5.3}/readme-assets/mcpcap-logo.png +0 -0
  30. {mcpcap-0.5.0 → mcpcap-0.5.3}/server.json +0 -0
  31. {mcpcap-0.5.0 → mcpcap-0.5.3}/setup.cfg +0 -0
  32. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/__init__.py +0 -0
  33. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/cli.py +0 -0
  34. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/core/__init__.py +0 -0
  35. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/core/config.py +0 -0
  36. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/core/server.py +0 -0
  37. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/modules/__init__.py +0 -0
  38. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/modules/base.py +0 -0
  39. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/modules/dhcp.py +0 -0
  40. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/modules/dns.py +0 -0
  41. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap/modules/icmp.py +0 -0
  42. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap.egg-info/SOURCES.txt +0 -0
  43. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap.egg-info/dependency_links.txt +0 -0
  44. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap.egg-info/entry_points.txt +0 -0
  45. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap.egg-info/requires.txt +0 -0
  46. {mcpcap-0.5.0 → mcpcap-0.5.3}/src/mcpcap.egg-info/top_level.txt +0 -0
  47. {mcpcap-0.5.0 → mcpcap-0.5.3}/tests/__init__.py +0 -0
  48. {mcpcap-0.5.0 → mcpcap-0.5.3}/tests/test_cli.py +0 -0
  49. {mcpcap-0.5.0 → mcpcap-0.5.3}/tests/test_dhcp.py +0 -0
  50. {mcpcap-0.5.0 → mcpcap-0.5.3}/tests/test_dns.py +0 -0
  51. {mcpcap-0.5.0 → mcpcap-0.5.3}/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.3
4
4
  Summary: A modular Python MCP Server for analyzing PCAP files
5
5
  Author: mcpcap contributors
6
6
  License: MIT License
@@ -5,7 +5,7 @@ Welcome to the mcpcap developer guide! This section contains everything you need
5
5
  ## Quick Links
6
6
 
7
7
  - **[Module Creation Tutorial](module-creation-tutorial.md)** - Step-by-step guide to creating new protocol analyzers
8
- - **[CONTRIBUTING.md](../../../CONTRIBUTING.md)** - Full development setup and contribution guidelines
8
+ - **[CONTRIBUTING.md](../../../CONTRIBUTING)** - Full development setup and contribution guidelines
9
9
 
10
10
  ## Getting Started
11
11
 
@@ -13,7 +13,7 @@ We'll create an HTTP module that can:
13
13
  ## Prerequisites
14
14
 
15
15
  Before starting, ensure you have:
16
- - mcpcap development environment set up (see [CONTRIBUTING.md](../../../CONTRIBUTING.md))
16
+ - mcpcap development environment set up (see [CONTRIBUTING.md](../../../CONTRIBUTING))
17
17
  - Basic understanding of HTTP protocol
18
18
  - Familiarity with Python and Scapy
19
19
 
@@ -400,7 +400,7 @@ Present findings with timestamps, evidence preservation notes, and clear documen
400
400
 
401
401
  Now we need to register our HTTP module with the MCP server. Edit `src/mcpcap/core/server.py`:
402
402
 
403
- ```python
403
+ ```text
404
404
  # Add import at the top
405
405
  from ..modules.http import HTTPModule
406
406
 
@@ -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.3'
32
+ __version_tuple__ = version_tuple = (0, 5, 3)
33
33
 
34
- __commit_id__ = commit_id = 'gb82880466'
34
+ __commit_id__ = commit_id = 'g8b1931cda'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.0
3
+ Version: 0.5.3
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