alexander-zuev_supabase-mcp-server

alexander-zuev_supabase-mcp-server

0

The Supabase MCP Server allows seamless integration between Cursor and Windsurf IDEs and a Supabase PostgreSQL database. It provides robust database management tools via the MCP protocol, supporting secure and efficient operations.

Supabase MCP Server

Let Cursor & Windsurf interact with Supabase

Implementation of Supabase MCP server enabling direct interaction between Cursor and Windsurf IDEs and Supabase PostgreSQL database. It includes database management tools integrating with these IDEs through the MCP protocol.

Key features

  • Works with both Windsurf and Cursor IDEs
  • Supports local and production Supabase projects
  • Built-in database exploration tools with schema insights
  • Secure read-only database access
  • SQL query validation

Prerequisites

  • Python 3.12+
  • PostgreSQL 16+
  • uv package manager

Installation

  1. Clone and setup environment
  2. Install dependencies

Usage

  • Connects to local Supabase project by default
  • Configure for production projects using environment variables

Cursor Setup

Add MCP server configuration for Cursor IDE.

Windsurf

Edit mcp_config.json to connect to the MCP server.

Development

  • Start the development server
  • Start your local Supabase instance

Future improvements

  • Support methods and objects available in native Python SDK
  • Improve SQL syntax validation