4,500+ servers built on MCP Fusion
Vinkius
Home Assistant logo
Vinkius
CrewAI logo

How to Use the Home Assistant MCP in CrewAI

Run autonomous multi-agent crews to monitor and secure your home using CrewAI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Home Assistant MCP on Cursor AI Code Editor MCP Client Home Assistant MCP on Claude Desktop App MCP Integration Home Assistant MCP on OpenAI Agents SDK MCP Compatible Home Assistant MCP on Visual Studio Code MCP Extension Client Home Assistant MCP on GitHub Copilot AI Agent MCP Integration Home Assistant MCP on Google Gemini AI MCP Integration Home Assistant MCP on Lovable AI Development MCP Client Home Assistant MCP on Mistral AI Agents MCP Compatible Home Assistant MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect Home Assistant MCP to CrewAI

Create your Vinkius account to connect Home Assistant to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Home monitoring with CrewAI

This MCP Server exposes `list_entity_states` to let your specialized CrewAI agents monitor your entire home environment. One agent watches temperature sensors while another coordinates the HVAC system to keep things balanced. The agents share a common memory space, allowing them to collaborate on complex scenarios.

Event-driven team response

The `list_ha_events` tool lets your agent team understand exactly what events your home is tracking in real-time. When a specific trigger fires, the crew divides the response tasks based on their defined roles. A security agent runs `get_logbook_entries` to see who last accessed a door, while a notification agent alerts you.

Automated system health monitoring

The `get_ha_config` tool provides your crew with the exact hardware and integration configuration of your local setup. A dedicated system administrator agent analyzes this data to find inactive components. Checking for loaded integrations using `list_ha_components` ensures everything is running.

Setup guide

Set up Home Assistant MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke Home Assistant tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="Home Assistant Analyst",
    goal="Access and analyze Home Assistant data via MCP.",
    backstory="Expert analyst with direct Home Assistant access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent Home Assistant transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Home Assistant MCP in CrewAI

Pass your MCP Server URL directly into the agent's `mcps` list during initialization. This grants that specific agent access to tools like `call_ha_service` while keeping other agents restricted.
Yes. The agent uses `render_ha_template` to evaluate Jinja2 expressions directly on your local instance. This lets the crew process complex state logic without writing custom python code.
Yes, the crew runs locally or in your cloud environment and communicates with your home via secure HTTP. Use `get_api_status` to verify the network route is clear before starting a crew run.
Yes, you limit which tools an agent uses by configuring the `MCPServerHTTP` class with a tool filter. This prevents a research agent from executing actions outside its scope on your MCP setup.
No smart home logs or states are stored. All data queried via this connection is processed purely in-memory within an ephemeral sandbox and discarded immediately after the execution finishes.

Start using the Home Assistant MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 15 tools

We've already built the connector for Home Assistant. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 15 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.