Google Home Integration
Manage Google Home devices, structures, rooms, and device commands
The Google Home integration provides access to manage Google Home devices, structures, rooms, and device commands through the Integrate MCP server.
Installation
The Google Home integration is included with the SDK:
import { googleHomeIntegration } from "integrate-sdk/server";Setup
1. Create a Google Home OAuth App
- Go to Google Cloud Console
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Google Home integration to your server configuration. The integration automatically reads GOOGLE_HOME_CLIENT_ID and GOOGLE_HOME_CLIENT_SECRET from your environment variables:
import { createMCPServer, googleHomeIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
googleHomeIntegration({
scopes: ["https://www.googleapis.com/auth/sdm.service"], // Optional
}),
],
});You can override the environment variables by passing explicit values:
googleHomeIntegration({
clientId: process.env.CUSTOM_GOOGLE_HOME_ID,
clientSecret: process.env.CUSTOM_GOOGLE_HOME_SECRET,
scopes: ["https://www.googleapis.com/auth/sdm.service"], // Optional
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("google_home");
const result = await client.google_home.listDevices({
project_id: "value",
});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, googleHomeIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [googleHomeIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
https://www.googleapis.com/auth/sdm.service
Tools
google_home_list_devices
Home list devices
Prop
Type
google_home_get_device
Home get device
Prop
Type
google_home_execute_device_command
Home execute device command
Prop
Type
google_home_list_structures
Home list structures
Prop
Type
google_home_list_rooms
Home list rooms
Prop
Type
Notes
- Category: Lifestyle
- Authentication mode: OAuth