Critical Risk →

kokoro_uninstall

Uninstall kokoro-fastapi and optionally remove models and data. This tool will: 1. Stop any running Kokoro service 2. Remove service configurations (launchd/systemd) 3. Remove the kokoro-fastapi installation 4. Optionally remove downloaded Kokoro models 5. Optionally remove all Kokoro-related dat...

How to control kokoro_uninstall ↓

What kokoro_uninstall does on Voice Mode

AI agents call kokoro_uninstall to permanently remove resources in Voice Mode — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Critical Risk

Why kokoro_uninstall needs a policy

This tool performs irreversible deletion and removal operations. It uninstalls software, removes configurations, deletes downloaded models, and can purge all associated data. While the model removal and data deletion are optional parameters, the core action of uninstalling the service and removing configurations is inherently destructive and cannot be undone without reinstalling.

From the tool's definition Uninstall kokoro-fastapi and optionally remove models and data. Tool will stop services, remove service configurations, remove the installation, and optionally remove downloaded models and all Kokoro-related data including logs and cache.

Documented attack patterns abuse exactly the kind of access kokoro_uninstall gives an agent:

How to control kokoro_uninstall

PolicyLayer is an MCP gateway — it sits between your AI agents and Voice Mode, and nothing reaches the server without passing your rules. This is the rule we recommend for kokoro_uninstall:

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "kokoro_uninstall"
  ]
}

kokoro_uninstall disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register Voice Mode — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about kokoro_uninstall

What does the kokoro_uninstall tool do? +

Uninstall kokoro-fastapi and optionally remove models and data. This tool will: 1. Stop any running Kokoro service 2. Remove service configurations (launchd/systemd) 3. Remove the kokoro-fastapi installation 4. Optionally remove downloaded Kokoro models 5. Optionally remove all Kokoro-related data Args: remove_models: Also remove downloaded Kokoro models (default: False) remove_all_data: Remove all Kokoro data including logs and cache (default: False) Returns: Dictionary with uninstall status and details. It is categorised as a Destructive tool in the Voice Mode MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on kokoro_uninstall? +

Register the Voice Mode MCP server in PolicyLayer and add a rule for kokoro_uninstall: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Voice Mode. Nothing to install.

What risk level is kokoro_uninstall? +

kokoro_uninstall is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit kokoro_uninstall? +

Yes. Add a rate_limit block to the kokoro_uninstall rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block kokoro_uninstall completely? +

Set action: deny in the PolicyLayer policy for kokoro_uninstall. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides kokoro_uninstall? +

kokoro_uninstall is provided by the Voice Mode MCP server (mbailey/voicemode). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Voice Mode tool call.

Start from Voice Mode, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

25 Voice Mode tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.