Google Slides MCP Server
Create a powerful Model Context Protocol (MCP) server for Google Slides in minutes with our AI Gateway. This guide walks you through setting up seamless presentation automation with enterprise-grade security and instant OAuth authentication.
About Google Slides API
The Google Slides API provides programmatic access to create, read, and edit Google Slides presentations. It enables powerful automation for content creation, presentation management, and collaborative workflows across your organization.
Key Capabilities
- Presentation Management: Create, copy, and delete presentations
- Slide Operations: Add, remove, and reorder slides
- Content Insertion: Add text, images, shapes, and tables
- Layout Control: Apply themes, layouts, and masters
- Element Manipulation: Position, resize, and format elements
- Chart Creation: Generate data visualizations
- Batch Operations: Multiple updates in one request
- Export Options: PDF, PowerPoint, image formats
API Features
- REST API v1: Modern presentation operations
- Real-time Collaboration: Live updates
- Batch Requests: Efficient bulk operations
- OAuth 2.0: Secure authentication
- Page Elements: Text boxes, shapes, images, tables
- Master Management: Control presentation templates
- Thumbnail Generation: Preview slide content
- Linked Charts: Connect to Google Sheets data
What You Can Do with Google Slides MCP Server
The MCP server transforms Google Slides API into a natural language interface, enabling AI agents to:
Presentation Creation
-
New Presentations
- "Create quarterly review presentation"
- "Build training deck from template"
- "Generate sales pitch presentation"
- "Design marketing campaign slides"
-
Content Management
- "Add new slide with title layout"
- "Insert company logo on all slides"
- "Copy slides from another presentation"
- "Delete unused slides"
-
Template Operations
- "Apply corporate theme"
- "Use blank layout for slide 3"
- "Switch to title and content layout"
- "Create custom master slide"
Content Creation & Editing
-
Text Operations
- "Add title 'Q4 Results' to slide 1"
- "Insert bullet points with key metrics"
- "Update text in slide 5"
- "Format heading as bold blue"
-
Shape & Graphics
- "Add rectangle with company colors"
- "Insert arrow pointing to chart"
- "Create flowchart with process steps"
- "Add callout box with key insight"
-
Image Management
- "Insert product photo on slide 2"
- "Replace placeholder with team photo"
- "Add screenshot of dashboard"
- "Crop image to focus on main subject"
Data Visualization
-
Chart Creation
- "Create pie chart of market share"
- "Build line graph of revenue trends"
- "Generate bar chart comparison"
- "Insert column chart from Sheets data"
-
Table Operations
- "Add 3x4 table with pricing data"
- "Format table with alternating colors"
- "Insert financial summary table"
- "Update table with latest numbers"
-
Data Integration
- "Link chart to Sheets spreadsheet"
- "Update charts with fresh data"
- "Import data from CSV file"
- "Refresh all linked elements"
Formatting & Design
-
Visual Styling
- "Apply consistent font across slides"
- "Set background color to light blue"
- "Add gradient background"
- "Format text with corporate colors"
-
Layout Adjustments
- "Align all elements to center"
- "Distribute shapes evenly"
- "Resize image to fit slide"
- "Adjust text box positioning"
-
Theme Application
- "Apply modern design theme"
- "Use minimalist color scheme"
- "Set consistent slide transitions"
- "Apply corporate branding"
Presentation Organization
-
Slide Management
- "Move slide 3 to position 1"
- "Duplicate slide with modifications"
- "Group related slides together"
- "Create section dividers"
-
Content Structure
- "Add agenda slide after title"
- "Insert section breaks"
- "Create appendix slides"
- "Number slides consistently"
-
Navigation Elements
- "Add slide numbers"
- "Insert navigation links"
- "Create table of contents"
- "Add back-to-menu buttons"
Collaboration Features
-
Sharing & Permissions
- "Share with team as editors"
- "Create view-only link"
- "Set expiration date"
- "Transfer ownership"
-
Comments & Notes
- "Add speaker notes to slide 5"
- "Insert comment for review"
- "Reply to feedback"
- "Resolve completed discussions"
-
Version Control
- "View revision history"
- "Restore previous version"
- "Track changes by user"
- "Compare versions"
Prerequisites
- Access to Cequence AI Gateway
- Google Workspace account
- Google Slides API enabled
- Appropriate Drive permissions
Step 1: Enable Google Slides API
1.1 Access Google Cloud Console
- Go to console.cloud.google.com
- Select or create a project
- Enable billing if required
1.2 Enable APIs
- Navigate to APIs & Services → Library
- Search and enable:
- Google Slides API
- Google Drive API (for file operations)
1.3 Create OAuth 2.0 Credentials
- Go to APIs & Services Credentials
- Click Create Credentials → OAuth client ID
- Configure consent screen if needed
- Application type: Web application
- Add redirect URI:
https://auth.aigateway.cequence.ai/v1/outbound/oauth/callback
1.4 Get Credentials
- Copy Client ID
- Copy Client Secret
- Note authorized redirect URIs
Step 2-4: Standard Setup
Follow standard steps to access AI Gateway, find Google Slides API, and create MCP server.
Step 5: Configure API Endpoints
- Base URL:
https://slides.googleapis.com/v1
- Select endpoints:
- Presentation creation endpoints
- Batch update endpoints
- Page operations endpoints
- Click Next
Step 6: MCP Server Configuration
- Name: "Google Slides Automation"
- Description: "Presentation creation and management"
- Configure production mode
- Click Next
Step 7: Configure Authentication
- Authentication Type: OAuth 2.0
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth
- Token URL:
https://oauth2.googleapis.com/token
- Enter Client ID and Secret
- Select required scopes
Available Google Slides OAuth Scopes
Presentation Access
-
https://www.googleapis.com/auth/presentations
- Full read/write access
- Create new presentations
- Update existing presentations
- Delete presentations
-
https://www.googleapis.com/auth/presentations.readonly
- Read presentation data
- View slide content
- Access formatting
- Export presentations
Drive Integration
-
https://www.googleapis.com/auth/drive.file
- Access files created by app
- Required for creating presentations
- Manage file metadata
- Organize in folders
-
https://www.googleapis.com/auth/drive
- Full Drive access
- Access all presentations
- Move and copy files
- Share permissions
Additional Scopes
https://www.googleapis.com/auth/drive.readonly
- View Drive files
- List presentations
- Check sharing status
- See revision info
Recommended Scope Combinations
For Content Viewing:
https://www.googleapis.com/auth/presentations.readonly
https://www.googleapis.com/auth/drive.readonly
For Full Automation:
https://www.googleapis.com/auth/presentations
https://www.googleapis.com/auth/drive.file
For Complete Access:
https://www.googleapis.com/auth/presentations
https://www.googleapis.com/auth/drive
Step 8-10: Complete Setup
Configure security, choose deployment, and deploy.
Using Your Google Slides MCP Server
With Standard MCP Clients like Claude Desktop, Cursor, Windsurf
{
"servers": {
"google-slides": {
"command": "npx",
"args": [
"-y",
"@cequenceai/mcp-remote",
"your-mcp-server-url"
}
}
}
}
Natural Language Commands
- "Create quarterly business review presentation"
- "Add product overview slide with images"
- "Insert chart showing sales growth"
- "Format title slide with company branding"
- "Generate executive summary presentation"
Common Use Cases
Business Presentations
- Quarterly reviews
- Sales pitches
- Board meetings
- Strategy sessions
Marketing Materials
- Product launches
- Campaign presentations
- Brand guidelines
- Event materials
Training & Education
- Employee onboarding
- Skills training
- Compliance materials
- Workshop content
Reports & Analytics
- Performance dashboards
- Data visualizations
- Executive summaries
- KPI presentations
Security Best Practices
-
OAuth Security:
- Use minimal scopes
- Implement token refresh
- Monitor access logs
- Revoke unused tokens
-
Content Protection:
- Control sharing permissions
- Set appropriate access levels
- Audit presentation access
- Enable version history
-
Data Security:
- Validate input content
- Sanitize text insertions
- Check image sources
- Monitor API usage
Troubleshooting
Common Issues
-
Authentication Errors
- Verify OAuth credentials
- Check token expiration
- Validate redirect URI
- Review consent screen
-
API Errors
- Check object ID references
- Verify presentation exists
- Validate request structure
- Review quota limits
-
Content Errors
- Check slide layout compatibility
- Verify element positioning
- Test formatting options
- Review image URLs
Getting Help
- Documentation: AI Gateway Docs
- Support: support@cequence.ai
- Community: AI Gateway Forum
- Google Slides API Docs: developers.google.com/slides/api
- Stack Overflow: google-slides-api tag