* On this page
* 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
* [Home](https://developers.google.com/)
* [Google Workspace](https://developers.google.com/workspace)
* [Google Calendar](https://developers.google.com/workspace/calendar)
* [MCP server](https://developers.google.com/workspace/calendar/api/guides/configure-mcp-server)

...

# Configure the Calendar MCP server Stay organized with collections Save and categorize content based on your preferences.
* On this page
* 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
**Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview) ,
which grants early access to certain features.

...

## Prerequisites
* Membership in the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview) .
* A Google Cloud project. To create a project, see [Create a project](https://developers.google.com/workspace/guides/create-project) .
* An MCP host, like [Google Antigravity](https://antigravity.google/) .
* To run the commands on this page, set up the gcloud CLI in a local
development environment by following these steps:
1.

...

## Tool reference
The following tools are available for the Google Calendar MCP server:
* `create_event`
* `delete_event`
* `get_event`
* `list_calendars`
* `list_events`
* `respond_to_event`
* `suggest_time`
* `update_event`

...

## Important security consideration: Indirect prompt injection
To mitigate these risks, you must screen prompts and responses for malicious
content or prompt injection attacks. You can use the Google-provided
Model Armor or you can use your own solution if you document it in
order for users to accept that risk. For more information, see [Configure security for Google Workspace MCP servers](https://developers.google.com/workspace/guides/configure-mcp-security) .

...

## Related topics
* [Blog](https://developers.googleblog.com/search/?query=Google+Workspace)
Read the Google Workspace Developers blog
* [Stack Overflow](https://stackoverflow.com/questions/tagged/google-calendar-api)
Ask questions with the google-calendar-api tag
* [file_download Client libraries](https://developers.google.com/workspace/calendar/api/downloads)
Download a client library for your preferred language