# enable_hotlink_protection

A write tool on the cPanel MCP Server MCP server.

Agent View of the PolicyLayer registry record for `enable_hotlink_protection`. HTML page: https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/enable-hotlink-protection

## Facts

- Tool: `enable_hotlink_protection`
- Server: cPanel MCP Server (`0xhayd3n/cpanel-mcp-server`) — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server.md
- Homepage: https://github.com/0xHayd3n/cPanel-MCP-Server
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "enable_hotlink_protection",
    "arguments": {}
  }
}
```

## Why enable_hotlink_protection is rated Medium

Enabling hotlink protection modifies server configuration to prevent direct linking of images/content from external sites. This is a Write operation because it creates or modifies settings reversibly—it can be disabled later. It does not execute arbitrary commands (Execute), permanently delete data (Destructive), or move money (Financial).

From the tool's own definition: "Tool name 'enable_hotlink_protection' and description 'Enable hotlink protection' indicate a configuration change that modifies server settings (hotlink protection rules)."

## Use case

AI agents use enable_hotlink_protection to create or update resources in cPanel MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your cPanel MCP Server environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches cPanel MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "enable_hotlink_protection": {
      "limits": [
        {
          "counter": "enable_hotlink_protection_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on cPanel MCP Server (163)

- `clear_spam_box` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/clear-spam-box.md
- `deauthorize_ssh_key` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/deauthorize-ssh-key.md
- `delete_addon_domain` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-addon-domain.md
- `delete_autoresponder` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-autoresponder.md
- `delete_cron_job` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-cron-job.md
- `delete_dns_record` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-dns-record.md
- `delete_email_account` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-email-account.md
- `delete_email_filter` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-email-filter.md
- `delete_email_forwarder` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-email-forwarder.md
- `delete_file` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-file.md
- `delete_ftp_account` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-ftp-account.md
- `delete_git_repo` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-git-repo.md
- `delete_mysql_database` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-mysql-database.md
- `delete_mysql_user` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-mysql-user.md
- `delete_parked_domain` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-parked-domain.md
- `delete_postgresql_database` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-postgresql-database.md
- `delete_postgresql_user` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-postgresql-user.md
- `delete_redirect` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-redirect.md
- `delete_ssh_key` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-ssh-key.md
- `delete_ssl_certificate` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-ssl-certificate.md
- `delete_subdomain` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/delete-subdomain.md
- `disinfect_files` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/disinfect-files.md
- `kill_ftp_session` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/kill-ftp-session.md
- `remove_2fa` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/remove-2fa.md
- `revoke_api_token` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/revoke-api-token.md
- `revoke_mysql_privileges` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/revoke-mysql-privileges.md
- `revoke_postgresql_privileges` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/revoke-postgresql-privileges.md
- `unregister_passenger_app` — Destructive — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/unregister-passenger-app.md
- `deploy_git_repo` — Execute — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/deploy-git-repo.md
- `disable_modsecurity` — Execute — https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server/disable-modsecurity.md
- …and 133 more: https://policylayer.com/tools/0xhayd3n-cpanel-mcp-server.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xhayd3n-cpanel-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xhayd3n-cpanel-mcp-server
