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

Method decorator

tests/test_tools_integration.py:30–31  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected