Skip to main content
Glama

cancelScan

Stop active scans by providing the scan ID. Integrates with Pentest MCP to manage and halt penetration testing processes effectively.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scanIdYesThe ID of the scan to cancel

Implementation Reference

  • The handler function for cancelling an ongoing Nmap scan. It kills the child process running nmap and emits an 'error' event indicating the scan was cancelled.
    cancelScan() { this.killChild(); this.emit('error', "Scan cancelled"); }

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DMontgomery40/pentest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server