mcpcap 0.5.9__tar.gz → 0.5.10__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 (55) hide show
  1. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/workflows/release.yml +20 -21
  2. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/workflows/test.yml +27 -5
  3. {mcpcap-0.5.9 → mcpcap-0.5.10}/PKG-INFO +1 -1
  4. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/_version.py +3 -3
  5. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/PKG-INFO +1 -1
  6. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/FUNDING.yml +0 -0
  7. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  8. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  9. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  10. {mcpcap-0.5.9 → mcpcap-0.5.10}/.github/ISSUE_TEMPLATE/module_request.yml +0 -0
  11. {mcpcap-0.5.9 → mcpcap-0.5.10}/.gitignore +0 -0
  12. {mcpcap-0.5.9 → mcpcap-0.5.10}/.readthedocs.yaml +0 -0
  13. {mcpcap-0.5.9 → mcpcap-0.5.10}/CONTRIBUTING.md +0 -0
  14. {mcpcap-0.5.9 → mcpcap-0.5.10}/LICENSE +0 -0
  15. {mcpcap-0.5.9 → mcpcap-0.5.10}/README.md +0 -0
  16. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/Makefile +0 -0
  17. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/_static/.gitkeep +0 -0
  18. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/api/cli.rst +0 -0
  19. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/api/core.rst +0 -0
  20. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/api/modules.rst +0 -0
  21. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/conf.py +0 -0
  22. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/developer/contributing.md +0 -0
  23. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/developer/module-creation-tutorial.md +0 -0
  24. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/index.rst +0 -0
  25. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/user-guide/analysis-guides.md +0 -0
  26. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/user-guide/installation.md +0 -0
  27. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/user-guide/mcp-integration.md +0 -0
  28. {mcpcap-0.5.9 → mcpcap-0.5.10}/docs/source/user-guide/quickstart.md +0 -0
  29. {mcpcap-0.5.9 → mcpcap-0.5.10}/examples/README.md +0 -0
  30. {mcpcap-0.5.9 → mcpcap-0.5.10}/examples/dhcp.pcap +0 -0
  31. {mcpcap-0.5.9 → mcpcap-0.5.10}/examples/dns.pcap +0 -0
  32. {mcpcap-0.5.9 → mcpcap-0.5.10}/pyproject.toml +0 -0
  33. {mcpcap-0.5.9 → mcpcap-0.5.10}/readme-assets/mcpcap-logo.png +0 -0
  34. {mcpcap-0.5.9 → mcpcap-0.5.10}/server.json +0 -0
  35. {mcpcap-0.5.9 → mcpcap-0.5.10}/setup.cfg +0 -0
  36. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/__init__.py +0 -0
  37. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/cli.py +0 -0
  38. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/core/__init__.py +0 -0
  39. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/core/config.py +0 -0
  40. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/core/server.py +0 -0
  41. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/modules/__init__.py +0 -0
  42. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/modules/base.py +0 -0
  43. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/modules/dhcp.py +0 -0
  44. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/modules/dns.py +0 -0
  45. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap/modules/icmp.py +0 -0
  46. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/SOURCES.txt +0 -0
  47. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/dependency_links.txt +0 -0
  48. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/entry_points.txt +0 -0
  49. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/requires.txt +0 -0
  50. {mcpcap-0.5.9 → mcpcap-0.5.10}/src/mcpcap.egg-info/top_level.txt +0 -0
  51. {mcpcap-0.5.9 → mcpcap-0.5.10}/tests/__init__.py +0 -0
  52. {mcpcap-0.5.9 → mcpcap-0.5.10}/tests/test_cli.py +0 -0
  53. {mcpcap-0.5.9 → mcpcap-0.5.10}/tests/test_dhcp.py +0 -0
  54. {mcpcap-0.5.9 → mcpcap-0.5.10}/tests/test_dns.py +0 -0
  55. {mcpcap-0.5.9 → mcpcap-0.5.10}/tests/test_modules/test_icmp.py +0 -0
@@ -23,10 +23,21 @@ jobs:
23
23
  with:
24
24
  python-version: "3.11"
25
25
 
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v4
28
+
29
+ - name: Cache uv dependencies
30
+ uses: actions/cache@v4
31
+ with:
32
+ path: ~/.cache/uv
33
+ key: ${{ runner.os }}-uv-release-${{ hashFiles('pyproject.toml') }}
34
+ restore-keys: |
35
+ ${{ runner.os }}-uv-release-
36
+ ${{ runner.os }}-uv-
37
+
26
38
  - name: Install build dependencies
27
39
  run: |
28
- python -m pip install --upgrade pip
29
- pip install build setuptools-scm[toml]
40
+ uv pip install --system build setuptools-scm[toml]
30
41
 
31
42
  - name: Verify version matches tag
32
43
  run: |
@@ -53,7 +64,7 @@ jobs:
53
64
 
54
65
  - name: Verify package contents
55
66
  run: |
