Skip to main content
Glama

delete_target

Remove a specified target using its unique ID with this tool from the intruder-mcp server. Simplifies target management and cleanup.

Instructions

Delete a target. Args: target_id: The ID of the target to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_idYes

Implementation Reference

  • The main handler function for the MCP 'delete_target' tool. It is decorated with @mcp.tool() which serves as both the handler implementation and registration. Calls the api helper to perform the deletion and returns a confirmation message.
    @mcp.tool() async def delete_target(target_id: str) -> str: """ Delete a target. Args: target_id: The ID of the target to delete """ api.delete_target(target_id) return f"Deleted target {target_id}"
  • Supporting helper in the API client that executes the actual HTTP DELETE request to remove the target from the Intruder API.
    def delete_target(self, target_id: str) -> None: self.client.delete(f"{self.base_url}/targets/{target_id}/")

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/intruder-io/intruder-mcp'

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