secintel-mcp 0.0.1__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.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Changhyun Kim
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: secintel-mcp
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: MCP server for public vulnerability intelligence (NVD, OSV, FIRST EPSS, CISA KEV) with CVE patch prioritization
|
|
5
|
+
Keywords: mcp,security,cve,vulnerability,epss,kev,nvd,osv
|
|
6
|
+
Author: Changhyun Kim
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Security
|
|
12
|
+
Requires-Dist: httpx>=0.28.1
|
|
13
|
+
Requires-Dist: mcp>=2.3.0
|
|
14
|
+
Requires-Python: >=3.11
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# secintel-mcp
|
|
18
|
+
|
|
19
|
+
> ๐ง ๊ฐ๋ฐ ์ค์
๋๋ค. ์๋ ๋๊ตฌ์ ์ค์น ๋ฐฉ๋ฒ์ ๋ชฉํ ์ฌ์์ด๋ฉฐ, ์์ง ๋ฐฐํฌ๋์ง ์์์ต๋๋ค.
|
|
20
|
+
|
|
21
|
+
๊ณต๊ฐ ์ทจ์ฝ์ ์ธํ
๋ฆฌ์ ์ค(NVD, OSV, FIRST EPSS, CISA KEV)๋ฅผ AI ์์ด์ ํธ๊ฐ ์ฌ์ฉํ ์ ์๋๋ก ์ ๊ณตํ๋ [MCP(Model Context Protocol)](https://modelcontextprotocol.io) ์๋ฒ์
๋๋ค.
|
|
22
|
+
|
|
23
|
+
CVE ์ ๋ณด ์กฐํ, ํจํค์ง ๋ฒ์ ๋ณ ์ทจ์ฝ์ ํ์ธ, ์ค์ ์
์ฉ ์ฌ๋ถ์ ์
์ฉ ๊ฐ๋ฅ์ฑ ์ ์ ํ์ธ์ ๋ํด, ์ฌ๋ฌ CVE ์ค **๋ฌด์๋ถํฐ ํจ์นํด์ผ ํ๋์ง**๋ฅผ ํ๋จ ๊ทผ๊ฑฐ์ ํจ๊ป ์๋ ค ์ค๋๋ค.
|
|
24
|
+
|
|
25
|
+
## ์ด๋ฐ ์ง๋ฌธ์ ๋ตํฉ๋๋ค
|
|
26
|
+
|
|
27
|
+
- "log4j-core 2.14.1์ ์ฐ๊ณ ์๋๋ฐ ์ํํ๊ฐ์?"
|
|
28
|
+
- "CVE-2022-22965(Spring4Shell)๊ฐ ์ค์ ๋ก ์
์ฉ๋๊ณ ์๋์?"
|
|
29
|
+
- "์ด CVE 5๊ฐ ์ค ๋ฌด์๋ถํฐ ํจ์นํด์ผ ํ๋์?"
|
|
30
|
+
|
|
31
|
+
## ๋๊ตฌ
|
|
32
|
+
|
|
33
|
+
| ๋๊ตฌ | ๋ฐ์ดํฐ ์์ค | ์ญํ |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `lookup_cve` | NVD API 2.0 | CVE ์ค๋ช
, CVSS, CWE, ์ฐธ์กฐ ๋งํฌ |
|
|
36
|
+
| `query_package_vulns` | OSV API | ์ํ๊ณยทํจํค์งยท๋ฒ์ ๊ธฐ์ค ์ทจ์ฝ์ ์กฐํ |
|
|
37
|
+
| `get_epss` | FIRST EPSS | ์
์ฉ ๊ฐ๋ฅ์ฑ ์ ์ (์ผ๊ด ์กฐํ) |
|
|
38
|
+
| `check_kev` | CISA KEV | ์ค์ ์
์ฉ ํ์ธ ์ฌ๋ถ |
|
|
39
|
+
| `prioritize_cves` | ์ 4๊ฐ ์กฐํฉ | ์ฐ์ ์์ ๋ฑ๊ธ๊ณผ ํ๋จ ๊ทผ๊ฑฐ ๋ฐํ |
|
|
40
|
+
|
|
41
|
+
๋ชจ๋ ๋๊ตฌ๋ ์ฝ๊ธฐ ์ ์ฉ์ด๋ฉฐ, ๊ณต๊ฐ API๋ง ํธ์ถํฉ๋๋ค.
|
|
42
|
+
|
|
43
|
+
## ์ฐ์ ์์ ๊ท์น
|
|
44
|
+
|
|
45
|
+
`prioritize_cves`๋ ๋ค์ ์์๋ก ๋ฑ๊ธ์ ๋งค๊ธฐ๊ณ , ์ด๋ค ์กฐ๊ฑด์ ํด๋นํ๋์ง๋ฅผ ๊ฒฐ๊ณผ์ ํจ๊ป ๋ฐํํฉ๋๋ค.
|
|
46
|
+
|
|
47
|
+
| ๋ฑ๊ธ | ์กฐ๊ฑด |
|
|
48
|
+
|---|---|
|
|
49
|
+
| P1 | CISA KEV์ ๋ฑ์ฌ๋จ (์ค์ ์
์ฉ์ด ํ์ธ๋จ) |
|
|
50
|
+
| P2 | EPSS โฅ 0.1 ๋๋ EPSS percentile โฅ 0.95 |
|
|
51
|
+
| P3 | CVSS โฅ 7.0 |
|
|
52
|
+
| P4 | ๊ทธ ์ธ |
|
|
53
|
+
|
|
54
|
+
- ์๊ณ๊ฐ์ ์ค์ ์ด๋ ๋๊ตฌ ์ธ์๋ก ๋ณ๊ฒฝํ ์ ์์ต๋๋ค.
|
|
55
|
+
- KEV์ EPSS๋ง์ผ๋ก ๋ฑ๊ธ์ด ์ ํด์ง CVE๋ NVD๋ฅผ ์กฐํํ์ง ์์ต๋๋ค. ๋ฐ๋ผ์ NVD ์์ฒญ ํ๋์ ๊ฑธ๋ฆฌ์ง ์๊ณ ๋ ๋นจ๋ฆฌ ์๋ตํฉ๋๋ค.
|
|
56
|
+
|
|
57
|
+
ํจํค์ง ๋จ์๋ก ์ฐ์ ์์๋ฅผ ๋งค๊ธฐ๋ ค๋ฉด ์์ด์ ํธ๊ฐ `query_package_vulns`๋ก CVE ๋ชฉ๋ก์ ์ป์ ๋ค `prioritize_cves`์ ๋๊ธฐ๋ฉด ๋ฉ๋๋ค.
|
|
58
|
+
|
|
59
|
+
## ์ค์น (์์ )
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
uvx secintel-mcp
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Claude Desktop ์ค์ ์์ (`claude_desktop_config.json`):
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"mcpServers": {
|
|
70
|
+
"secintel": {
|
|
71
|
+
"command": "uvx",
|
|
72
|
+
"args": ["secintel-mcp"],
|
|
73
|
+
"env": { "NVD_API_KEY": "<์ ํ: NVD API ํค>" }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
NVD API ํค๊ฐ ์์ด๋ ๋์ํฉ๋๋ค. ๋ค๋ง ํค๊ฐ ์์ผ๋ฉด NVD ์์ฒญ ํ๋๊ฐ 30์ด๋น 5ํ๋ก ์ ํ๋๋ฏ๋ก, [NVD์์ ๋ฌด๋ฃ ํค๋ฅผ ๋ฐ๊ธ](https://nvd.nist.gov/developers/request-an-api-key)๋ฐ์ ์ฐ๋ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค.
|
|
80
|
+
|
|
81
|
+
## ๊ธฐ์ ์คํ
|
|
82
|
+
|
|
83
|
+
Python 3.11+, [uv](https://docs.astral.sh/uv/), [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) 2.x (`MCPServer`), httpx, pytest
|
|
84
|
+
|
|
85
|
+
## ๋ก๋๋งต
|
|
86
|
+
|
|
87
|
+
- [ ] ๋๊ตฌ 5๊ฐ ์ต์ ๋์ ๋ฒ์
|
|
88
|
+
- [ ] KEVยทEPSS ์ผ ๋จ์ ์บ์, NVD ์ฌ์๋ยท๋ฐฑ์คํ
|
|
89
|
+
- [ ] ๊ณต๊ฐ CVE ๊ธฐ๋ฐ ํ๊ฐ์
๊ณผ CI
|
|
90
|
+
- [ ] PyPI ๋ฐฐํฌ
|
|
91
|
+
- [ ] SemgrepยทTrivy ๊ฒฐ๊ณผ ํ์ฑ ๋๊ตฌ (์ทจ์ฝ์ ํธ๋ฆฌ์์ง ์์ด์ ํธ๋ก ํ์ฅ)
|
|
92
|
+
|
|
93
|
+
## ๋ฐ์ดํฐ ์ถ์ฒ
|
|
94
|
+
|
|
95
|
+
- [NVD](https://nvd.nist.gov/) โ This product uses the NVD API but is not endorsed or certified by the NVD.
|
|
96
|
+
- [OSV](https://osv.dev/)
|
|
97
|
+
- [FIRST EPSS](https://www.first.org/epss/)
|
|
98
|
+
- [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
|
|
99
|
+
|
|
100
|
+
์ด ๋๊ตฌ์ ๊ฒฐ๊ณผ๋ ํจ์น ์ฐ์ ์์๋ฅผ ํ๋จํ๋ ๋ฐ ์ฐธ๊ณ ํ๋ ์๋ฃ์
๋๋ค. ์ค์ ์กฐ์น๋ ๊ฐ ํ๊ฒฝ์ ๋ง๊ฒ ๊ฒํ ํ ๋ค ๊ฒฐ์ ํ์ธ์.
|
|
101
|
+
|
|
102
|
+
## ๋ผ์ด์ ์ค
|
|
103
|
+
|
|
104
|
+
MIT
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# secintel-mcp
|
|
2
|
+
|
|
3
|
+
> ๐ง ๊ฐ๋ฐ ์ค์
๋๋ค. ์๋ ๋๊ตฌ์ ์ค์น ๋ฐฉ๋ฒ์ ๋ชฉํ ์ฌ์์ด๋ฉฐ, ์์ง ๋ฐฐํฌ๋์ง ์์์ต๋๋ค.
|
|
4
|
+
|
|
5
|
+
๊ณต๊ฐ ์ทจ์ฝ์ ์ธํ
๋ฆฌ์ ์ค(NVD, OSV, FIRST EPSS, CISA KEV)๋ฅผ AI ์์ด์ ํธ๊ฐ ์ฌ์ฉํ ์ ์๋๋ก ์ ๊ณตํ๋ [MCP(Model Context Protocol)](https://modelcontextprotocol.io) ์๋ฒ์
๋๋ค.
|
|
6
|
+
|
|
7
|
+
CVE ์ ๋ณด ์กฐํ, ํจํค์ง ๋ฒ์ ๋ณ ์ทจ์ฝ์ ํ์ธ, ์ค์ ์
์ฉ ์ฌ๋ถ์ ์
์ฉ ๊ฐ๋ฅ์ฑ ์ ์ ํ์ธ์ ๋ํด, ์ฌ๋ฌ CVE ์ค **๋ฌด์๋ถํฐ ํจ์นํด์ผ ํ๋์ง**๋ฅผ ํ๋จ ๊ทผ๊ฑฐ์ ํจ๊ป ์๋ ค ์ค๋๋ค.
|
|
8
|
+
|
|
9
|
+
## ์ด๋ฐ ์ง๋ฌธ์ ๋ตํฉ๋๋ค
|
|
10
|
+
|
|
11
|
+
- "log4j-core 2.14.1์ ์ฐ๊ณ ์๋๋ฐ ์ํํ๊ฐ์?"
|
|
12
|
+
- "CVE-2022-22965(Spring4Shell)๊ฐ ์ค์ ๋ก ์
์ฉ๋๊ณ ์๋์?"
|
|
13
|
+
- "์ด CVE 5๊ฐ ์ค ๋ฌด์๋ถํฐ ํจ์นํด์ผ ํ๋์?"
|
|
14
|
+
|
|
15
|
+
## ๋๊ตฌ
|
|
16
|
+
|
|
17
|
+
| ๋๊ตฌ | ๋ฐ์ดํฐ ์์ค | ์ญํ |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| `lookup_cve` | NVD API 2.0 | CVE ์ค๋ช
, CVSS, CWE, ์ฐธ์กฐ ๋งํฌ |
|
|
20
|
+
| `query_package_vulns` | OSV API | ์ํ๊ณยทํจํค์งยท๋ฒ์ ๊ธฐ์ค ์ทจ์ฝ์ ์กฐํ |
|
|
21
|
+
| `get_epss` | FIRST EPSS | ์
์ฉ ๊ฐ๋ฅ์ฑ ์ ์ (์ผ๊ด ์กฐํ) |
|
|
22
|
+
| `check_kev` | CISA KEV | ์ค์ ์
์ฉ ํ์ธ ์ฌ๋ถ |
|
|
23
|
+
| `prioritize_cves` | ์ 4๊ฐ ์กฐํฉ | ์ฐ์ ์์ ๋ฑ๊ธ๊ณผ ํ๋จ ๊ทผ๊ฑฐ ๋ฐํ |
|
|
24
|
+
|
|
25
|
+
๋ชจ๋ ๋๊ตฌ๋ ์ฝ๊ธฐ ์ ์ฉ์ด๋ฉฐ, ๊ณต๊ฐ API๋ง ํธ์ถํฉ๋๋ค.
|
|
26
|
+
|
|
27
|
+
## ์ฐ์ ์์ ๊ท์น
|
|
28
|
+
|
|
29
|
+
`prioritize_cves`๋ ๋ค์ ์์๋ก ๋ฑ๊ธ์ ๋งค๊ธฐ๊ณ , ์ด๋ค ์กฐ๊ฑด์ ํด๋นํ๋์ง๋ฅผ ๊ฒฐ๊ณผ์ ํจ๊ป ๋ฐํํฉ๋๋ค.
|
|
30
|
+
|
|
31
|
+
| ๋ฑ๊ธ | ์กฐ๊ฑด |
|
|
32
|
+
|---|---|
|
|
33
|
+
| P1 | CISA KEV์ ๋ฑ์ฌ๋จ (์ค์ ์
์ฉ์ด ํ์ธ๋จ) |
|
|
34
|
+
| P2 | EPSS โฅ 0.1 ๋๋ EPSS percentile โฅ 0.95 |
|
|
35
|
+
| P3 | CVSS โฅ 7.0 |
|
|
36
|
+
| P4 | ๊ทธ ์ธ |
|
|
37
|
+
|
|
38
|
+
- ์๊ณ๊ฐ์ ์ค์ ์ด๋ ๋๊ตฌ ์ธ์๋ก ๋ณ๊ฒฝํ ์ ์์ต๋๋ค.
|
|
39
|
+
- KEV์ EPSS๋ง์ผ๋ก ๋ฑ๊ธ์ด ์ ํด์ง CVE๋ NVD๋ฅผ ์กฐํํ์ง ์์ต๋๋ค. ๋ฐ๋ผ์ NVD ์์ฒญ ํ๋์ ๊ฑธ๋ฆฌ์ง ์๊ณ ๋ ๋นจ๋ฆฌ ์๋ตํฉ๋๋ค.
|
|
40
|
+
|
|
41
|
+
ํจํค์ง ๋จ์๋ก ์ฐ์ ์์๋ฅผ ๋งค๊ธฐ๋ ค๋ฉด ์์ด์ ํธ๊ฐ `query_package_vulns`๋ก CVE ๋ชฉ๋ก์ ์ป์ ๋ค `prioritize_cves`์ ๋๊ธฐ๋ฉด ๋ฉ๋๋ค.
|
|
42
|
+
|
|
43
|
+
## ์ค์น (์์ )
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
uvx secintel-mcp
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Claude Desktop ์ค์ ์์ (`claude_desktop_config.json`):
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"mcpServers": {
|
|
54
|
+
"secintel": {
|
|
55
|
+
"command": "uvx",
|
|
56
|
+
"args": ["secintel-mcp"],
|
|
57
|
+
"env": { "NVD_API_KEY": "<์ ํ: NVD API ํค>" }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
NVD API ํค๊ฐ ์์ด๋ ๋์ํฉ๋๋ค. ๋ค๋ง ํค๊ฐ ์์ผ๋ฉด NVD ์์ฒญ ํ๋๊ฐ 30์ด๋น 5ํ๋ก ์ ํ๋๋ฏ๋ก, [NVD์์ ๋ฌด๋ฃ ํค๋ฅผ ๋ฐ๊ธ](https://nvd.nist.gov/developers/request-an-api-key)๋ฐ์ ์ฐ๋ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค.
|
|
64
|
+
|
|
65
|
+
## ๊ธฐ์ ์คํ
|
|
66
|
+
|
|
67
|
+
Python 3.11+, [uv](https://docs.astral.sh/uv/), [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) 2.x (`MCPServer`), httpx, pytest
|
|
68
|
+
|
|
69
|
+
## ๋ก๋๋งต
|
|
70
|
+
|
|
71
|
+
- [ ] ๋๊ตฌ 5๊ฐ ์ต์ ๋์ ๋ฒ์
|
|
72
|
+
- [ ] KEVยทEPSS ์ผ ๋จ์ ์บ์, NVD ์ฌ์๋ยท๋ฐฑ์คํ
|
|
73
|
+
- [ ] ๊ณต๊ฐ CVE ๊ธฐ๋ฐ ํ๊ฐ์
๊ณผ CI
|
|
74
|
+
- [ ] PyPI ๋ฐฐํฌ
|
|
75
|
+
- [ ] SemgrepยทTrivy ๊ฒฐ๊ณผ ํ์ฑ ๋๊ตฌ (์ทจ์ฝ์ ํธ๋ฆฌ์์ง ์์ด์ ํธ๋ก ํ์ฅ)
|
|
76
|
+
|
|
77
|
+
## ๋ฐ์ดํฐ ์ถ์ฒ
|
|
78
|
+
|
|
79
|
+
- [NVD](https://nvd.nist.gov/) โ This product uses the NVD API but is not endorsed or certified by the NVD.
|
|
80
|
+
- [OSV](https://osv.dev/)
|
|
81
|
+
- [FIRST EPSS](https://www.first.org/epss/)
|
|
82
|
+
- [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
|
|
83
|
+
|
|
84
|
+
์ด ๋๊ตฌ์ ๊ฒฐ๊ณผ๋ ํจ์น ์ฐ์ ์์๋ฅผ ํ๋จํ๋ ๋ฐ ์ฐธ๊ณ ํ๋ ์๋ฃ์
๋๋ค. ์ค์ ์กฐ์น๋ ๊ฐ ํ๊ฒฝ์ ๋ง๊ฒ ๊ฒํ ํ ๋ค ๊ฒฐ์ ํ์ธ์.
|
|
85
|
+
|
|
86
|
+
## ๋ผ์ด์ ์ค
|
|
87
|
+
|
|
88
|
+
MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "secintel-mcp"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "MCP server for public vulnerability intelligence (NVD, OSV, FIRST EPSS, CISA KEV) with CVE patch prioritization"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
requires-python = ">=3.11"
|
|
9
|
+
keywords = [
|
|
10
|
+
"mcp",
|
|
11
|
+
"security",
|
|
12
|
+
"cve",
|
|
13
|
+
"vulnerability",
|
|
14
|
+
"epss",
|
|
15
|
+
"kev",
|
|
16
|
+
"nvd",
|
|
17
|
+
"osv",
|
|
18
|
+
]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Topic :: Security",
|
|
23
|
+
]
|
|
24
|
+
dependencies = [
|
|
25
|
+
"httpx>=0.28.1",
|
|
26
|
+
"mcp>=2.3.0",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[project.authors]]
|
|
30
|
+
name = "Changhyun Kim"
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
secintel-mcp = "secintel_mcp.server:main"
|
|
34
|
+
|
|
35
|
+
[build-system]
|
|
36
|
+
requires = ["uv_build>=0.12.24,<0.13.0"]
|
|
37
|
+
build-backend = "uv_build"
|
|
38
|
+
|
|
39
|
+
[dependency-groups]
|
|
40
|
+
dev = [
|
|
41
|
+
"pytest>=9.1.1",
|
|
42
|
+
"ruff>=0.17.0",
|
|
43
|
+
]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "secintel-mcp"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "MCP server for public vulnerability intelligence (NVD, OSV, FIRST EPSS, CISA KEV) with CVE patch prioritization"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "Changhyun Kim" }]
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
requires-python = ">=3.11"
|
|
10
|
+
keywords = ["mcp", "security", "cve", "vulnerability", "epss", "kev", "nvd", "osv"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
13
|
+
"Programming Language :: Python :: 3",
|
|
14
|
+
"Topic :: Security",
|
|
15
|
+
]
|
|
16
|
+
dependencies = [
|
|
17
|
+
"httpx>=0.28.1",
|
|
18
|
+
"mcp>=2.3.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
secintel-mcp = "secintel_mcp.server:main"
|
|
23
|
+
|
|
24
|
+
[build-system]
|
|
25
|
+
requires = ["uv_build>=0.12.24,<0.13.0"]
|
|
26
|
+
build-backend = "uv_build"
|
|
27
|
+
|
|
28
|
+
[dependency-groups]
|
|
29
|
+
dev = [
|
|
30
|
+
"pytest>=9.1.1",
|
|
31
|
+
"ruff>=0.17.0",
|
|
32
|
+
]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""secintel-mcp ์๋ฒ ์ง์
์ ."""
|
|
2
|
+
|
|
3
|
+
from mcp.server.mcpserver import MCPServer
|
|
4
|
+
from mcp.types import ToolAnnotations
|
|
5
|
+
|
|
6
|
+
from secintel_mcp import __version__
|
|
7
|
+
|
|
8
|
+
mcp = MCPServer(
|
|
9
|
+
name="secintel-mcp",
|
|
10
|
+
version=__version__,
|
|
11
|
+
instructions=(
|
|
12
|
+
"๊ณต๊ฐ ์ทจ์ฝ์ ์ธํ
๋ฆฌ์ ์ค(NVD, OSV, FIRST EPSS, CISA KEV)๋ฅผ ์กฐํํ๊ณ "
|
|
13
|
+
"CVE ํจ์น ์ฐ์ ์์๋ฅผ ํ๋จ ๊ทผ๊ฑฐ์ ํจ๊ป ๋ฐํํ๋ค."
|
|
14
|
+
),
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
READ_ONLY = ToolAnnotations(readOnlyHint=True, openWorldHint=False)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@mcp.tool(annotations=READ_ONLY)
|
|
21
|
+
def ping() -> str:
|
|
22
|
+
"""์๋ฒ ์ฐ๊ฒฐ ์ํ๋ฅผ ํ์ธํ๋ค. ์ธ๋ถ API๋ ํธ์ถํ์ง ์๋๋ค."""
|
|
23
|
+
return f"pong (secintel-mcp {__version__})"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def main() -> None:
|
|
27
|
+
mcp.run() # stdio
|