mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-25 22:59:56 +02:00
chore: delete MCP server and client (#308)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
import pytest
|
||||
|
||||
from agentic_security.mcp.client import run
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_mcp_client_lists_agentic_security_tools():
|
||||
"""Test that the MCP client can discover the server tools."""
|
||||
prompts, resources, tools = await run()
|
||||
tool_names = {tool.name for tool in tools.tools}
|
||||
|
||||
assert prompts is not None
|
||||
assert resources is not None
|
||||
assert {
|
||||
"verify_llm",
|
||||
"start_scan",
|
||||
"stop_scan",
|
||||
"get_data_config",
|
||||
"get_spec_templates",
|
||||
}.issubset(tool_names)
|
||||
Reference in New Issue
Block a user