> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caylex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Apps Script

> Manage and automate Google Workspace scripts

The Google Apps Script MCP Server integrates with Google Workspace APIs, enabling AI agents to manage scripts, automate tasks, and perform email and calendar operations. Key use cases include email retrieval, event management, and document handling.

## Server Details

| Property        | Value                                              |
| --------------- | -------------------------------------------------- |
| **Transport**   | Streamable HTTP                                    |
| **Server Type** | Caylex                                             |
| **Endpoint**    | caylex-internal                                    |
| **Categories**  | API Tools & Services, Development & DevOps, Google |

## Authentication

This server supports the following authentication method:

### OAuth

**Scopes:** `openid`, `email`, `profile`, `https://www.googleapis.com/auth/script.projects`, `https://www.googleapis.com/auth/script.projects.readonly`, `https://www.googleapis.com/auth/script.deployments`, `https://www.googleapis.com/auth/script.deployments.readonly`, `https://www.googleapis.com/auth/script.processes`, `https://www.googleapis.com/auth/script.metrics`, `https://www.googleapis.com/auth/drive.file`

During the server onboarding flow, you will be prompted to complete the OAuth flow to grant access. See the [Google Apps Script Authentication guide](/oauth-guides/google-apps-script) for step-by-step credential configuration.

## Getting Started

<Steps>
  <Step title="Add the server">
    Navigate to the **Server Library** and click on the **New Server** button. Find **Google Apps Script** in the Caylex Catalog.
  </Step>

  <Step title="Server Onboarding flow">
    Go through the server onboarding flow.
  </Step>

  <Step title="Use in a project">
    Add the server to a [project](https://app.caylex.dev/projects) by configuring project connections. Its tools are now available to any agents connected to that project.
  </Step>
</Steps>

## Related Servers

<CardGroup cols={2}>
  <Card title="Google Sheets" href="/server-catalog/google-sheets" icon="https://d338mlbnszozgc.cloudfront.net/logos/google-sheets.svg" />

  <Card title="Google Docs" href="/server-catalog/google-docs" icon="https://d338mlbnszozgc.cloudfront.net/logos/google-docs.svg" />

  <Card title="Google Drive" href="/server-catalog/google-drive" icon="https://d338mlbnszozgc.cloudfront.net/logos/google-drive.svg" />
</CardGroup>
