Skip to main content
Glama
mako10k

Web Proxy MCP Server

by mako10k

proxy_remove_target

Remove a specified domain from automated proxy monitoring to stop tracking and analyzing its HTTP/HTTPS traffic, ensuring targeted control over monitored data.

Instructions

Remove a target domain from proxy monitoring

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to remove from monitoring

Implementation Reference

  • The handler case for 'proxy_remove_target' in _handleTargetTool method. Calls targetManager.removeTarget(args.domain) and returns a formatted success/error message with stats.
    case 'proxy_remove_target': const removed = this.targetManager.removeTarget(args.domain); return { content: [{ type: "text", text: `Target removed: ${args.domain}\nStatus: ${removed ? 'success' : 'not found'}\nRemaining domains: ${this.targetManager.getStats().enabled}` }] };
  • Input schema definition for the proxy_remove_target tool, requiring a 'domain' string parameter.
    proxy_remove_target: { name: "proxy_remove_target", description: "Remove a target domain from proxy monitoring", inputSchema: { type: "object", properties: { domain: { type: "string", description: "Domain to remove from monitoring" } }, required: ["domain"] } },
  • Core implementation of target removal in TargetManager class: deletes the domain from the internal Map and updates the PAC file if successful.
    removeTarget(domain) { if (!domain) { throw new Error('Domain is required'); } const removed = this.targets.delete(domain.toLowerCase()); if (removed) { this._updatePacFile(); } return removed; }

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/mako10k/mcp-web-proxy'

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