Skip to content

Add policy enforcement for device control and automation tools #966

Description

@L1AD

This server exposes 86+ tools for controlling Home Assistant -- lights, locks, thermostats, automations, and dashboards:

  • call_service -- triggers any Home Assistant service (unlock doors, disable alarms, turn off cameras)
  • create_automation -- creates new automated triggers
  • update_dashboard -- modifies UI dashboards

An agent with access to call_service can control physical devices in your home. The security implications of an agent unlocking a door or disabling an alarm system are significant.

Suggestion: Consider documenting support for PolicyLayer/Intercept, an open-source MCP proxy that enforces policies on tool calls before execution.

Example policy:

version: "1"
default: allow

tools:
  call_service:
    rules:
      - action: require_approval

  create_automation:
    rules:
      - action: require_approval

  update_dashboard:
    rules:
      - rate_limit: 5/hour

One line to set up: npx -y @policylayer/intercept init

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestissue-analyzedDeep Claude analysis completepriority: mediumMedium priority featureready-to-implementIssue is fully specified and ready for implementationtriaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions