Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Build an MCP Server with Google Calendar and Custom Functions

n8n template #3514
Learn how to build an MCP Server and Client in n8n with official nodes. > ⚠ Requires n8n version 1.88.0 or higher. In this example, we use Google Calendar and custom functions as two separate MCP Servers, demonstrating how to integrate both native and custom tools. How it works The AI Agent connects to two MCP Servers. Each MCP Trigger (Server) generates a URL exposing its tools. This URL is used by an MCP Client linked to the AI Agent. Whenever you make changes to the tools, there’s no need to modify the MCP Client. It automatically keeps the AI Agent informed on how to use each tool, even if you change them over time. That’s the power of MCP 🙌 Who is this template for Anyone looking to

How to set it up

  1. Open template #3514 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: DebugHelper, OpenAI Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Build an MCP Server with Google Calendar and Custom Functions" (https://n8n.io/workflows/3514). It uses: HTTP Request, DebugHelper, AI Agent, OpenAI Chat Model, Simple Memory, Call n8n Workflow Tool, MCP Client Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Solomon published it free on n8n.io as a verified creator, and it has 49K views. It runs on n8n Cloud or a self-hosted n8n instance.

DebugHelper, OpenAI Chat Model. The other 5 nodes are built into n8n.

Similar workflows

NameViews
  1. Explore n8n Nodes in a Visual Reference Library5,197
  2. Build Your First AI Data Analyst Chatbot134K
  3. Create a Branded AI-Powered Website Chatbot88K
  4. Telegram AI bot with LangChain nodes59K
  5. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  6. AI Youtube Trend Finder Based On Niche55K
  7. Build your own N8N Workflows MCP Server46K
  8. Scrape business leads from Google Maps using OpenAI and Google Sheets44K