View as Markdown

Google Slides Integration

Create and update Google Slides presentations

The Google Slides integration provides access to create and update Google Slides presentations through the Integrate MCP server.

Installation

The Google Slides integration is included with the SDK:

import { googleSlidesIntegration } from "integrate-sdk/server";

Setup

1. Create a Google Slides OAuth App

  1. Go to Google Cloud Console
  2. Create a new OAuth application
  3. Configure your redirect URI
  4. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Google Slides integration to your server configuration. The integration automatically reads GOOGLE_SLIDES_CLIENT_ID and GOOGLE_SLIDES_CLIENT_SECRET from your environment variables:

import { createMCPServer, googleSlidesIntegration } from "integrate-sdk/server";
 
export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    googleSlidesIntegration({
    }),
  ],
});

You can override the environment variables by passing explicit values:

googleSlidesIntegration({
  clientId: process.env.CUSTOM_GOOGLE_SLIDES_ID,
  clientSecret: process.env.CUSTOM_GOOGLE_SLIDES_SECRET,
});

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_slides");
const result = await client.google_slides.list({});
 
console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, googleSlidesIntegration } from "integrate-sdk";
 
const customClient = createMCPClient({
  integrations: [googleSlidesIntegration()],
});

Configuration Options

export interface GSlidesIntegrationConfig {
  /** Google OAuth client ID (defaults to GOOGLE_SLIDES_CLIENT_ID env var) */
  clientId?: string;

Tools

google_slides_add_slide

Slides add slide

export interface GoogleSlidesAddSlideParams {
    presentation_id: string;

google_slides_batch_update

Slides batch update

export interface GoogleSlidesBatchUpdateParams {
    presentation_id: string;

google_slides_create

Slides create

export interface GoogleSlidesCreateParams {
    title: string;

google_slides_delete

Slides delete

export interface GoogleSlidesDeleteParams {
    presentation_id: string;

google_slides_delete_slide

Slides delete slide

export interface GoogleSlidesDeleteSlideParams {
    presentation_id: string;

google_slides_get

Slides get

export interface GoogleSlidesGetParams {
    presentation_id: string;

google_slides_get_page

Slides get page

export interface GoogleSlidesGetPageParams {
    presentation_id: string;

google_slides_list

Slides list

export interface GoogleSlidesListParams {
    page_size?: number;

google_slides_update_text

Slides update text

export interface GoogleSlidesUpdateTextParams {
    presentation_id: string;

Notes

  • Category: Productivity
  • Authentication mode: OAuth