dkeesey
MCP Serverdkeeseypublic

supabase kb

kb for using supabase, esp w ai tooling

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

kb for using supabase, esp w ai tooling

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Supabase Knowledge Base

This knowledge base provides a comprehensive guide to Supabase, focusing on practical implementation patterns and best practices for developers. It's designed to be a reference when working with AI coding assistants like Claude Desktop, Cursor, or Windsurf.

Official Resources

  • Supabase Documentation
  • Supabase GitHub
  • Supabase Blog
  • Supabase Dashboard

Contents

  1. Core Concepts - Overview of Supabase architecture and components
  2. Authentication - Implementing user authentication and authorization
  3. Database - PostgreSQL database management and best practices
  4. Edge Functions - Serverless function development and deployment
  5. Storage - File storage implementation and security
  6. Realtime - Real-time data synchronization
  7. Security Best Practices - Row Level Security and other security considerations
  8. Common Integration Patterns - Patterns for integrating with third-party services
  9. AI Prompts Guide - Effective prompts for Supabase development with AI assistants
  10. MCP Configuration - Setting up Model Context Protocol for Cursor, Windsurf, and Claude Desktop
  11. Performance Optimization - Database and API performance tuning
  12. Deployment and CI/CD - Setting up deployment workflows
  13. Troubleshooting - Common issues and their solutions

How to Use This Knowledge Base

This knowledge base is designed to be both a learning resource and a practical reference. Each section contains:

  • Conceptual overviews
  • Code examples
  • Implementation patterns
  • Best practices
  • Common pitfalls to avoid

When working with AI coding assistants, you can reference specific sections of this knowledge base to provide context for your questions or to guide the AI in generating accurate, best-practice code for Supabase-related functionality.

Getting Started

If you're new to Supabase, start with the Core Concepts guide to understand the fundamental architecture and capabilities. Then, explore specific areas based on your immediate needs.

For setting up a new project, follow this general sequence:

  1. Read Core Concepts
  2. Set up Authentication
  3. Design your Database schema
  4. Implement Security Best Practices
  5. Add additional features as needed (Storage, Edge Functions, Realtime)

Supabase CLI Installation and Common Commands

Installation (macOS)

# Install via Homebrew
brew install supabase/tap/supabase

# Verify installation
supabase --version

Local Development Commands

# Initialize a new project
supabase init

# Start Supabase locally
supabase start

# Check status of local services
supabase status

# Stop local services
supabase stop

Database Management Commands

# Create a new migration
supabase migration new my_migration_name

# Apply migrations
supabase db reset

# Generate types based on your schema
supabase gen types typescript --local > types/supabase.ts

Edge Functions Commands

# Create a new Edge Function
supabase functions new my-function-name

# Deploy an Edge Function to production
supabase functions deploy my-function-name

# Serve Edge Functions locally for testing
supabase functions serve

Project Management Commands

# Link to a remote project
supabase link --project-ref your-project-ref

# Get project configuration
supabase config get

# List all remote projects
supabase projects list

Secrets Management Commands

# Set secret for Edge Functions
supabase secrets set MY_SECRET=value

# List all secrets
supabase secrets list

Quick Start

1

Clone the repository

git clone https://github.com/dkeesey/supabase-kb
2

Install dependencies

cd supabase-kb
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerdkeesey
Reposupabase-kb
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation