mcpcap 0.5.7__tar.gz → 0.5.9__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/.github/ISSUE_TEMPLATE/bug_report.yml +106 -0
  2. mcpcap-0.5.9/.github/ISSUE_TEMPLATE/config.yml +8 -0
  3. mcpcap-0.5.9/.github/ISSUE_TEMPLATE/feature_request.yml +104 -0
  4. mcpcap-0.5.9/.github/ISSUE_TEMPLATE/module_request.yml +123 -0
  5. {mcpcap-0.5.7 → mcpcap-0.5.9}/PKG-INFO +1 -1
  6. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/_version.py +3 -3
  7. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/core/server.py +1 -2
  8. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/PKG-INFO +1 -1
  9. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/SOURCES.txt +4 -0
  10. {mcpcap-0.5.7 → mcpcap-0.5.9}/.github/FUNDING.yml +0 -0
  11. {mcpcap-0.5.7 → mcpcap-0.5.9}/.github/workflows/release.yml +0 -0
  12. {mcpcap-0.5.7 → mcpcap-0.5.9}/.github/workflows/test.yml +0 -0
  13. {mcpcap-0.5.7 → mcpcap-0.5.9}/.gitignore +0 -0
  14. {mcpcap-0.5.7 → mcpcap-0.5.9}/.readthedocs.yaml +0 -0
  15. {mcpcap-0.5.7 → mcpcap-0.5.9}/CONTRIBUTING.md +0 -0
  16. {mcpcap-0.5.7 → mcpcap-0.5.9}/LICENSE +0 -0
  17. {mcpcap-0.5.7 → mcpcap-0.5.9}/README.md +0 -0
  18. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/Makefile +0 -0
  19. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/_static/.gitkeep +0 -0
  20. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/api/cli.rst +0 -0
  21. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/api/core.rst +0 -0
  22. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/api/modules.rst +0 -0
  23. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/conf.py +0 -0
  24. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/developer/contributing.md +0 -0
  25. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/developer/module-creation-tutorial.md +0 -0
  26. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/index.rst +0 -0
  27. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/user-guide/analysis-guides.md +0 -0
  28. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/user-guide/installation.md +0 -0
  29. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/user-guide/mcp-integration.md +0 -0
  30. {mcpcap-0.5.7 → mcpcap-0.5.9}/docs/source/user-guide/quickstart.md +0 -0
  31. {mcpcap-0.5.7 → mcpcap-0.5.9}/examples/README.md +0 -0
  32. {mcpcap-0.5.7 → mcpcap-0.5.9}/examples/dhcp.pcap +0 -0
  33. {mcpcap-0.5.7 → mcpcap-0.5.9}/examples/dns.pcap +0 -0
  34. {mcpcap-0.5.7 → mcpcap-0.5.9}/pyproject.toml +0 -0
  35. {mcpcap-0.5.7 → mcpcap-0.5.9}/readme-assets/mcpcap-logo.png +0 -0
  36. {mcpcap-0.5.7 → mcpcap-0.5.9}/server.json +0 -0
  37. {mcpcap-0.5.7 → mcpcap-0.5.9}/setup.cfg +0 -0
  38. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/__init__.py +0 -0
  39. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/cli.py +0 -0
  40. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/core/__init__.py +0 -0
  41. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/core/config.py +0 -0
  42. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/modules/__init__.py +0 -0
  43. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/modules/base.py +0 -0
  44. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/modules/dhcp.py +0 -0
  45. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/modules/dns.py +0 -0
  46. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap/modules/icmp.py +0 -0
  47. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/dependency_links.txt +0 -0
  48. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/entry_points.txt +0 -0
  49. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/requires.txt +0 -0
  50. {mcpcap-0.5.7 → mcpcap-0.5.9}/src/mcpcap.egg-info/top_level.txt +0 -0
  51. {mcpcap-0.5.7 → mcpcap-0.5.9}/tests/__init__.py +0 -0
  52. {mcpcap-0.5.7 → mcpcap-0.5.9}/tests/test_cli.py +0 -0
  53. {mcpcap-0.5.7 → mcpcap-0.5.9}/tests/test_dhcp.py +0 -0
  54. {mcpcap-0.5.7 → mcpcap-0.5.9}/tests/test_dns.py +0 -0
  55. {mcpcap-0.5.7 → mcpcap-0.5.9}/tests/test_modules/test_icmp.py +0 -0
