MCP Supabase agent – manage your database with AI
Needs changesNeeds 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 to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- Supabase Tool
n8n-nodes-base.supabaseTool - MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool
What it does
Hi, I’m Amanda 🌷 This workflow was built with love to help you manage your Supabase database using natural language, powered by the MCP (Multi-Channel Protocol) AI Agent on n8n. With just a message like “update the status to active where city is New York”, your agent will know exactly what to do — safely, step by step, and always asking for confirmation before deleting anything. It’s ideal for developers who want a smart assistant to create, update, delete or search database records without writing SQL or opening Supabase. --- What this workflow does - Receives messages through a chat interface or webhook - Translates them into actions using GPT-4o (via LangChain Agent) - Interacts with Supabase using a custom MCP tool - Supports create, update, delete, search (single or all rows) - Handles confirmations, validations, and missing data checks --- Setup (quick and easy 💫) 1. Connect your Supabase credentials 2. Adjust your table and field names 3. Link the MCP webhook to your AI frontend (Typebot, WhatsApp, etc.) 4. Customize the system message to reflect your tone of voice 5. Start chatting — your agent is ready to assist! --- ✅ Works on n8n Cloud and Self-Hosted 🧠 Built with GPT-4o + LangChain + Supabase + MCP Trigger 💡 No code or SQL required --- Want it tailored to your project? ❤️ Buy Workflows: https://iloveflows.gumroad.com 💬 Hire My Services: +5517991557874 (WhatsApp)