Learn how to enhance and interact programmatically with Google Workspace.
The Google Workspace Model Context Protocol (MCP) servers let AI agents securely access and act on Google Workspace data.
  • Send emails and Chat messages.
  • Schedule Calendar events.
  • Update Google Docs, Sheets, and Slides.
Connect MCP-compatible AI clients and agents to Google Workspace MCP servers like Gmail, Drive, Calendar, Docs, Sheets, Slides, and Chat.
Protect user data and enforce security best practices when connecting AI agents to Google Workspace MCP servers.
Prompt users with interactive confirmation forms before AI agents complete sensitive actions in Google Workspace.
Use the Universal Search MCP server to let AI agents search and retrieve context across Google Workspace apps.
# Install the Google Workspace CLI
curl -fsSL https://dl.google.com/workspace-cli/install.sh | bash

# Install packaged skills for AI agents
gwscli skills install --dir ~/.agents/skills

# Discover supported services and actions
gwscli --help
The Google Workspace command-line interface (CLI), gwscli, connects AI agents and interactive terminals to Google Workspace services.
  • Equip AI agents with packaged skills and dynamic command discovery.
  • Interact with Gmail, Drive, Calendar, Chat, Docs, Sheets, Slides, and Tasks.
  • Process structured JSON output with human-in-the-loop verification.
Whatever your coding experience, you can empower Google Workspace users.
Use Apps Script to create a custom Sheets formula, automate actions based on Form responses, and more.
Create custom Google Chat apps to get information, send reminders, or automate tasks.
Create Google Workspace add-ons to display relevant information alongside a user's email, files, or calendar.
Use the Google Workspace Marketplace to reach millions of users and organizations with your solutions.
REST APIs let you programmatically interact with Google Workspace.
Use the Drive API to programmatically search files, upload documents, and manage file permissions.
Use the Admin SDK API to programmatically manage new and existing users, audit activity, or get alerts about your account.
Use the Gmail API to programmatically send emails, update email signatures, and manage other settings.
Use the Calendar API to programmatically add or update Calendar events.