Price Per TokenPrice Per Token
supabase-mcp-lite

supabase-mcp-lite

by pinion05

GitHub 1 41 uses Remote
0

About

Supabase MCP Lite is a lightweight MCP server for Supabase database operations that uses 70% less context and initializes 20x faster than standard implementations. It provides essential database access through just four streamlined tools: query data with filters and limits, execute mutations (insert, update, delete), manage Supabase Storage files (upload, list, download), and handle user authentication operations (create users, list users, manage passwords). Uses your Supabase Personal Access Token (sbp_*) to automatically fetch service role keys for any project you own, with results auto-truncated to 100 rows per query and simplified parameter schemas to minimize token consumption.

README

Supabase MCP Lite

Minimal Supabase MCP server - 70% less context usage than standard implementations.

Why Lite?

  • 4 tools instead of 50+ - Only essential operations
  • Minimal descriptions - No verbose explanations
  • Simple parameters - No complex nested schemas
  • Auto-truncated results - Max 100 rows per query
  • 🔑 Personal Access Token Required

    This MCP uses your Supabase Personal Access Token (starts with sbp_) to automatically fetch service role keys for any project you own.

    How to get your Personal Access Token:

    1. Go to https://supabase.com/dashboard/account/tokens 2. Click "Generate New Token" 3. Give it a name (e.g., "MCP Access") 4. Copy the token (starts with sbp_) 5. Save it securely - you won't be able to see it again!

    Setup

    1. Add to your MCP client configuration:

    {
      "supabase-lite": {
        "command": "npx",
        "args": ["@smithery/cli", "connect", "@pinion05/supabase-mcp-lite"],
        "config": {
          "accessToken": "sbp_xxxxxxxxxxxx"  // Your Personal Access Token
        }
      }
    }
    

    Note: Project URL is required for each tool call. The service role key will be fetched automatically using your access token.

    Tools (4)

    All tools require projectUrl as the first parameter.

    | Tool | Purpose | Parameters | |------|---------|------------| | select | Get data | projectUrl, table, where?, limit? | | mutate | Change data | projectUrl, action, table, data?, where? | | storage | Files | projectUrl, action, bucket, path?, data? | | auth | Users | projectUrl, action, email?, password?, id? |

    Examples

    // Select tool  
    select(
      projectUrl: "https://your-project.supabase.co",
      table: "posts", 
      where: {status: "published"}, 
      limit: 10
    )

    // Mutate tool mutate( projectUrl: "https://your-project.supabase.co", action: "insert", table: "todos", data: {title: "New task"} ) mutate( projectUrl: "https://your-project.supabase.co", action: "update", table: "todos", data: {done: true}, where: {id: 1} ) mutate( projectUrl: "https://your-project.supabase.co", action: "delete", table: "todos", where: {id: 1} )

    // Storage tool storage( projectUrl: "https://your-project.supabase.co", action: "upload", bucket: "images", path: "avatar.jpg", data: "base64..." ) storage( projectUrl: "https://your-project.supabase.co", action: "list", bucket: "images" )

    // Auth tool auth( projectUrl: "https://your-project.supabase.co", action: "list" ) auth( projectUrl: "https://your-project.supabase.co", action: "create", email: "user@example.com", password: "secure123" )

    How it Works

    1. You provide your Personal Access Token (sbp_xxx) 2. When you call a tool with a project URL, the MCP: - Extracts the project ID from the URL - Uses your access token to fetch the service role key via Supabase Management API - Caches the key for future requests to the same project - Creates a client with full admin access

    Security Notes

  • Personal Access Token gives access to ALL your Supabase projects
  • Service role keys are fetched automatically and cached in memory
  • Service role key bypasses Row Level Security (RLS)
  • Keep your access token secure - never expose it client-side
  • This tool is intended for server-side/admin use only
  • Features

  • ✅ Works with any Supabase project you own
  • ✅ Automatic service role key retrieval
  • ✅ Key caching to minimize API calls
  • ✅ Full database access (bypasses RLS)
  • ✅ Support for multiple projects in one session
  • License

    MIT

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81
    Saju Insights

    Saju Insights

    hjsh200219

    Saju Insights provides personalized Korean traditional Four Pillars of Destiny (Saju) fortune-telling based on birth data. It calculates destiny charts using the eight characters (four heavenly stems and four earthly branches) derived from birth year, month, day, and hour. Key capabilities include: - Birth chart calculation with automatic True Solar Time adjustment (Jintaeyangsi -30min correction) - Fortune analysis covering personality, career, wealth, health, and love prospects - Relationship compatibility analysis comparing two people's Saju charts - 10-year luck cycle (Daewon) predictions for long-term planning - Yongsin (favorable element) guidance on lucky colors, directions, and career paths - Lunar-solar calendar conversion supporting 1900-2200 with leap month handling - Daily fortune readings and seasonal power calculations - Multiple interpretation schools including Ziping, DTS, and modern methodologies

    Entertainment
    7 11