# Configure the Calendar MCP server  |  Google Calendar  |  Google for Developers
URL: https://developers.google.com/workspace/calendar/api/guides/configure-mcp-server

Configure the Calendar MCP server | Google Calendar | Google for Developers

 Configure the Calendar MCP server

 Save and categorize content based on your preferences.

- On this page Expand/collapse contents
- Prerequisites
- Configure the Google Calendar MCP server

- Enable the APIs
- Enable the MCP services
- Set up the OAuth consent screen
- Configure your MCP client
- Test the Google Calendar MCP server
- Troubleshooting
- Tool reference
- Important security consideration: Indirect prompt injection
- Related topics
- Expand/collapse contents

Developer Preview: Available as part of the Google Workspace Developer Preview Program, which grants early access to certain features.

Google Calendar offers a remote Model Context Protocol (MCP) server that allows AI agents to securely interact with Google Calendar data. By configuring the Google Calendar MCP server, you enable AI applications like Google Antigravity and Claude to perform actions in Google Calendar.

The Google Calendar MCP server provides a standardized way for AI agents to:

- Read data: List calendars, retrieve events, and check availability.
- Take action: Create, update, and delete events.
- Respect security: Inherit the same permissions and data governance controls as the user.

## Prerequisites Copy link to this section: Prerequisites

- Membership in the Google Workspace Developer Preview Program.
- A Google Cloud project. To create a project, see Create a project.
- An MCP host, like Google Antigravity.
- To run the commands on this page, set up the gcloud CLI in a local development environment by following these steps:

1. Install the Google Cloud CLI. If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.
2. If you're using an external identity provider (IdP), sign in to the gcloud CLI with your federated identity. For more information, see Sign in to the gcloud CLI with your federated identity.
3. Initialize the gcloud CLI.

## Configure the Google Calendar MCP server Copy link to this section: Configure the Google Calendar MCP server

To use the Google Calendar MCP server, you must enable it in your Google Cloud project and then configure your MCP client to connect to it.

### Enable the APIs

To use the Google Calendar MCP server, you must enable the following API in your Google Cloud project:

- Google Calendar API

CLI

Console

gcloud services enable calendar-json.googleapis.com --project=

PROJECT_ID

Replace `PROJECT_ID` with your Google Cloud project ID.

Enable the APIs in the Google Cloud console:

Enable the APIs 

### Enable the MCP services

To enable the MCP components for Google Calendar, you must enable the following service in your Google Cloud project:

- Google Calendar MCP API

CLI

Console

gcloud services enable calendarmcp.googleapis.com --project=

PROJECT_ID

Replace `PROJECT_ID` with your Google Cloud project ID.

Enable the MCP services in the Google Cloud console:

Enable the MC