proxy_list_targets
List and filter target domains by status to monitor proxy traffic and analyze web activity through the Web Proxy MCP Server.
Instructions
List all target domains and their status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter targets by status | all |
Implementation Reference
- src/tools/tool-handlers.js:184-195 (handler)The handler case in _handleTargetTool method that implements proxy_list_targets by calling targetManager.listTargets and formatting the response as text content.case 'proxy_list_targets': const targets = this.targetManager.listTargets(args.status); const targetList = targets.map(t => `• ${t.domain} (${t.status}) - ${t.description || 'No description'}` ).join('\n'); return { content: [{ type: "text", text: `📋 Proxy Targets (${targets.length})\n\n${targetList || 'No targets configured'}\n\nStats: ${JSON.stringify(this.targetManager.getStats(), null, 2)}` }] };
- src/tools/tool-definitions.js:57-71 (schema)The tool definition including name, description, and input schema for proxy_list_targets.proxy_list_targets: { name: "proxy_list_targets", description: "List all target domains and their status", inputSchema: { type: "object", properties: { status: { type: "string", enum: ["all", "active", "inactive"], description: "Filter targets by status", default: "all" } } } },