Google Slides MCP Server for Cloudflare Workers
Get started with Google Slides in your AI application. Choose your preferred language below.
npm install primrose-mcp
Sign up and create an API key in your dashboard
Use listTools() to discover Google Slides tools and callTool() to execute them
import { Primrose } from 'primrose-mcp';
// Initialize the client
const primrose = new Primrose({
apiKey: 'prm_xxxxx',
provider: 'anthropic' // or: openai, google, amazon, meta, mistral
});
// List available Google Slides tools
const tools = await primrose.listTools({ mcpServer: 'googleslides' });
console.log(tools);
// Call a Google Slides tool
const result = await primrose.callTool('googleslides_googleslides_create_line', {
endX: 'your-value',
endY: 'your-value',
startX: 'your-value',
startY: 'your-value',
slideId: 'your-value',
objectId: 'your-value',
presentationId: 'your-value'
});
console.log(result);This server uses API KEY authentication.
View Full Auth Guide