56
- pip install twine
67
+ uv pip install --system twine
57
68
  twine check dist/*
58
69
 
59
70
  - name: Create GitHub Release
@@ -107,26 +118,14 @@ jobs:
107
118
  echo "server.json not found at repo root; skipping version update"
108
119
  fi
109
120
 
110
- # -------- MCP Registry: install publisher (build from source) --------------
111
- - name: Set up Go (for building mcp-publisher)
112
- if: steps.pypi_publish.outcome == 'success'
113
- uses: actions/setup-go@v5
114
- with:
115
- go-version: '1.24.x'
116
-
121
+ # -------- MCP Registry: install publisher (pre-built binary) ---------------
117
122
  - name: Install MCP Publisher
118
123
  if: steps.pypi_publish.outcome == 'success'
119
124
  run: |
120
125
  set -euo pipefail
121
- git clone https://github.com/modelcontextprotocol/registry publisher-repo
122
- cd publisher-repo
123
- make publisher
124
- # Verify expected output location and copy to repo root
125
- test -f bin/mcp-publisher || { echo "mcp-publisher binary not found at bin/mcp-publisher"; ls -R; exit 1; }
126
- cp bin/mcp-publisher ../mcp-publisher
127
- cd ..
128
- chmod +x mcp-publisher
129
- ./mcp-publisher --version || true
126
+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
127
+ sudo mv mcp-publisher /usr/local/bin/
128
+ mcp-publisher --version
130
129
 
131
130
  # -------- MCP Registry: login with DNS (mcpcap.ai) ------------------------
132
131
  # Secret MCP_PRIVATE_KEY must be a 64-character hex Ed25519 private key
@@ -141,12 +140,12 @@ jobs:
141
140
 
142
141
  - name: Login to MCP Registry (DNS)
143
142
  if: steps.pypi_publish.outcome == 'success'
144
- run: ./mcp-publisher login dns --domain mcpcap.ai --private-key "${{ secrets.MCP_PRIVATE_KEY }}"
143
+ run: mcp-publisher login dns --domain mcpcap.ai --private-key "${{ secrets.MCP_PRIVATE_KEY }}"
145
144
 
146
145
  # -------- MCP Registry: publish -------------------------------------------
147
146
  - name: Publish to MCP Registry
148
147
  if: steps.pypi_publish.outcome == 'success'
149
- run: ./mcp-publisher publish
148
+ run: mcp-publisher publish
150
149
 
151
150
  - name: Upload build artifacts
152
151
  uses: actions/upload-artifact@v4
@@ -24,10 +24,21 @@ jobs:
24
24
  with:
25
25
  python-version: ${{ matrix.python-version }}
26
26
 
27
+ - name: Install uv
28
+ uses: astral-sh/setup-uv@v4
29
+
30
+ - name: Cache uv dependencies
31
+ uses: actions/cache@v4
32
+ with:
33
+ path: ~/.cache/uv
34
+ key: ${{ runner.os }}-uv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
35
+ restore-keys: |
36
+ ${{ runner.os }}-uv-${{ matrix.python-version }}-
37
+ ${{ runner.os }}-uv-
38
+
27
39
  - name: Install dependencies
28
40
  run: |
29
- python -m pip install --upgrade pip
30
- pip install -e .[test]
41
+ uv pip install --system -e .[test]
31
42
 
32
43
  - name: Check version detection
33
44
  run: |
@@ -35,7 +46,7 @@ jobs:
35
46
 
36
47
  - name: Run linting with ruff
37
48
  run: |
38
- pip install ruff
49
+ uv pip install --system ruff
39
50
  ruff check .
40
51
  ruff format --check .
41
52
 
@@ -54,11 +65,22 @@ jobs:
54
65
  uses: actions/setup-python@v5
55
66
  with:
56
67
  python-version: "3.11"
68
+
69
+ - name: Install uv
70
+ uses: astral-sh/setup-uv@v4
71
+
72
+ - name: Cache uv dependencies
73
+ uses: actions/cache@v4
74
+ with:
75
+ path: ~/.cache/uv
76
+ key: ${{ runner.os }}-uv-check-version-${{ hashFiles('pyproject.toml') }}
77
+ restore-keys: |
78
+ ${{ runner.os }}-uv-check-version-
79
+ ${{ runner.os }}-uv-
57
80
 
58
81
  - name: Install setuptools-scm
59
82
  run: |
60
- python -m pip install --upgrade pip
61
- pip install setuptools-scm[toml]
83
+ uv pip install --system setuptools-scm[toml]
62
84
 
63
85
  - name: Verify version can be determined
64
86
  run: |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.9
3
+ Version: 0.5.10
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.9'
32
- __version_tuple__ = version_tuple = (0, 5, 9)
31
+ __version__ = version = '0.5.10'
32
+ __version_tuple__ = version_tuple = (0, 5, 10)
33
33
 
34
- __commit_id__ = commit_id = 'g65233624e'
34
+ __commit_id__ = commit_id = 'g6be924820'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.9
3
+ Version: 0.5.10
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