ghome-mcp-server

ghome-mcp-server

0

The Google Home MCP Server is designed to manage Google Home smart plugs, allowing users to control and monitor them via the Smart Home API. It features OAuth2 authentication, real-time device state updates, and comprehensive error handling.

Google Home MCP Server

An MCP server implementation for controlling Google Home smart plugs through the Smart Home API.

Features

  • List all available smart plugs and their states
  • Control smart plugs (turn on/off)
  • Get real-time state of specific smart plugs
  • Automatic device state refresh
  • OAuth2 authentication with Smart Home API

Setup

  • Create a Smart Home Action in Google Cloud
  • Configure OAuth 2.0 with necessary credentials

Tools

  1. List Smart Plugs
  2. Control Smart Plug
  3. Get Smart Plug State

API Details

  • SYNC Intent: Device discovery
  • QUERY Intent: Device state queries
  • EXECUTE Intent: Device control

Error Handling

  • Comprehensive error codes and messages

Security

  • OAuth 2.0 authentication
  • HTTPS communication

Development

  • Start in development mode
  • Run tests