Get the FREE Ultimate OpenClaw Setup Guide →

supabase

MCP server from JoshuaRileyDev/supabase-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio joshuarileydev-supabase-mcp-server npx y @joshuarileydev/supabase-mcp-server \
  --env SUPABASE_API_KEY="API_KEY_HERE"

How to use

This MCP server provides programmatic access to the Supabase Management API through the MCP interface. It enables AI models and other clients to manage Supabase projects and organizations via a standardized, server-side set of commands. Available capabilities include listing and retrieving details for projects, creating and deleting projects, retrieving project API keys, and similarly listing, viewing, and creating organizations. To use the server, ensure you have a valid Supabase API key configured in the environment (SUPABASE_API_KEY). The server is invoked via npx with the specified package, allowing you to integrate Supabase management actions into your MCP workflows and tooling.

How to install

Prerequisites:

  • Node.js and npm/npx installed on your machine.
  • Access to a Supabase API key for authentication.

Installation steps:

  1. Ensure you have Node.js installed. If not, download from https://nodejs.org and install.
  2. In your Claude Config or environment, add the MCP server configuration:
{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "y",
        "@joshuarileydev/supabase-mcp-server"
      ],
      "env": {
        "SUPABASE_API_KEY": "API_KEY_HERE"
      }
    }
  }
}
  1. Replace API_KEY_HERE with your actual Supabase API key and save.
  2. Start or deploy your MCP environment as you normally would; the server will be available under the name "supabase" in the MCP configuration.

Additional notes

Notes and tips:

  • Ensure SUPABASE_API_KEY is kept secret and not exposed in client-side code.
  • The MCP server exposes project and organization management operations; handle permissions accordingly in your environment.
  • If you encounter authentication errors, verify that the API key has the necessary scopes for the operations you perform (list/create/delete projects and organizations).
  • When upgrading the MCP package, re-check the required env variables and any breaking changes in the package release notes.

Related MCP Servers

Sponsor this space

Reach thousands of developers