MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / is_server_mode

Method is_server_mode

server_capabilities.py:258–260  ·  view source on GitHub ↗

Check if running in server mode

(self)

Source from the content-addressed store, hash-verified

256 def _check_tool_availability(self):
257 """Check which security tools are available"""
258 all_tools = {**self.TRAFFIC_ANALYSIS_TOOLS, **self.VULN_ASSESSMENT_TOOLS}
259
260 for tool_name in all_tools:
261 self.capabilities.available_tools[tool_name] = shutil.which(tool_name) is not None
262
263 def _determine_feature_flags(self):

Callers 3

is_availableMethod · 0.80
is_server_modeFunction · 0.80
install_server_toolsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected