Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dot-project-spec-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b8ca7eb0c2a5e181806bdcfd5181616295538cbc04ea3ac268be7a38f9eb2f20
d8ca8361c0aff434e9d7288851717f88f149785419ca062a520cdd506ae6b27e
11 changes: 7 additions & 4 deletions tests/integration/test_mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,17 @@ async def test_server_starts_and_lists_tools(self):
tools_result = await session.list_tools()
tool_names = [t.name for t in tools_result.tools]

# Verify all 15 expected tools are present
# Verify all 18 expected tools are present
expected_tools = [
# Audit
"audit_openssf_baseline",
"list_available_checks",
"audit_org",
# Configuration
"get_project_config",
"init_project_config",
"confirm_project_context",
"get_pending_context",
# Threat Model & Attestation
"generate_threat_model",
"generate_attestation",
Expand All @@ -89,14 +91,15 @@ async def test_server_starts_and_lists_tools(self):
"commit_remediation_changes",
"create_remediation_pr",
"get_remediation_status",
# Test Repository
# Internal/Organization
"list_org_repos",
"create_test_repository",
]
for tool in expected_tools:
assert tool in tool_names, f"Missing tool: {tool}"

# Should have exactly 15 tools
assert len(tool_names) == 15, f"Expected 15 tools, got {len(tool_names)}: {tool_names}"
# Should have exactly 18 tools
assert len(tool_names) == 18, f"Expected 18 tools, got {len(tool_names)}: {tool_names}"

@pytest.mark.asyncio
async def test_list_available_checks(self):
Expand Down