check_options
Check available configuration options for a selected penetration testing module to configure security assessments properly.
Instructions
After selecting the right module call this to check what options that module presents
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prot": "<prot>",
"module": "<module>"
},
"name": "check_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prot | Yes | ||
| module | Yes |
Implementation Reference
- src/pentestmcp/server.py:324-324 (registration)Registration of the 'check_options' tool using the @mcp.tool decorator, specifying name and description.
@mcp.tool(name='check_options',description='After selecting the right module call this to check what options that module presents') - src/pentestmcp/server.py:325-326 (handler)Handler function that executes the tool logic by running the netexec command to display options for the given protocol and module.
def check_options(prot:str,module:str): return run_command(["netexec",prot,'-M',module,'--options'])