This commit is contained in:
Alexander Myasoedov
2026-06-03 15:05:59 +03:00
parent 67cedfb116
commit a193ef9c2c
2 changed files with 50 additions and 14 deletions
Regular → Executable
+3 -2
View File
@@ -18,7 +18,6 @@ from typing import Any
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
NO_ARGUMENT_TOOLS = {"get_data_config", "get_spec_templates", "stop_scan"}
@@ -56,7 +55,9 @@ async def run_client(agentic_security_url: str | None, call_tool: str | None) ->
print("Available Agentic Security MCP tools:")
for tool in tools.tools:
description_lines = (tool.description or "").strip().splitlines()
description = description_lines[0] if description_lines else "No description"
description = (
description_lines[0] if description_lines else "No description"
)
print(f"- {tool.name}: {description}")
if not call_tool: