MCP ScannerCustom audit
All servers

voska/hass-mcp

Control and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.

Publishervoska community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 353Forks 55Last push 2026-11-02
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence94%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 6 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 29 tools, 7 prompts, 5 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read environment variablesoften where API keys are kept
call_service_tool, domain_summary_tool, entity_action, get_all_entities_resource, get_entities_by_area, get_entity and 15 more
21 of 41

No tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (41: 29 tools, 7 prompts, 5 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

automation_health_checkprompt Review all automations, find conflicts, redundancies, or improvement opportunities
Review all automations, find conflicts, redundancies, or improvement opportunities
    
    This prompt helps users perform a comprehensive review of their Home Assistant
    automations to identify issues, optimize performance, and improve reliability.
    
    Returns:
        A list of messages for the interactive conversation
create_automationprompt Guide a user through creating a Home Assistant automation
Guide a user through creating a Home Assistant automation
    
    This prompt provides a step-by-step guided conversation for creating
    a new automation in Home Assistant based on the specified trigger type.
    
    Args:
        trigger_type: The type of trigger for the automation (state, time, etc.)
        entity_id: Optional entity to use as the trigger source
    
    Returns:
        A list of messages for the interactive conversation
dashboard_layout_generatorprompt Create optimized dashboards based on user preferences and usage patterns
Create optimized dashboards based on user preferences and usage patterns
    
    This prompt helps users design effective, user-friendly dashboards
    for their Home Assistant instance based on their specific needs.
    
    Returns:
        A list of messages for the interactive conversation
debug_automationprompt Help a user troubleshoot an automation that isn't working
Help a user troubleshoot an automation that isn't working
    
    This prompt guides the user through the process of diagnosing and fixing
    issues with an existing Home Assistant automation.
    
    Args:
        automation_id: The entity ID of the automation to troubleshoot
    
    Returns:
        A list of messages for the interactive conversation
entity_naming_consistencyprompt Audit entity names and suggest standardization improvements
Audit entity names and suggest standardization improvements
    
    This prompt helps users analyze their entity naming conventions and create
    a more consistent, organized naming system across their Home Assistant instance.
    
    Returns:
        A list of messages for the interactive conversation
routine_optimizerprompt Analyze usage patterns and suggest optimized routines based on actual behavior
Analyze usage patterns and suggest optimized routines based on actual behavior
    
    This prompt helps users analyze their Home Assistant usage patterns and create
    more efficient routines, automations, and schedules based on real usage data.
    
    Returns:
        A list of messages for the interactive conversation
troubleshoot_entityprompt Guide a user through troubleshooting issues with an entity
Guide a user through troubleshooting issues with an entity
    
    This prompt helps diagnose and resolve problems with a specific
    Home Assistant entity that isn't functioning correctly.
    
    Args:
        entity_id: The entity ID having issues
    
    Returns:
        A list of messages for the interactive conversation
get_all_entities_resourceresource Get a list of all Home Assistant entities as a resourceEnv vars
Get a list of all Home Assistant entities as a resource
    
    This endpoint returns a complete list of all entities in Home Assistant, 
    organized by domain. For token efficiency with large installations,
    consider using domain-specific endpoints or the domain summary instead.
    
    Returns:
        A markdown formatted string listing all entities grouped by domain
        
    Examples:
        ```
        # Get all entities
        entities = mcp.get_resource("hass://entities")
        ```
        
    Best Practices:
        - WARNING: This endpoint can return large amounts of data with many entities
        - Prefer domain-filtered endpoints: hass://entities/domain/{domain}
        - For overview information, use domain summaries instead of full entity lists
        - Consider starting with a search if looking for specific entities
get_entity_resourceresource Get the state of a Home Assistant entity as a resourceEnv vars
Get the state of a Home Assistant entity as a resource
    
    This endpoint provides a standard view with common entity information.
    For comprehensive attribute details, use the /detailed endpoint.
    
    Args:
        entity_id: The entity ID to get information for
get_entity_resource_detailedresource Get detailed information about a Home Assistant entity as a resourceEnv vars
Get detailed information about a Home Assistant entity as a resource
    
    Use this detailed view selectively when you need to:
    - Understand all available attributes of an entity
    - Debug entity behavior or capabilities
    - See comprehensive state information
    
    For routine operations where you only need basic state information,
    prefer the standard entity endpoint or specify fields in the get_entity tool.
    
    Args:
        entity_id: The entity ID to get information for
list_states_by_domain_resourceresource Get a list of entities for a specific domain as a resourceEnv vars
Get a list of entities for a specific domain as a resource
    
    This endpoint provides all entities of a specific type (domain). It's much more
    token-efficient than retrieving all entities when you only need entities of a 
    specific type.
    
    Args:
        domain: The domain to filter by (e.g., 'light', 'switch', 'sensor')
    
    Returns:
        A markdown formatted string with all entities in the specified domain
        
    Examples:
        ```
        # Get all lights
        lights = mcp.get_resource("hass://entities/domain/light")
        
        # Get all climate devices
        climate = mcp.get_resource("hass://entities/domain/climate")
        
        # Get all sensors
        sensors = mcp.get_resource("hass://entities/domain/sensor")
        ```
        
    Best Practices:
        - Use this endpoint when you need detailed information about all entities of a specific type
        - For a more concise overview, use the domain summary endpoint: hass://entities/domain/{domain}/summary
        - For sensors and other high-count domains, consider using a search to further filter results
search_entities_resource_with_limitresource Search for entities matching a query string with a specified result limitEnv vars
Search for entities matching a query string with a specified result limit
    
    This endpoint extends the basic search functionality by allowing you to specify
    a custom limit on the number of results returned. It's useful for both broader
    searches (larger limit) and more focused searches (smaller limit).
    
    Args:
        query: The search query to match against entity IDs, names, and attributes
        limit: Maximum number of entities to return (as a string, will be converted to int)
    
    Returns:
        A markdown formatted string with search results and a JSON summary
        
    Examples:
        ```
        # Search with a larger limit (up to 50 results)
        results = mcp.get_resource("hass://search/sensor/50")
        
        # Search with a smaller limit for focused results
        results = mcp.get_resource("hass://search/kitchen/5")
        ```
        
    Best Practices:
        - Use smaller limits (5-10) for focused searches where you need just a few matches
        - Use larger limits (30-50) for broader searches when you need more comprehensive results
        - Balance larger limits against token usage - more results means more tokens
        - Consider domain-specific searches for better precision: "light kitchen" instead of just "kitchen"
add_cardtool Add a card to a dashboard view (live)
Add a card to a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view — an integer index, or a string matching the view's
              `path` or `title`.
        card: The card config dict (must include a string `type`), e.g.
              {"type": "markdown", "content": "Hello"}.
        position: Insert index within the target card list (default: append).
        section: For a "sections"-type view, which section to add into — an
                 index, section title, or heading text. REQUIRED for sections
                 views (use list_view_sections to see them); omit for classic
                 views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
add_viewtool Add a new view to a dashboard (live)
Add a new view to a dashboard (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view_config: The view config dict, e.g. {"title": "Garage", "path": "garage"}.
        position: Insert index among views (default: append).
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
call_service_tooltool Call any Home Assistant service (low-level API access)Env vars
Call any Home Assistant service (low-level API access)
    
    Args:
        domain: The domain of the service (e.g., 'light', 'switch', 'automation')
        service: The service to call (e.g., 'turn_on', 'turn_off', 'toggle')
        data: Optional data to pass to the service (e.g., {'entity_id': 'light.living_room'})
    
    Returns:
        A dictionary with success status, the domain/service called, and the
        list of affected entity states returned by Home Assistant. Failed calls
        also include an error message.

    Examples:
        domain='light', service='turn_on', data={'entity_id': 'light.x', 'brightness': 255}
        domain='automation', service='reload'
        domain='fan', service='set_percentage', data={'entity_id': 'fan.x', 'percentage': 50}
domain_summary_tooltool Get a summary of entities in a specific domainEnv vars
Get a summary of entities in a specific domain
    
    Args:
        domain: The domain to summarize (e.g., 'light', 'switch', 'sensor')
        example_limit: Maximum number of examples to include for each state
    
    Returns:
        A dictionary containing:
        - total_count: Number of entities in the domain
        - state_distribution: Count of entities in each state
        - examples: Sample entities for each state
        - common_attributes: Most frequently occurring attributes
        
    Examples:
        domain="light" - get light summary
        domain="climate", example_limit=5 - climate summary with more examples
    Best Practices:
        - Use this before retrieving all entities in a domain to understand what's available
entity_actiontool Perform an action on a Home Assistant entity (on, off, toggle)Env vars
Perform an action on a Home Assistant entity (on, off, toggle)
    
    Args:
        entity_id: The entity ID to control (e.g. 'light.living_room')
        action: The action to perform ('on', 'off', 'toggle')
        params: Optional dictionary of additional parameters for the service call
    
    Returns:
        The response from Home Assistant
    
    Examples:
        entity_id="light.living_room", action="on", params={"brightness": 255}
        entity_id="switch.garden_lights", action="off"
        entity_id="climate.living_room", action="on", params={"temperature": 22.5}
    
    Domain-Specific Parameters:
        - Lights: brightness (0-255), color_temp, rgb_color, transition, effect
        - Covers: position (0-100), tilt_position
        - Climate: temperature, target_temp_high, target_temp_low, hvac_mode
        - Media players: source, volume_level (0-1)
get_dashboard_configtool Get a dashboard's full configuration
Get a dashboard's full configuration

    Args:
        url_path: The dashboard's URL path (e.g. "my-dash"). Omit or pass None
                  for the default "Overview" dashboard.

    Returns:
        The dashboard config dict (a top-level `views` list of cards). If the
        dashboard has no stored config yet, returns an empty `{"views": []}`
        scaffold with a `note`.
get_entities_by_areatool Get all entities assigned to a specific Home Assistant area (room).Env vars
Get all entities assigned to a specific Home Assistant area (room).

    Area lookup is case-insensitive and matches the area's name as configured
    in Home Assistant (e.g., "Kitchen", "Living Room"). Entities inherit their
    area from their parent device when no area is set directly, matching HA's
    own resolution behavior.

    Args:
        area: Name of the area to filter by (case-insensitive)
        domain: Optional domain to further filter results (e.g., 'light')
        lean: If True (default), returns token-efficient entity records

    Returns:
        A dictionary containing:
        - area: The matched area name (as canonicalized by HA)
        - count: Number of matching entities
        - entities: List of entity records with their state and area

    Examples:
        get_entities_by_area(area="Kitchen") - everything in the kitchen
        get_entities_by_area(area="Living Room", domain="light") - lights only
get_entitytool Get the state of a Home Assistant entity with optional field filteringEnv vars
Get the state of a Home Assistant entity with optional field filtering
    
    Args:
        entity_id: The entity ID to get (e.g. 'light.living_room')
        fields: Optional list of fields to include (e.g. ['state', 'attr.brightness'])
        detailed: If True, returns all entity fields without filtering
                
    Examples:
        entity_id="light.living_room" - basic state check
        entity_id="light.living_room", fields=["state", "attr.brightness"] - specific fields
        entity_id="light.living_room", detailed=True - all details
get_error_logtool Get the Home Assistant error log for troubleshooting.Env vars
Get the Home Assistant error log for troubleshooting.

    All filters are optional and combine (AND semantics). Stats
    (error_count, warning_count, integration_mentions, total_lines) are
    computed over the filtered output so they match what's returned.

    Args:
        level: Filter to lines containing this log level — ERROR, WARNING,
               INFO, or DEBUG. Case-insensitive.
        integration: Filter to lines mentioning this integration. Matches
                     `[name]` or `[homeassistant.components.name]`.
                     Case-insensitive.
        search_term: Case-insensitive substring filter applied per line.
                     Useful for entity IDs, exception names, etc.
        lines: Return only the most recent N lines (applied after other
               filters). Useful when you only care about the tail.

    Returns:
        A dictionary containing:
        - log_text: The (possibly filtered) error log text
        - error_count: Number of ERROR entries in the filtered output
        - warning_count: Number of WARNING entries in the filtered output
        - integration_mentions: Map of integration names to mention counts
        - total_lines: Number of lines in the filtered output
        - filters_applied: Map of which filter args were supplied
        - error: Error message if retrieval failed

    Examples:
        get_error_log()                                 # full log
        get_error_log(level="ERROR")                    # errors only
        get_error_log(integration="zwave_js")           # one integration
        get_error_log(search_term="light.kitchen")      # specific entity
        get_error_log(level="ERROR", lines=50)          # last 50 errors

    Best Practices:
        - Filter on the server side (here) rather than pulling the full
          log into Claude's context — saves tokens on noisy logs.
        - Combine `integration` + `level="ERROR"` to triage a single
          integration that's misbehaving.
        - Use `lines` to bound output when scanning a long-running HA.
get_historytool Get the history of an entity's state changesEnv vars
Get the history of an entity's state changes
    
    Args:
        entity_id: The entity ID to get history for
        hours: Number of hours of history to retrieve (default: 24)
    
    Returns:
        A dictionary containing:
        - entity_id: The entity ID requested
        - states: List of state objects with timestamps
        - count: Number of state changes found
        - first_changed: Timestamp of earliest state change
        - last_changed: Timestamp of most recent state change
        
    Examples:
        entity_id="light.living_room" - get 24h history
        entity_id="sensor.temperature", hours=168 - get 7 day history
    Best Practices:
        - Keep hours reasonable (24-72) for token efficiency
        - Use for entities with discrete state changes rather than continuously changing sensors
        - Consider the state distribution rather than every individual state
get_history_rangetool Get raw state-change history for an entity over a date/time range.Env vars
Get raw state-change history for an entity over a date/time range.

    Like `get_history`, but takes an explicit window instead of "N hours
    from now". Useful for inspecting what happened on a specific day or
    correlating with an external event.

    Args:
        entity_id: The entity to fetch history for.
        start_time: ISO-8601 start (e.g. `2026-05-15` or
                    `2026-05-15T08:00:00Z`). Treated as UTC if no offset.
        end_time: ISO-8601 end. Defaults to now (UTC).

    Returns:
        Same shape as `get_history`: `entity_id`, `states`, `count`,
        `first_changed`, `last_changed`.

    Examples:
        get_history_range("light.kitchen", "2026-05-15")
        get_history_range("sensor.power", "2026-05-15T00:00:00Z", "2026-05-16T00:00:00Z")

    Best Practices:
        - Bound the window — wider ranges return more data and more tokens.
        - For aggregated long-term data, prefer `get_statistics_range`.
get_statisticstool Get long-term aggregated statistics for an entity over the last N hours.Env vars
Get long-term aggregated statistics for an entity over the last N hours.

    Uses HA's recorder statistics (over WebSocket) — aggregated buckets
    (mean / min / max per period) that survive the short-term retention
    window. Use this instead of `get_history` when:
        - You want data older than the recorder's default 10-day window.
        - You want aggregated values rather than every individual change.
        - The entity is a high-frequency sensor (temperature, power) and
          raw history would be too many tokens.

    Args:
        entity_id: The entity (must have a `state_class` HA records as
                   statistics — `measurement`, `total`, `total_increasing`).
        hours: How far back from now. Defaults to 24.
        period: Bucket size — `5minute`, `hour`, `day`, `week`, `month`.
                Defaults to `hour`.

    Returns:
        `entity_id`, `period`, `start_time`, `end_time`, `statistics`
        (list of `{start, end, mean, min, max, ...}` points).

    Examples:
        get_statistics("sensor.power_usage", hours=168, period="day")
        get_statistics("sensor.temperature", hours=24)
get_statistics_rangetool Get long-term aggregated statistics for an entity over a date/time range.Env vars
Get long-term aggregated statistics for an entity over a date/time range.

    Same data source as `get_statistics`, but with an explicit window —
    useful for "what was my power usage from Jan 1 to Jan 31?" type
    questions. Aggregated bucket data survives the short-term retention
    window, so this works for data months/years old.

    Args:
        entity_id: The entity (must be statistics-tracked).
        start_time: ISO-8601 start (`2026-01-01` or
                    `2026-01-01T00:00:00Z`). UTC if no offset.
        end_time: ISO-8601 end. Defaults to now.
        period: `5minute`, `hour`, `day`, `week`, or `month`.

    Returns:
        `entity_id`, `period`, `start_time`, `end_time`, `statistics`.

    Examples:
        get_statistics_range("sensor.energy", "2026-01-01", "2026-02-01", period="day")
        get_statistics_range("sensor.temperature", "2026-05-01", period="hour")
get_versiontool Get the Home Assistant versionEnv vars
Get the Home Assistant version
    
    Returns:
        A string with the Home Assistant version (e.g., "2025.3.0")
list_automationstool Get a list of all automations from Home AssistantEnv vars
Get a list of all automations from Home Assistant
    
    This function retrieves all automations configured in Home Assistant,
    including their IDs, entity IDs, state, and display names.
    
    Returns:
        A list of automation dictionaries, each containing id, entity_id, 
        state, and alias (friendly name) fields.
        
    Examples:
        Returns all automation objects with state and friendly names
list_dashboard_backupstool List on-disk backups of a dashboard's config
List on-disk backups of a dashboard's config

    Backups are written automatically before every dashboard write. NOTE: in
    Docker, backups persist only if HASS_MCP_BACKUP_DIR is volume-mounted.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.

    Returns:
        A list of {backup_id, path}, oldest first.
list_dashboardstool List Home Assistant dashboards (Lovelace)
List Home Assistant dashboards (Lovelace)

    Returns:
        A list of dashboards. Each entry has `url_path` (None for the default
        "Overview" dashboard), `title`, and `mode` ("storage" or "yaml"). Only
        "storage"-mode dashboards can be edited via these tools.
list_entitiestool Get a list of Home Assistant entities with optional filteringEnv vars
Get a list of Home Assistant entities with optional filtering
    
    Args:
        domain: Optional domain to filter by (e.g., 'light', 'switch', 'sensor')
        search_query: Optional search term to filter entities by name, id, or attributes
                     (Note: Does not support wildcards. To get all entities, leave this empty)
        limit: Maximum number of entities to return (default: 100)
        fields: Optional list of specific fields to include in each entity
        detailed: If True, returns all entity fields without filtering
    
    Returns:
        A list of entity dictionaries with lean formatting by default
    
    Examples:
        domain="light" - get all lights
        search_query="kitchen", limit=20 - search entities
        domain="sensor", detailed=True - full sensor details
    
    Best Practices:
        - Use lean format (default) for most operations
        - Prefer domain filtering over no filtering
        - For domain overviews, use domain_summary_tool instead of list_entities
        - Only request detailed=True when necessary for full attribute inspection
        - To get all entity types/domains, use list_entities without a domain filter, 
          then extract domains from entity_ids
list_view_sectionstool List the sections of a "sections"-type dashboard view
List the sections of a "sections"-type dashboard view

    Modern Home Assistant views of `type: sections` hold their cards inside
    sections (not a top-level card list). Use this to discover which section
    to target with the card tools' `section` argument.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).

    Returns:
        A list of {index, title, heading, card_count}, one per section. Errors
        if the view is not a sections view.
move_cardtool Reorder a card within a dashboard view (live)
Reorder a card within a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Current index of the card.
        new_index: Destination index within the same card list.
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
remove_cardtool Remove a card from a dashboard view (live)
Remove a card from a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Index of the card to remove within the target card list.
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
remove_viewtool Remove a view from a dashboard (live)
Remove a view from a dashboard (live)

    ⚠️ Removes the view and all its cards.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
restart_hatool Restart Home AssistantEnv vars
Restart Home Assistant
    
    ⚠️ WARNING: Temporarily disrupts all Home Assistant operations
    
    Returns:
        Result of restart operation
restore_dashboardtool Restore a dashboard from a backup (live)
Restore a dashboard from a backup (live)

    Restores the most recent backup unless `backup_id` is given. The current
    config is itself backed up first, so a restore can be undone.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        backup_id: A specific backup id from list_dashboard_backups (default:
                   newest).
        dry_run: Preview without saving.

    Returns:
        Save result plus `restored_from`, or a dry-run preview.
search_entities_tooltool Search for entities matching a query stringEnv vars
Search for entities matching a query string
    
    Args:
        query: The search query to match against entity IDs, names, and attributes.
              (Note: Does not support wildcards. To get all entities, leave this blank or use list_entities tool)
        limit: Maximum number of results to return (default: 20)
    
    Returns:
        A dictionary containing search results and metadata:
        - count: Total number of matching entities found
        - results: List of matching entities with essential information
        - domains: Map of domains with counts (e.g. {"light": 3, "sensor": 2})
        
    Examples:
        query="temperature" - find temperature entities
        query="living room", limit=10 - find living room entities
        query="", limit=500 - list all entity types
set_dashboard_configtool Replace a dashboard's full configuration (low-level write)
Replace a dashboard's full configuration (low-level write)

    ⚠️ WARNING: Overwrites the ENTIRE dashboard and updates every open browser
    live. The prior config is backed up first (use restore_dashboard to undo).
    Requires an admin token; only storage-mode dashboards can be saved.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        config: The complete new config dict (must contain a `views` list).
        dry_run: If True, validate and return the resulting config + a change
                 summary WITHOUT saving.

    Returns:
        On save: {success, url_path, backup_id, summary}. On dry_run:
        {dry_run: True, url_path, summary, config}.
system_overviewtool Get a comprehensive overview of the entire Home Assistant systemEnv vars
Get a comprehensive overview of the entire Home Assistant system
    
    Returns:
        A dictionary containing:
        - total_entities: Total count of all entities
        - domains: Dictionary of domains with their entity counts and state distributions
        - domain_samples: Representative sample entities for each domain (2-3 per domain)
        - domain_attributes: Common attributes for each domain
        - area_distribution: Entities grouped by area (if available)
        
    Examples:
        Returns domain counts, sample entities, and common attributes
    Best Practices:
        - Use this as the first call when exploring an unfamiliar Home Assistant instance
        - Perfect for building context about the structure of the smart home
        - After getting an overview, use domain_summary_tool to dig deeper into specific domains
update_cardtool Replace a card in a dashboard view (live)
Replace a card in a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Index of the card to replace within the target card list.
        card: The new card config dict (must include a string `type`).
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
update_viewtool Update a view's properties — title, path, icon, etc. (live)
Update a view's properties — title, path, icon, etc. (live)

    Cards in the view are preserved unless `changes` includes a `cards` key.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        changes: Dict of view properties to merge in, e.g. {"title": "New Title"}.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.

Text the model reads (41)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

get_version tool
Get the Home Assistant version
    
    Returns:
        A string with the Home Assistant version (e.g., "2025.3.0")
get_entity tool
Get the state of a Home Assistant entity with optional field filtering
    
    Args:
        entity_id: The entity ID to get (e.g. 'light.living_room')
        fields: Optional list of fields to include (e.g. ['state', 'attr.brightness'])
        detailed: If True, returns all entity fields without filtering
                
    Examples:
        entity_id="light.living_room" - basic state check
        entity_id="light.living_room", fields=["state", "attr.brightness"] - specific fields
        entity_id="light.living_room", detailed=True - all details
entity_action tool
Perform an action on a Home Assistant entity (on, off, toggle)
    
    Args:
        entity_id: The entity ID to control (e.g. 'light.living_room')
        action: The action to perform ('on', 'off', 'toggle')
        params: Optional dictionary of additional parameters for the service call
    
    Returns:
        The response from Home Assistant
    
    Examples:
        entity_id="light.living_room", action="on", params={"brightness": 255}
        entity_id="switch.garden_lights", action="off"
        entity_id="climate.living_room", action="on", params={"temperature": 22.5}
    
    Domain-Specific Parameters:
        - Lights: brightness (0-255), color_temp, rgb_color, transition, effect
        - Covers: position (0-100), tilt_position
        - Climate: temperature, target_temp_high, target_temp_low, hvac_mode
        - Media players: source, volume_level (0-1)
list_entities tool
Get a list of Home Assistant entities with optional filtering
    
    Args:
        domain: Optional domain to filter by (e.g., 'light', 'switch', 'sensor')
        search_query: Optional search term to filter entities by name, id, or attributes
                     (Note: Does not support wildcards. To get all entities, leave this empty)
        limit: Maximum number of entities to return (default: 100)
        fields: Optional list of specific fields to include in each entity
        detailed: If True, returns all entity fields without filtering
    
    Returns:
        A list of entity dictionaries with lean formatting by default
    
    Examples:
        domain="light" - get all lights
        search_query="kitchen", limit=20 - search entities
        domain="sensor", detailed=True - full sensor details
    
    Best Practices:
        - Use lean format (default) for most operations
        - Prefer domain filtering over no filtering
        - For domain overviews, use domain_summary_tool instead of list_entities
        - Only request detailed=True when necessary for full attribute inspection
        - To get all entity types/domains, use list_entities without a domain filter, 
          then extract domains from entity_ids
get_entities_by_area tool
Get all entities assigned to a specific Home Assistant area (room).

    Area lookup is case-insensitive and matches the area's name as configured
    in Home Assistant (e.g., "Kitchen", "Living Room"). Entities inherit their
    area from their parent device when no area is set directly, matching HA's
    own resolution behavior.

    Args:
        area: Name of the area to filter by (case-insensitive)
        domain: Optional domain to further filter results (e.g., 'light')
        lean: If True (default), returns token-efficient entity records

    Returns:
        A dictionary containing:
        - area: The matched area name (as canonicalized by HA)
        - count: Number of matching entities
        - entities: List of entity records with their state and area

    Examples:
        get_entities_by_area(area="Kitchen") - everything in the kitchen
        get_entities_by_area(area="Living Room", domain="light") - lights only
search_entities_tool tool
Search for entities matching a query string
    
    Args:
        query: The search query to match against entity IDs, names, and attributes.
              (Note: Does not support wildcards. To get all entities, leave this blank or use list_entities tool)
        limit: Maximum number of results to return (default: 20)
    
    Returns:
        A dictionary containing search results and metadata:
        - count: Total number of matching entities found
        - results: List of matching entities with essential information
        - domains: Map of domains with counts (e.g. {"light": 3, "sensor": 2})
        
    Examples:
        query="temperature" - find temperature entities
        query="living room", limit=10 - find living room entities
        query="", limit=500 - list all entity types
domain_summary_tool tool
Get a summary of entities in a specific domain
    
    Args:
        domain: The domain to summarize (e.g., 'light', 'switch', 'sensor')
        example_limit: Maximum number of examples to include for each state
    
    Returns:
        A dictionary containing:
        - total_count: Number of entities in the domain
        - state_distribution: Count of entities in each state
        - examples: Sample entities for each state
        - common_attributes: Most frequently occurring attributes
        
    Examples:
        domain="light" - get light summary
        domain="climate", example_limit=5 - climate summary with more examples
    Best Practices:
        - Use this before retrieving all entities in a domain to understand what's available
system_overview tool
Get a comprehensive overview of the entire Home Assistant system
    
    Returns:
        A dictionary containing:
        - total_entities: Total count of all entities
        - domains: Dictionary of domains with their entity counts and state distributions
        - domain_samples: Representative sample entities for each domain (2-3 per domain)
        - domain_attributes: Common attributes for each domain
        - area_distribution: Entities grouped by area (if available)
        
    Examples:
        Returns domain counts, sample entities, and common attributes
    Best Practices:
        - Use this as the first call when exploring an unfamiliar Home Assistant instance
        - Perfect for building context about the structure of the smart home
        - After getting an overview, use domain_summary_tool to dig deeper into specific domains
list_automations tool
Get a list of all automations from Home Assistant
    
    This function retrieves all automations configured in Home Assistant,
    including their IDs, entity IDs, state, and display names.
    
    Returns:
        A list of automation dictionaries, each containing id, entity_id, 
        state, and alias (friendly name) fields.
        
    Examples:
        Returns all automation objects with state and friendly names
restart_ha tool
Restart Home Assistant
    
    ⚠\ufe0f WARNING: Temporarily disrupts all Home Assistant operations
    
    Returns:
        Result of restart operation
call_service_tool tool
Call any Home Assistant service (low-level API access)
    
    Args:
        domain: The domain of the service (e.g., 'light', 'switch', 'automation')
        service: The service to call (e.g., 'turn_on', 'turn_off', 'toggle')
        data: Optional data to pass to the service (e.g., {'entity_id': 'light.living_room'})
    
    Returns:
        A dictionary with success status, the domain/service called, and the
        list of affected entity states returned by Home Assistant. Failed calls
        also include an error message.

    Examples:
        domain='light', service='turn_on', data={'entity_id': 'light.x', 'brightness': 255}
        domain='automation', service='reload'
        domain='fan', service='set_percentage', data={'entity_id': 'fan.x', 'percentage': 50}
list_dashboards tool
List Home Assistant dashboards (Lovelace)

    Returns:
        A list of dashboards. Each entry has `url_path` (None for the default
        "Overview" dashboard), `title`, and `mode` ("storage" or "yaml"). Only
        "storage"-mode dashboards can be edited via these tools.
get_dashboard_config tool
Get a dashboard's full configuration

    Args:
        url_path: The dashboard's URL path (e.g. "my-dash"). Omit or pass None
                  for the default "Overview" dashboard.

    Returns:
        The dashboard config dict (a top-level `views` list of cards). If the
        dashboard has no stored config yet, returns an empty `{"views": []}`
        scaffold with a `note`.
set_dashboard_config tool
Replace a dashboard's full configuration (low-level write)

    ⚠\ufe0f WARNING: Overwrites the ENTIRE dashboard and updates every open browser
    live. The prior config is backed up first (use restore_dashboard to undo).
    Requires an admin token; only storage-mode dashboards can be saved.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        config: The complete new config dict (must contain a `views` list).
        dry_run: If True, validate and return the resulting config + a change
                 summary WITHOUT saving.

    Returns:
        On save: {success, url_path, backup_id, summary}. On dry_run:
        {dry_run: True, url_path, summary, config}.
add_card tool
Add a card to a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view — an integer index, or a string matching the view's
              `path` or `title`.
        card: The card config dict (must include a string `type`), e.g.
              {"type": "markdown", "content": "Hello"}.
        position: Insert index within the target card list (default: append).
        section: For a "sections"-type view, which section to add into — an
                 index, section title, or heading text. REQUIRED for sections
                 views (use list_view_sections to see them); omit for classic
                 views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
update_card tool
Replace a card in a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Index of the card to replace within the target card list.
        card: The new card config dict (must include a string `type`).
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
remove_card tool
Remove a card from a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Index of the card to remove within the target card list.
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
move_card tool
Reorder a card within a dashboard view (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        card_index: Current index of the card.
        new_index: Destination index within the same card list.
        section: For a "sections"-type view, which section the card is in
                 (index/title/heading). Required for sections views.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
list_view_sections tool
List the sections of a "sections"-type dashboard view

    Modern Home Assistant views of `type: sections` hold their cards inside
    sections (not a top-level card list). Use this to discover which section
    to target with the card tools' `section` argument.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).

    Returns:
        A list of {index, title, heading, card_count}, one per section. Errors
        if the view is not a sections view.
add_view tool
Add a new view to a dashboard (live)

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view_config: The view config dict, e.g. {"title": "Garage", "path": "garage"}.
        position: Insert index among views (default: append).
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
remove_view tool
Remove a view from a dashboard (live)

    ⚠\ufe0f Removes the view and all its cards.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
update_view tool
Update a view's properties — title, path, icon, etc. (live)

    Cards in the view are preserved unless `changes` includes a `cards` key.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        view: Target view (index, or matching `path`/`title`).
        changes: Dict of view properties to merge in, e.g. {"title": "New Title"}.
        dry_run: Preview without saving.

    Returns:
        Save result with a `backup_id`, or a dry-run preview.
list_dashboard_backups tool
List on-disk backups of a dashboard's config

    Backups are written automatically before every dashboard write. NOTE: in
    Docker, backups persist only if HASS_MCP_BACKUP_DIR is volume-mounted.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.

    Returns:
        A list of {backup_id, path}, oldest first.
restore_dashboard tool
Restore a dashboard from a backup (live)

    Restores the most recent backup unless `backup_id` is given. The current
    config is itself backed up first, so a restore can be undone.

    Args:
        url_path: Dashboard URL path, or None for the default dashboard.
        backup_id: A specific backup id from list_dashboard_backups (default:
                   newest).
        dry_run: Preview without saving.

    Returns:
        Save result plus `restored_from`, or a dry-run preview.
get_history tool
Get the history of an entity's state changes
    
    Args:
        entity_id: The entity ID to get history for
        hours: Number of hours of history to retrieve (default: 24)
    
    Returns:
        A dictionary containing:
        - entity_id: The entity ID requested
        - states: List of state objects with timestamps
        - count: Number of state changes found
        - first_changed: Timestamp of earliest state change
        - last_changed: Timestamp of most recent state change
        
    Examples:
        entity_id="light.living_room" - get 24h history
        entity_id="sensor.temperature", hours=168 - get 7 day history
    Best Practices:
        - Keep hours reasonable (24-72) for token efficiency
        - Use for entities with discrete state changes rather than continuously changing sensors
        - Consider the state distribution rather than every individual state
get_history_range tool
Get raw state-change history for an entity over a date/time range.

    Like `get_history`, but takes an explicit window instead of "N hours
    from now". Useful for inspecting what happened on a specific day or
    correlating with an external event.

    Args:
        entity_id: The entity to fetch history for.
        start_time: ISO-8601 start (e.g. `2026-05-15` or
                    `2026-05-15T08:00:00Z`). Treated as UTC if no offset.
        end_time: ISO-8601 end. Defaults to now (UTC).

    Returns:
        Same shape as `get_history`: `entity_id`, `states`, `count`,
        `first_changed`, `last_changed`.

    Examples:
        get_history_range("light.kitchen", "2026-05-15")
        get_history_range("sensor.power", "2026-05-15T00:00:00Z", "2026-05-16T00:00:00Z")

    Best Practices:
        - Bound the window — wider ranges return more data and more tokens.
        - For aggregated long-term data, prefer `get_statistics_range`.
get_statistics tool
Get long-term aggregated statistics for an entity over the last N hours.

    Uses HA's recorder statistics (over WebSocket) — aggregated buckets
    (mean / min / max per period) that survive the short-term retention
    window. Use this instead of `get_history` when:
        - You want data older than the recorder's default 10-day window.
        - You want aggregated values rather than every individual change.
        - The entity is a high-frequency sensor (temperature, power) and
          raw history would be too many tokens.

    Args:
        entity_id: The entity (must have a `state_class` HA records as
                   statistics — `measurement`, `total`, `total_increasing`).
        hours: How far back from now. Defaults to 24.
        period: Bucket size — `5minute`, `hour`, `day`, `week`, `month`.
                Defaults to `hour`.

    Returns:
        `entity_id`, `period`, `start_time`, `end_time`, `statistics`
        (list of `{start, end, mean, min, max, ...}` points).

    Examples:
        get_statistics("sensor.power_usage", hours=168, period="day")
        get_statistics("sensor.temperature", hours=24)
get_statistics_range tool
Get long-term aggregated statistics for an entity over a date/time range.

    Same data source as `get_statistics`, but with an explicit window —
    useful for "what was my power usage from Jan 1 to Jan 31?" type
    questions. Aggregated bucket data survives the short-term retention
    window, so this works for data months/years old.

    Args:
        entity_id: The entity (must be statistics-tracked).
        start_time: ISO-8601 start (`2026-01-01` or
                    `2026-01-01T00:00:00Z`). UTC if no offset.
        end_time: ISO-8601 end. Defaults to now.
        period: `5minute`, `hour`, `day`, `week`, or `month`.

    Returns:
        `entity_id`, `period`, `start_time`, `end_time`, `statistics`.

    Examples:
        get_statistics_range("sensor.energy", "2026-01-01", "2026-02-01", period="day")
        get_statistics_range("sensor.temperature", "2026-05-01", period="hour")
get_error_log tool
Get the Home Assistant error log for troubleshooting.

    All filters are optional and combine (AND semantics). Stats
    (error_count, warning_count, integration_mentions, total_lines) are
    computed over the filtered output so they match what's returned.

    Args:
        level: Filter to lines containing this log level — ERROR, WARNING,
               INFO, or DEBUG. Case-insensitive.
        integration: Filter to lines mentioning this integration. Matches
                     `[name]` or `[homeassistant.components.name]`.
                     Case-insensitive.
        search_term: Case-insensitive substring filter applied per line.
                     Useful for entity IDs, exception names, etc.
        lines: Return only the most recent N lines (applied after other
               filters). Useful when you only care about the tail.

    Returns:
        A dictionary containing:
        - log_text: The (possibly filtered) error log text
        - error_count: Number of ERROR entries in the filtered output
        - warning_count: Number of WARNING entries in the filtered output
        - integration_mentions: Map of integration names to mention counts
        - total_lines: Number of lines in the filtered output
        - filters_applied: Map of which filter args were supplied
        - error: Error message if retrieval failed

    Examples:
        get_error_log()                                 # full log
        get_error_log(level="ERROR")                    # errors only
        get_error_log(integration="zwave_js")           # one integration
        get_error_log(search_term="light.kitchen")      # specific entity
        get_error_log(level="ERROR", lines=50)          # last 50 errors

    Best Practices:
        - Filter on the server side (here) rather than pulling the full
          log into Claude's context — saves tokens on noisy logs.
        - Combine `integration` + `level="ERROR"` to triage a single
          integration that's misbehaving.
        - Use `lines` to bound output when scanning a long-running HA.
create_automation prompt
Guide a user through creating a Home Assistant automation
    
    This prompt provides a step-by-step guided conversation for creating
    a new automation in Home Assistant based on the specified trigger type.
    
    Args:
        trigger_type: The type of trigger for the automation (state, time, etc.)
        entity_id: Optional entity to use as the trigger source
    
    Returns:
        A list of messages for the interactive conversation
debug_automation prompt
Help a user troubleshoot an automation that isn't working
    
    This prompt guides the user through the process of diagnosing and fixing
    issues with an existing Home Assistant automation.
    
    Args:
        automation_id: The entity ID of the automation to troubleshoot
    
    Returns:
        A list of messages for the interactive conversation
troubleshoot_entity prompt
Guide a user through troubleshooting issues with an entity
    
    This prompt helps diagnose and resolve problems with a specific
    Home Assistant entity that isn't functioning correctly.
    
    Args:
        entity_id: The entity ID having issues
    
    Returns:
        A list of messages for the interactive conversation
routine_optimizer prompt
Analyze usage patterns and suggest optimized routines based on actual behavior
    
    This prompt helps users analyze their Home Assistant usage patterns and create
    more efficient routines, automations, and schedules based on real usage data.
    
    Returns:
        A list of messages for the interactive conversation
automation_health_check prompt
Review all automations, find conflicts, redundancies, or improvement opportunities
    
    This prompt helps users perform a comprehensive review of their Home Assistant
    automations to identify issues, optimize performance, and improve reliability.
    
    Returns:
        A list of messages for the interactive conversation
entity_naming_consistency prompt
Audit entity names and suggest standardization improvements
    
    This prompt helps users analyze their entity naming conventions and create
    a more consistent, organized naming system across their Home Assistant instance.
    
    Returns:
        A list of messages for the interactive conversation
dashboard_layout_generator prompt
Create optimized dashboards based on user preferences and usage patterns
    
    This prompt helps users design effective, user-friendly dashboards
    for their Home Assistant instance based on their specific needs.
    
    Returns:
        A list of messages for the interactive conversation
get_entity_resource resource
Get the state of a Home Assistant entity as a resource
    
    This endpoint provides a standard view with common entity information.
    For comprehensive attribute details, use the /detailed endpoint.
    
    Args:
        entity_id: The entity ID to get information for
get_all_entities_resource resource
Get a list of all Home Assistant entities as a resource
    
    This endpoint returns a complete list of all entities in Home Assistant, 
    organized by domain. For token efficiency with large installations,
    consider using domain-specific endpoints or the domain summary instead.
    
    Returns:
        A markdown formatted string listing all entities grouped by domain
        
    Examples:
        ```
        # Get all entities
        entities = mcp.get_resource("hass://entities")
        ```
        
    Best Practices:
        - WARNING: This endpoint can return large amounts of data with many entities
        - Prefer domain-filtered endpoints: hass://entities/domain/{domain}
        - For overview information, use domain summaries instead of full entity lists
        - Consider starting with a search if looking for specific entities
search_entities_resource_with_limit resource
Search for entities matching a query string with a specified result limit
    
    This endpoint extends the basic search functionality by allowing you to specify
    a custom limit on the number of results returned. It's useful for both broader
    searches (larger limit) and more focused searches (smaller limit).
    
    Args:
        query: The search query to match against entity IDs, names, and attributes
        limit: Maximum number of entities to return (as a string, will be converted to int)
    
    Returns:
        A markdown formatted string with search results and a JSON summary
        
    Examples:
        ```
        # Search with a larger limit (up to 50 results)
        results = mcp.get_resource("hass://search/sensor/50")
        
        # Search with a smaller limit for focused results
        results = mcp.get_resource("hass://search/kitchen/5")
        ```
        
    Best Practices:
        - Use smaller limits (5-10) for focused searches where you need just a few matches
        - Use larger limits (30-50) for broader searches when you need more comprehensive results
        - Balance larger limits against token usage - more results means more tokens
        - Consider domain-specific searches for better precision: "light kitchen" instead of just "kitchen"
get_entity_resource_detailed resource
Get detailed information about a Home Assistant entity as a resource
    
    Use this detailed view selectively when you need to:
    - Understand all available attributes of an entity
    - Debug entity behavior or capabilities
    - See comprehensive state information
    
    For routine operations where you only need basic state information,
    prefer the standard entity endpoint or specify fields in the get_entity tool.
    
    Args:
        entity_id: The entity ID to get information for
list_states_by_domain_resource resource
Get a list of entities for a specific domain as a resource
    
    This endpoint provides all entities of a specific type (domain). It's much more
    token-efficient than retrieving all entities when you only need entities of a 
    specific type.
    
    Args:
        domain: The domain to filter by (e.g., 'light', 'switch', 'sensor')
    
    Returns:
        A markdown formatted string with all entities in the specified domain
        
    Examples:
        ```
        # Get all lights
        lights = mcp.get_resource("hass://entities/domain/light")
        
        # Get all climate devices
        climate = mcp.get_resource("hass://entities/domain/climate")
        
        # Get all sensors
        sensors = mcp.get_resource("hass://entities/domain/sensor")
        ```
        
    Best Practices:
        - Use this endpoint when you need detailed information about all entities of a specific type
        - For a more concise overview, use the domain summary endpoint: hass://entities/domain/{domain}/summary
        - For sensors and other high-count domains, consider using a search to further filter results

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 41 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 41 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 41 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 41 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 41 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 41 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 41 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 41 capabilities; 22 more call code the scanner could not follow, where it may happen
Where the code is: 41 handlers in 1 file at commit 583ccdaa14c6
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 41 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Environment variables
    21 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
Servers in the code1 (Hass-MCP)

The project's own security

Security policyyes SECURITY.md
Private reportingmentioned the policy names a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-02
Signed releasesnot checked yet

Where it is published

Listed in7 catalogs (awesome_habitoai, awesome_tensorblock, awesome_wong2, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2025-03-16
Topicsai anthropic claude home-assistant home-automation homeassistant llm mcp mcp-server model-context-protocol

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.