{
  "name": "PromptMask by Node24Lab",
  "description": "Reversible 100% browser-local PII, log, and secret anonymizer for LLM prompts with 1-click response restoration.",
  "version": "1.0.0",
  "spec": "https://webmachinelearning.github.io/webmcp/",
  "api": "navigator.modelContext",
  "transport": "browser_imperative",
  "tools": [
    {
      "name": "mask_sensitive_text",
      "description": "Mask PII, secrets, IPs, hosts, and custom terms into reversible placeholders locally.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": { "type": "string" },
          "customTerms": { "type": "string" },
          "maskAllDomains": { "type": "boolean" }
        },
        "required": ["text"]
      }
    },
    {
      "name": "restore_llm_response",
      "description": "Restore <TYPE_N> placeholders in an LLM response back to original local entities.",
      "inputSchema": {
        "type": "object",
        "properties": { "responseText": { "type": "string" } },
        "required": ["responseText"]
      }
    }
  ]
}
