# Build an MCP server with Google Calendar: n8n workflow template

> Started by someone opening a chat with it, and works across Google Calendar. It puts OpenAI behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/build-an-mcp-server-with-google-calendar (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Setup and learning](https://millionrounds.com/workflows?category=Setup+and+learning#library)

# Build an MCP server with Google Calendar

Started by someone opening a chat with it, and works across Google Calendar. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-an-mcp-server-with-google-calendar)

**22 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 4 Model 8 Logic 4 Service 6

The steps in the order they run, from what starts it.

- 1 **SearchEvent** Google Calendar Tool *Service*
- 2 **CreateEvent** Google Calendar Tool *Service*
- 3 **UpdateEvent** Google Calendar Tool *Service*
- 4 **DeleteEvent** Google Calendar Tool *Service*
- 5 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 6 **Convert Text** Tool Workflow *Model*
- 7 **When chat message received** Chat trigger *Starts it*
- 8 **Simple Memory** Memory Buffer Window *Model*
- 9 **Calendar MCP** Mcp Client Tool *Model*
- 10 **My Functions** Mcp Client Tool *Model*
- 11 **Generate random user data** Tool Workflow *Model*
- 12 **Random Jokes** Tool Workflow *Model*
- 13 **OpenAI 4o** Lm Chat Open Ai *Model*
- 14 **Google Calendar MCP** Mcp trigger *Starts it*
- 15 **Switch** Switch *Logic*
- 16 **My Functions Server** Mcp trigger *Starts it*
- 17 **AI Agent** Agent *Model*
- 18 **Convert Text to Upper Case** Set *Logic*
- 19 **Convert Text to Lower Case** Set *Logic*
- 20 **Random user data** Debug Helper *Service*
- 21 **Joke Request** Http Request *Service*
- 22 **Return only some fields** Set *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 22, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Calendar
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Google Calendar account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-an-mcp-server-with-google-calendar)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)

## Workflows like it

Also setup and learning, with the same services where possible, closest in size first.

- [**CFO sunrise: Soft-Tech morning brief** 12 steps · calls a model · Email, Google Calendar](https://millionrounds.com/workflow/cfo-sunrise-soft-tech-morning-brief)
- [**Build an MCP server with Google Calendar** 10 steps · calls a model · Google Calendar](https://millionrounds.com/workflow/build-an-mcp-server-with-google-calendar-2)
- [**Google Calendar MCP server for AI agent** 7 steps · Google Calendar](https://millionrounds.com/workflow/google-calendar-mcp-server-for-ai-agent)
