---
title: "Google Calendar Integration"
description: "Manage Google Calendar events and schedules"
---
The Google Calendar integration provides access to manage Google Calendar events and schedules through the Integrate MCP server.

## Installation

The Google Calendar integration is included with the SDK:

```typescript
import { googleCalendarIntegration } from "integrate-sdk/server";
```

## Setup

### 1. Create a Google Calendar OAuth App

1. Go to [Google Cloud Console](https://console.cloud.google.com)
2. Create a new OAuth application
3. Configure your redirect URI
4. Note your Client ID and Client Secret

### 2. Configure the Integration on Your Server

Add the Google Calendar integration to your server configuration. The integration automatically reads `GOOGLE_CALENDAR_CLIENT_ID` and `GOOGLE_CALENDAR_CLIENT_SECRET` from your environment variables:

```typescript
import { createMCPServer, googleCalendarIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    googleCalendarIntegration({
    }),
  ],
});
```

You can override the environment variables by passing explicit values:

```typescript
googleCalendarIntegration({
  clientId: process.env.CUSTOM_GOOGLE_CALENDAR_ID,
  clientSecret: process.env.CUSTOM_GOOGLE_CALENDAR_SECRET,
});
```

### 3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

```typescript
import { client } from "integrate-sdk";

await client.authorize("google_calendar");
const result = await client.google_calendar.listCalendars({});

console.log(result);
```

If you're using a custom client, add the integration to the integrations array:

```typescript
import { createMCPClient, googleCalendarIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [googleCalendarIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/google_calendar.ts"
  name="GoogleCalendarIntegrationConfig"
/>


## Tools

### `google_calendar_create_calendar`

Create a new calendar

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarCreateCalendarParams"
/>

### `google_calendar_create_event`

Create a new event

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarCreateEventParams"
/>

### `google_calendar_delete_calendar`

Delete a calendar

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarDeleteCalendarParams"
/>

### `google_calendar_delete_event`

Delete an event

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarDeleteEventParams"
/>

### `google_calendar_freebusy`

Calendar freebusy

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarFreebusyParams"
/>

### `google_calendar_get_calendar`

Get a specific calendar

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarGetCalendarParams"
/>

### `google_calendar_get_event`

Get a specific event

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarGetEventParams"
/>

### `google_calendar_list_attendees`

List attendees for an event

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarListAttendeesParams"
/>

### `google_calendar_list_calendars`

List calendars

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarListCalendarsParams"
/>

### `google_calendar_list_events`

List events in a calendar

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarListEventsParams"
/>

### `google_calendar_quick_add`

Quickly add an event using natural language

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarQuickAddParams"
/>

### `google_calendar_update_event`

Update an existing event

<AutoTypeTable
  path="generated/tool-params/google_calendar.ts"
  name="GoogleCalendarUpdateEventParams"
/>

## Notes

- Category: Productivity
- Authentication mode: OAuth
