Templates / Route MCP tool calls through an intelligent gateway with Claude AI

Route MCP tool calls through an intelligent gateway with Claude AI

Needs changes

by Oneclick AI Squad ✓ · 103 views · created 2026-02-22 · DevOps, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Anthropic Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate Auth and MCP Schema (Code): runs custom JavaScript code
  2. Lookup Tool in Registry (Google Sheets): uses Google Sheets
  3. Resolve Tool Config and Permissions (Code): runs custom JavaScript code
  4. Claude AI Intent and Safety Verification (AI Agent): runs an AI agent, with model: Claude AI Model
  5. Parse Intent Verification Result (Code): runs custom JavaScript code
  6. Check Rate Limit and Quota (Google Sheets): uses Google Sheets
  7. Wait: pauses before continuing
  8. Enforce Rate Limit and Build Execution Context (Code): runs custom JavaScript code
  9. Dry Run or Live Execution? (If): checks a condition and branches into true / false
  10. Execute Backend API Call (HTTP Request): calls an HTTP API

…plus 7 more steps. See the full node list below.

Services it uses

Google SheetsAnthropic Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Claude AI Intent and Safety Verification (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Claude AI Intent and Safety Verification (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

This workflow transforms traditional REST APIs into structured, AI-accessible MCP (Model Context Protocol) tools. It provides a unified gateway that allows Claude AI to safely, granularly, and auditibly interact with any business system — CRM, ERP, databases,…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.