Skip to main content
Glama
mako10k

Web Proxy MCP Server

by mako10k

proxy_remove_target

Remove a domain from proxy monitoring to stop tracking its traffic and analysis in the Web Proxy MCP Server.

Instructions

Remove a target domain from proxy monitoring

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to remove from monitoring

Implementation Reference

  • Schema definition for proxy_remove_target tool, specifying input requirements (domain string) and description.
    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"]
      }
    },
  • MCP tool handler for proxy_remove_target: validates args, calls targetManager.removeTarget(domain), and returns formatted response.
    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}`
        }]
      };
  • Core logic implementation: removes target domain from internal Map storage and updates PAC file if removed.
    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