supabase mcp server

Local 2025-08-31 23:44:38 0

A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.


A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.

Features

Project Management

  • List all projects
  • Get project details
  • Create new projects
  • Delete projects
  • Retrieve project API keys

Organization Management

  • List all organizations
  • Get organization details
  • Create new organizations

Installation

Add the following to your Claude Config JSON file

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "y",
        "@joshuarileydev/supabase-mcp-server"
      ],
      "env": {
        "SUPABASE_API_KEY": "API_KEY_HERE"
      }
    }
  }
}

[
  {
    "description": "List all Supabase projects",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "ref": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "name": "list_projects"
  },
  {
    "description": "Get details of a specific Supabase project",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "ref": {
          "type": "string"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "name": "get_project"
  },
  {
    "description": "Create a new Supabase project",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "db_pass": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "organization_id": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "region": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "organization_id",
        "region",
        "db_pass"
      ],
      "type": "object"
    },
    "name": "create_project"
  },
  {
    "description": "Delete a Supabase project",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "ref": {
          "type": "string"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "name": "delete_project"
  },
  {
    "description": "List all organizations",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "name": "list_organizations"
  },
  {
    "description": "Get details of a specific organization",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "slug": {
          "type": "string"
        }
      },
      "required": [
        "slug"
      ],
      "type": "object"
    },
    "name": "get_organization"
  },
  {
    "description": "Create a new organization",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "billing_email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "billing_email"
      ],
      "type": "object"
    },
    "name": "create_organization"
  },
  {
    "description": "Get API keys for a specific Supabase project",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "name": "get_project_api_keys"
  }
]