Alexa Home Automation MCP Server

Alexa Home Automation MCP Server

Enables AI agents to control Alexa-connected smart home devices, including voice announcements, music control, smart lighting, sensor monitoring, and volume management through the Alexa API.

Category
Visit Server

README

Alexa Home Automation MCP Server 🏠🔋

A powerful Model Context Protocol (MCP) server that provides AI agents (like Claude Desktop) with full control over your Alexa-connected smart home.

This server acts as a bridge between the Alexa API and the MCP ecosystem, enabling capabilities like voice announcements, music control, lighting automation, and sensor monitoring.

License: MIT MCP

✨ Features

  • 📢 Voice Announcements: Send customized voice messages to any Alexa device with smart night-time suppression.
  • 🎵 Music Control: Get real-time status of current tracks and playback on your Echo devices.
  • 💡 Smart Lighting: Full control over power, brightness, and colors for all discovered smart lights.
  • 🌡️ Sensor Integration: Access temperature, light, and motion sensor data from your Alexa devices.
  • 🔊 Volume Management: Precise control over volume levels across your entire device fleet.
  • 🤖 Self-Documenting: Clean, descriptive API handlers designed for LLM consumption.

🚀 Getting Started

1. Requirements

  • pnpm installed.
  • An Amazon account with connected Alexa devices.

2. Authentication (Automated Cookie Collection)

We've automated the tedious process of collecting Amazon cookies.

  1. Install dependencies:
    pnpm install
    
  2. Run the cookie automation script:
    pnpm run get-cookies
    
  3. A local proxy will start. Complete the login in the browser window that appears.
  4. The script will automatically generate your .env file with the required UBID_MAIN and AT_MAIN tokens.

3. Local Development

Start the server in Node.js mode:

pnpm run dev:node

The server will be available at http://localhost:3001.

🛠️ MCP Configuration

Add this to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "alexa": {
      "command": "node",
      "args": ["/absolute/path/to/alexa-mcp-server/dist/node-index.js"],
      "env": {
        "API_BASE": "http://localhost:3001"
      }
    }
  }
}

🏗️ Architecture

This project is built using:

  • Hono: A fast, lightweight web framework.
  • TypeScript: For robust, type-safe development.
  • MCP SDK: To enable seamless integration with AI agents.
  • Cloudflare Workers Ready: Can be deployed to Cloudflare or any Node.js environment via Docker.

☕ Support

If you find this project helpful, consider buying me a coffee!

Buy Me A Coffee

📄 License

MIT © guitarbeat

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured