Supabase MCP Server

Databasestdiov0.3.0
Repositorio

Official Supabase MCP server for database and backend integration. Enables AI agents to query PostgreSQL databases, manage tables and schemas, handle authentication users, interact with storage buckets, and invoke edge functions. Provides full access to Supabase project management including migrations and type generation.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server"
      ],
      "env": {
        "SUPABASE_URL": "<YOUR_SUPABASE_URL>",
        "SUPABASE_SERVICE_ROLE_KEY": "<YOUR_SUPABASE_SERVICE_ROLE_KEY>"
      }
    }
  }
}

Herramientas (4)

execute_sql

Execute a SQL query against the Supabase PostgreSQL database.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query to execute"
    },
    "params": {
      "type": "array",
      "description": "Query parameters for parameterized queries"
    }
  }
}

list_tables

List all tables in the database with their schemas and row counts.

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "description": "Schema name (default public)"
    }
  }
}

get_table_schema

Get the column definitions and constraints for a specific table.

{
  "type": "object",
  "required": [
    "table"
  ],
  "properties": {
    "table": {
      "type": "string",
      "description": "Table name"
    },
    "schema": {
      "type": "string",
      "description": "Schema name (default public)"
    }
  }
}

manage_storage

Upload, download, or list files in Supabase Storage buckets.

{
  "type": "object",
  "required": [
    "action",
    "bucket"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "File path within the bucket"
    },
    "action": {
      "type": "string",
      "description": "Action to perform (list, upload, download, delete)"
    },
    "bucket": {
      "type": "string",
      "description": "Storage bucket name"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Supabase (@supabase)
Repositorio
https://github.com/supabase-community/supabase-mcp
Licencia
Apache-2.0
Versión
0.3.0
Estrellas
2,706
Última actualización
25 de mayo de 2026