Overview
What is Google Slides MCP Server?
Google Slides MCP Server is a Model Context Protocol (MCP) server that provides an interface to the Google Slides API, allowing AI assistants or other MCP clients to create, read, and modify Google Slides presentations programmatically. It is intended for developers and users who need automated, scriptable control over Google Slides.
How to use Google Slides MCP Server?
Install Node.js v18+, clone or navigate to the project directory, run npm install, then npm run build to compile TypeScript. Obtain OAuth 2.0 credentials from Google Cloud Console, enable the Slides API, and get a refresh token (via OAuth Playground or the included npm run get-token script). Configure the server in your MCP settings file by providing the path to build/index.js and setting environment variables GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REFRESH_TOKEN. Start the server with npm run start; it listens on stdio.
Key features of Google Slides MCP Server
- Create new Google Slides presentations.
- Retrieve details of existing presentations.
- Apply batch updates (add slides, text, shapes, images).
- Get details of a specific slide page.
- Summarize presentation text content, including optional speaker notes.
Use cases of Google Slides MCP Server
- Automate generation of slide decks from templates or data.
- Extract text content from presentations for analysis or summarization.
- Modify existing slides programmatically (e.g., update charts, add branding).
- Integrate slide creation into CI/CD or workflow automation tools.
FAQ from Google Slides MCP Server
What are the prerequisites for using this server?
You need Node.js v18+, npm, a Google Cloud Project with the Google Slides API enabled, OAuth 2.0 credentials (Client ID and Client Secret), and a Google Refresh Token with the https://www.googleapis.com/auth/presentations scope.
How do I obtain a Google Refresh Token?
You can use the Google OAuth 2.0 Playground with your own client credentials, or run npm run get-token to follow an automated OAuth flow. The token lets the server refresh access tokens without user interaction.
What tools does the server expose?
The server provides five tools: create_presentation, get_presentation, batch_update_presentation, get_page, and summarize_presentation. Each accepts specific input parameters and returns JSON results.
How do I configure the server in my MCP client?
Locate your MCP settings file (e.g., cline_mcp_settings.json) and add an entry for "google-slides-mcp" with "transportType": "stdio", the command "node" with args pointing to build/index.js, and the required environment variables for Google credentials.
Does the server support read-only operations?
Yes, tools like get_presentation, get_page, and summarize_presentation are read-only. create_presentation and batch_update_presentation modify presentations. All operations require the presentations OAuth scope.