Block 1 - AI Agent
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 1.8
This workflow is provided as-is. Please review and test before using in production.
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 MC...
@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlecalendartool, @n8n/n8n-nodes-langchain.mcptrigger, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.switch, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.chattrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Solomon.
Original n8n.io sourceLearn 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.
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 🙌
Anyone looking to use MCP with their AI Agents.
Instructions are included within the workflow itself.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 33 workflow blocks. Download the JSON for the full node graph.
| Workflow | Build an MCP server with Google Calendar and custom functions |
|---|---|
| Complexity | advanced |
| Nodes | 33 |
| Categories | Engineering, AI RAG |
| Author | Solomon |
| Published | 10 Apr 2025 |
Use the JSON export at /data/workflows/3514/3514.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 MC...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.