MCP Supabase Server for AI Agent with RAG & Multi-Tenant CRUD
n8n template #3675Summary
Use templateSupabase AI Agent with RAG & Multi-Tenant CRUD Version: 1.0.0 n8n Version: 1.88.0+ Author: Koresolucoes License: MIT Description A stateful AI agent workflow powered by Supabase and Retrieval-Augmented Generation (RAG). Enables persistent memory, dynamic CRUD operations, and multi-tenant data isolation for AI-driven applications like customer support, task orchestration, and knowledge management. Key Features: 🧠 RAG Integration: Leverages OpenAI embeddings and Supabase vector search for context-aware responses. 🗃️ Full CRUD: Manage agentmessages, agenttasks, agentstatus, and agentknowledge in real time. 📤 Multi-Tenant Ready: Supports per-user/organization data isolation via dynamic table
How to set it up
- Open template #3675 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 2 credentials under Credentials → Add credential: Embeddings OpenAI, Supabase Vector Store. Then open each of those nodes and pick the credential.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- 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 "MCP Supabase Server for AI Agent with RAG & Multi-Tenant CRUD" (https://n8n.io/workflows/3675). It uses: Embeddings OpenAI, Supabase Vector Store. 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. Luciano Gutierrez published it free on n8n.io as a verified creator, and it has 12K views. It runs on n8n Cloud or a self-hosted n8n instance.
Embeddings OpenAI, Supabase Vector Store. The other 0 nodes are built into n8n.
Similar workflows
NameViews
- AI Agent To Chat With Files In Supabase Storage68K
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
- Supabase Insertion & Upsertion & Retrieval24K
- Upsert huge documents in a vector store with Supabase and Notion12K
- WordPress - AI Chatbot to enhance user experience - with Supabase and OpenAI11K
- AI-Powered RAG Document Processing & Chatbot with Google Drive, Supabase, OpenAI11K
- Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG10K
- Store Notion's Pages as Vector Documents into Supabase with OpenAI6,262