@@ -0,0 +1,106 @@
1
+ name: Bug Report
2
+ description: Report a bug or issue with mcpcap
3
+ title: "[Bug] "
4
+ labels: ["bug"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for taking the time to report a bug! Please fill out this form as completely as possible.
10
+
11
+ - type: textarea
12
+ id: description
13
+ attributes:
14
+ label: Bug Description
15
+ description: A clear and concise description of what the bug is.
16
+ placeholder: Describe the bug...
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: reproduction
22
+ attributes:
23
+ label: Steps to Reproduce
24
+ description: Steps to reproduce the behavior
25
+ placeholder: |
26
+ 1. Run mcpcap with...
27
+ 2. Analyze PCAP file...
28
+ 3. See error...
29
+ validations:
30
+ required: true
31
+
32
+ - type: textarea
33
+ id: expected
34
+ attributes:
35
+ label: Expected Behavior
36
+ description: A clear and concise description of what you expected to happen.
37
+ placeholder: What should have happened?
38
+ validations:
39
+ required: true
40
+
41
+ - type: textarea
42
+ id: actual
43
+ attributes:
44
+ label: Actual Behavior
45
+ description: What actually happened instead?
46
+ placeholder: What actually happened?
47
+ validations:
48
+ required: true
49
+
50
+ - type: textarea
51
+ id: pcap-info
52
+ attributes:
53
+ label: PCAP File Information
54
+ description: Information about the PCAP file that caused the issue (if applicable)
55
+ placeholder: |
56
+ - File size:
57
+ - Protocols present:
58
+ - Capture tool:
59
+ - Any sensitive data removed: Yes/No
60
+ validations:
61
+ required: false
62
+
63
+ - type: dropdown
64
+ id: modules
65
+ attributes:
66
+ label: Affected Modules
67
+ description: Which mcpcap modules are affected?
68
+ multiple: true
69
+ options:
70
+ - DNS
71
+ - DHCP
72
+ - ICMP
73
+ - All modules
74
+ - Unknown
75
+ validations:
76
+ required: true
77
+
78
+ - type: textarea
79
+ id: environment
80
+ attributes:
81
+ label: Environment
82
+ description: Information about your environment
83
+ placeholder: |
84
+ - mcpcap version:
85
+ - Python version:
86
+ - Operating system:
87
+ - Installation method: pip/git/other
88
+ validations:
89
+ required: true
90
+
91
+ - type: textarea
92
+ id: logs
93
+ attributes:
94
+ label: Error Logs
95
+ description: If applicable, add any error messages or logs
96
+ render: shell
97
+ validations:
98
+ required: false
99
+
100
+ - type: textarea
101
+ id: additional
102
+ attributes:
103
+ label: Additional Context
104
+ description: Add any other context about the problem here
105
+ validations:
106
+ required: false
@@ -0,0 +1,8 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Documentation
4
+ url: https://docs.mcpcap.ai
5
+ about: Check the documentation for usage guides and API reference
6
+ - name: Discussions
7
+ url: https://github.com/mcpcap/mcpcap/discussions
8
+ about: Ask questions and discuss ideas with the community
@@ -0,0 +1,104 @@
1
+ name: Feature Request
2
+ description: Suggest a new feature or enhancement for mcpcap
3
+ title: "[Feature] "
4
+ labels: ["enhancement"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for suggesting a new feature! Please describe your idea clearly.
10
+
11
+ - type: textarea
12
+ id: summary
13
+ attributes:
14
+ label: Feature Summary
15
+ description: A brief summary of the feature you'd like to see
16
+ placeholder: What feature would you like to see added?
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: problem
22
+ attributes:
23
+ label: Problem Statement
24
+ description: What problem does this feature solve?
25
+ placeholder: |
26
+ Is your feature request related to a problem? Please describe.
27
+ A clear and concise description of what the problem is.
28
+ validations:
29
+ required: true
30
+
31
+ - type: textarea
32
+ id: solution
33
+ attributes:
34
+ label: Proposed Solution
35
+ description: Describe the solution you'd like
36
+ placeholder: A clear and concise description of what you want to happen.
37
+ validations:
38
+ required: true
39
+
40
+ - type: dropdown
41
+ id: category
42
+ attributes:
43
+ label: Feature Category
44
+ description: What type of feature is this?
45
+ options:
46
+ - New protocol support
47
+ - Analysis enhancement
48
+ - Performance improvement
49
+ - User interface
50
+ - Documentation
51
+ - Testing
52
+ - Other
53
+ validations:
54
+ required: true
55
+
56
+ - type: dropdown
57
+ id: priority
58
+ attributes:
59
+ label: Priority Level
60
+ description: How important is this feature to you?
61
+ options:
62
+ - Low - Nice to have
63
+ - Medium - Would be helpful
64
+ - High - Important for my use case
65
+ - Critical - Blocking my work
66
+ validations:
67
+ required: true
68
+
69
+ - type: textarea
70
+ id: alternatives
71
+ attributes:
72
+ label: Alternative Solutions
73
+ description: Describe any alternative solutions or features you've considered
74
+ placeholder: What alternatives have you considered?
75
+ validations:
76
+ required: false
77
+
78
+ - type: textarea
79
+ id: use-cases
80
+ attributes:
81
+ label: Use Cases
82
+ description: Describe specific use cases where this feature would be valuable
83
+ placeholder: |
84
+ - Use case 1: ...
85
+ - Use case 2: ...
86
+ validations:
87
+ required: false
88
+
89
+ - type: textarea
90
+ id: implementation
91
+ attributes:
92
+ label: Implementation Ideas
93
+ description: If you have ideas about how this could be implemented, share them here
94
+ placeholder: Any thoughts on how this could be implemented?
95
+ validations:
96
+ required: false
97
+
98
+ - type: textarea
99
+ id: additional
100
+ attributes:
101
+ label: Additional Context
102
+ description: Add any other context, screenshots, or examples about the feature request
103
+ validations:
104
+ required: false
@@ -0,0 +1,123 @@
1
+ name: Protocol Module Request
2
+ description: Request support for a new network protocol analysis module
3
+ title: "[Module] Add support for [PROTOCOL_NAME]"
4
+ labels: ["enhancement", "module", "protocol"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for requesting a new protocol module! This helps us prioritize which protocols to support next.
10
+
11
+ - type: input
12
+ id: protocol-name
13
+ attributes:
14
+ label: Protocol Name
15
+ description: What protocol would you like mcpcap to support?
16
+ placeholder: e.g., HTTP, FTP, SSH, etc.
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: protocol-description
22
+ attributes:
23
+ label: Protocol Description
24
+ description: Brief description of the protocol and its purpose
25
+ placeholder: What does this protocol do? What is it used for?
26
+ validations:
27
+ required: true
28
+
29
+ - type: dropdown
30
+ id: protocol-layer
31
+ attributes:
32
+ label: OSI Layer
33
+ description: Which OSI layer does this protocol primarily operate at?
34
+ options:
35
+ - Layer 2 - Data Link
36
+ - Layer 3 - Network
37
+ - Layer 4 - Transport
38
+ - Layer 5 - Session
39
+ - Layer 6 - Presentation
40
+ - Layer 7 - Application
41
+ - Multiple layers
42
+ - Unknown/Other
43
+ validations:
44
+ required: true
45
+
46
+ - type: textarea
47
+ id: use-cases
48
+ attributes:
49
+ label: Use Cases
50
+ description: What specific analysis would you want to perform on this protocol?
51
+ placeholder: |
52
+ - Security analysis: ...
53
+ - Performance monitoring: ...
54
+ - Troubleshooting: ...
55
+ - Compliance: ...
56
+ validations:
57
+ required: true
58
+
59
+ - type: textarea
60
+ id: analysis-goals
61
+ attributes:
62
+ label: Analysis Goals
63
+ description: What specific information should the module extract or analyze?
64
+ placeholder: |
65
+ - Packet counts and sizes
66
+ - Connection patterns
67
+ - Error rates
68
+ - Specific protocol fields
69
+ - Security indicators
70
+ validations:
71
+ required: true
72
+
73
+ - type: input
74
+ id: rfc-standards
75
+ attributes:
76
+ label: RFC or Standards
77
+ description: Are there RFC documents or standards that define this protocol?
78
+ placeholder: e.g., RFC 793, IEEE 802.11, etc.
79
+ validations:
80
+ required: false
81
+
82
+ - type: dropdown
83
+ id: priority
84
+ attributes:
85
+ label: Priority Level
86
+ description: How important is this protocol support to your work?
87
+ options:
88
+ - Low - Nice to have
89
+ - Medium - Would be helpful
90
+ - High - Important for my use case
91
+ - Critical - Blocking my work
92
+ validations:
93
+ required: true
94
+
95
+ - type: textarea
96
+ id: sample-data
97
+ attributes:
98
+ label: Sample Data Availability
99
+ description: Do you have sample PCAP files with this protocol that could help with development?
100
+ placeholder: |
101
+ - Yes, I can provide sanitized samples
102
+ - Yes, but they contain sensitive data
103
+ - No, but I can generate some
104
+ - No sample data available
105
+ validations:
106
+ required: false
107
+
108
+ - type: textarea
109
+ id: existing-tools
110
+ attributes:
111
+ label: Existing Analysis Tools
112
+ description: Are there existing tools that analyze this protocol? How would mcpcap be different/better?
113
+ placeholder: What tools currently exist for analyzing this protocol?
114
+ validations:
115
+ required: false
116
+
117
+ - type: textarea
118
+ id: additional
119
+ attributes:
120
+ label: Additional Context
121
+ description: Any other information that would help with implementing this module
122
+ validations:
123
+ required: false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.7
3
+ Version: 0.5.9
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.7'
32
- __version_tuple__ = version_tuple = (0, 5, 7)
31
+ __version__ = version = '0.5.9'
32
+ __version_tuple__ = version_tuple = (0, 5, 9)
33
33
 
34
- __commit_id__ = commit_id = 'ga3cd65423'
34
+ __commit_id__ = commit_id = 'g65233624e'
@@ -18,7 +18,7 @@ class MCPServer:
18
18
  config: Configuration instance
19
19
  """
20
20
  self.config = config
21
-
21
+
22
22
  self.mcp = FastMCP("mcpcap")
23
23
 
24
24
  # Initialize modules based on configuration
@@ -50,6 +50,5 @@ class MCPServer:
50
50
 
51
51
  def run(self) -> None:
52
52
  """Start the MCP server."""
53
- import sys
54
53
 
55
54
  self.mcp.run(show_banner=False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpcap
3
- Version: 0.5.7
3
+ Version: 0.5.9
4
4
  Summary: A modular Python MCP Server for analyzing PCAP files
5
5
  Author: mcpcap contributors
6
6
  License: MIT License
@@ -6,6 +6,10 @@ README.md
6
6
  pyproject.toml
7
7
  server.json
8
8
  .github/FUNDING.yml
9
+ .github/ISSUE_TEMPLATE/bug_report.yml
10
+ .github/ISSUE_TEMPLATE/config.yml
11
+ .github/ISSUE_TEMPLATE/feature_request.yml
12
+ .github/ISSUE_TEMPLATE/module_request.yml
9
13
  .github/workflows/release.yml
10
14
  .github/workflows/test.yml
11
15
  docs/Makefile
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