MCP Server Studio

Google Slides MCP MCP server

MCP server for the Google Slides API: presentations, slides, text, shapes, images and tables.

Registry name: io.github.A1-x-Tech/mcp-google-slides

Publisher
A1-x-Tech
Runs
Runs locally
Package
npm
Version
1.2.0
Category
Developer tools
Updated
2026-12-02

Source code on GitHub

Set up Google Slides MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-google-slides": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/[email protected]"
      ],
      "env": {
        "GOOGLE_SLIDES_CLIENT_ID": "<GOOGLE_SLIDES_CLIENT_ID>",
        "GOOGLE_SLIDES_CLIENT_SECRET": "<GOOGLE_SLIDES_CLIENT_SECRET>",
        "GOOGLE_SLIDES_REFRESH_TOKEN": "<GOOGLE_SLIDES_REFRESH_TOKEN>",
        "GOOGLE_SLIDES_ACCESS_TOKEN": "<GOOGLE_SLIDES_ACCESS_TOKEN>",
        "GOOGLE_SLIDES_OAUTH_PORT": "<GOOGLE_SLIDES_OAUTH_PORT>",
        "GOOGLE_SLIDES_API_BASE": "<GOOGLE_SLIDES_API_BASE>",
        "GOOGLE_SLIDES_DRIVE_API_BASE": "<GOOGLE_SLIDES_DRIVE_API_BASE>",
        "GOOGLE_SLIDES_TIMEOUT_MS": "<GOOGLE_SLIDES_TIMEOUT_MS>",
        "GOOGLE_SLIDES_MAX_RETRIES": "<GOOGLE_SLIDES_MAX_RETRIES>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp-google-slides -e GOOGLE_SLIDES_CLIENT_ID='<GOOGLE_SLIDES_CLIENT_ID>' -e GOOGLE_SLIDES_CLIENT_SECRET='<GOOGLE_SLIDES_CLIENT_SECRET>' -e GOOGLE_SLIDES_REFRESH_TOKEN='<GOOGLE_SLIDES_REFRESH_TOKEN>' -e GOOGLE_SLIDES_ACCESS_TOKEN='<GOOGLE_SLIDES_ACCESS_TOKEN>' -e GOOGLE_SLIDES_OAUTH_PORT='<GOOGLE_SLIDES_OAUTH_PORT>' -e GOOGLE_SLIDES_API_BASE='<GOOGLE_SLIDES_API_BASE>' -e GOOGLE_SLIDES_DRIVE_API_BASE='<GOOGLE_SLIDES_DRIVE_API_BASE>' -e GOOGLE_SLIDES_TIMEOUT_MS='<GOOGLE_SLIDES_TIMEOUT_MS>' -e GOOGLE_SLIDES_MAX_RETRIES='<GOOGLE_SLIDES_MAX_RETRIES>' -- npx -y @a1-x-tech/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-google-slides": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/[email protected]"
      ],
      "env": {
        "GOOGLE_SLIDES_CLIENT_ID": "<GOOGLE_SLIDES_CLIENT_ID>",
        "GOOGLE_SLIDES_CLIENT_SECRET": "<GOOGLE_SLIDES_CLIENT_SECRET>",
        "GOOGLE_SLIDES_REFRESH_TOKEN": "<GOOGLE_SLIDES_REFRESH_TOKEN>",
        "GOOGLE_SLIDES_ACCESS_TOKEN": "<GOOGLE_SLIDES_ACCESS_TOKEN>",
        "GOOGLE_SLIDES_OAUTH_PORT": "<GOOGLE_SLIDES_OAUTH_PORT>",
        "GOOGLE_SLIDES_API_BASE": "<GOOGLE_SLIDES_API_BASE>",
        "GOOGLE_SLIDES_DRIVE_API_BASE": "<GOOGLE_SLIDES_DRIVE_API_BASE>",
        "GOOGLE_SLIDES_TIMEOUT_MS": "<GOOGLE_SLIDES_TIMEOUT_MS>",
        "GOOGLE_SLIDES_MAX_RETRIES": "<GOOGLE_SLIDES_MAX_RETRIES>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-google-slides": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/[email protected]"
      ],
      "env": {
        "GOOGLE_SLIDES_CLIENT_ID": "<GOOGLE_SLIDES_CLIENT_ID>",
        "GOOGLE_SLIDES_CLIENT_SECRET": "<GOOGLE_SLIDES_CLIENT_SECRET>",
        "GOOGLE_SLIDES_REFRESH_TOKEN": "<GOOGLE_SLIDES_REFRESH_TOKEN>",
        "GOOGLE_SLIDES_ACCESS_TOKEN": "<GOOGLE_SLIDES_ACCESS_TOKEN>",
        "GOOGLE_SLIDES_OAUTH_PORT": "<GOOGLE_SLIDES_OAUTH_PORT>",
        "GOOGLE_SLIDES_API_BASE": "<GOOGLE_SLIDES_API_BASE>",
        "GOOGLE_SLIDES_DRIVE_API_BASE": "<GOOGLE_SLIDES_DRIVE_API_BASE>",
        "GOOGLE_SLIDES_TIMEOUT_MS": "<GOOGLE_SLIDES_TIMEOUT_MS>",
        "GOOGLE_SLIDES_MAX_RETRIES": "<GOOGLE_SLIDES_MAX_RETRIES>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp-google-slides": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/[email protected]"
      ],
      "env": {
        "GOOGLE_SLIDES_CLIENT_ID": "<GOOGLE_SLIDES_CLIENT_ID>",
        "GOOGLE_SLIDES_CLIENT_SECRET": "<GOOGLE_SLIDES_CLIENT_SECRET>",
        "GOOGLE_SLIDES_REFRESH_TOKEN": "<GOOGLE_SLIDES_REFRESH_TOKEN>",
        "GOOGLE_SLIDES_ACCESS_TOKEN": "<GOOGLE_SLIDES_ACCESS_TOKEN>",
        "GOOGLE_SLIDES_OAUTH_PORT": "<GOOGLE_SLIDES_OAUTH_PORT>",
        "GOOGLE_SLIDES_API_BASE": "<GOOGLE_SLIDES_API_BASE>",
        "GOOGLE_SLIDES_DRIVE_API_BASE": "<GOOGLE_SLIDES_DRIVE_API_BASE>",
        "GOOGLE_SLIDES_TIMEOUT_MS": "<GOOGLE_SLIDES_TIMEOUT_MS>",
        "GOOGLE_SLIDES_MAX_RETRIES": "<GOOGLE_SLIDES_MAX_RETRIES>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
GOOGLE_SLIDES_CLIENT_IDNoGoogle OAuth2 client id (refresh-token flow).
GOOGLE_SLIDES_CLIENT_SECRETNoGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_SLIDES_REFRESH_TOKENNoGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_SLIDES_ACCESS_TOKENNoStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_SLIDES_OAUTH_PORTNoFixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
GOOGLE_SLIDES_API_BASENoSlides API root override.
GOOGLE_SLIDES_DRIVE_API_BASENoDrive API root override (used internally for comments, export and image upload).
GOOGLE_SLIDES_TIMEOUT_MSNoPer-request timeout in milliseconds.
GOOGLE_SLIDES_MAX_RETRIESNoRetries on transient errors (429 always; 5xx/network for reads).

More developer tools MCP servers