MCPcopy Create free account
hub / github.com/GH05TCREW/MetasploitMCP / tool

Method tool

tests/test_tools_integration.py:28–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 pass
27
28 def tool(self):
29 # Return a decorator that just returns the original function
30 def decorator(func):
31 return func
32 return decorator
33
34# Mock the MCP modules with our custom FastMCP
35mcp_server_fastmcp = Mock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected