Delete scripts/run_mcp_chatbot.py
Browse files- scripts/run_mcp_chatbot.py +0 -28
scripts/run_mcp_chatbot.py
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
"""MCP chatbot runner with vulnerability search tools."""
|
2 |
-
|
3 |
-
from gradio_mcp import GradioMCP
|
4 |
-
from scripts.tools_mcp import (
|
5 |
-
search_cvedb,
|
6 |
-
search_nvd,
|
7 |
-
search_kevin,
|
8 |
-
search_epss,
|
9 |
-
generate_vulnerability_report
|
10 |
-
)
|
11 |
-
|
12 |
-
def main():
|
13 |
-
"""Main function to run the MCP chatbot."""
|
14 |
-
# Initialize the Gradio MCP interface
|
15 |
-
mcp = GradioMCP()
|
16 |
-
|
17 |
-
# Register tools
|
18 |
-
mcp.register_tool(search_cvedb)
|
19 |
-
mcp.register_tool(search_nvd)
|
20 |
-
mcp.register_tool(search_kevin)
|
21 |
-
mcp.register_tool(search_epss)
|
22 |
-
mcp.register_tool(generate_vulnerability_report)
|
23 |
-
|
24 |
-
# Launch the interface
|
25 |
-
mcp.launch()
|
26 |
-
|
27 |
-
if __name__ == "__main__":
|
28 |
-
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|