windsurf-supabase-mcp

windsurf-supabase-mcp

2

The Windsurf Supabase MCP Server is designed to improve Supabase integration by enhancing error handling, response formatting, and SQL to REST conversion, specifically for use with the Windsurf Editor.

Windsurf Supabase MCP Server

A Windsurf-optimized MCP server for Supabase integration

This repository contains a Windsurf-optimized version of the Supabase MCP server, enhanced for seamless operation with the Windsurf Editor. It adds improvements in error handling, response formatting, and SQL to REST conversion. Key features include:

Key Modifications for Windsurf

  • Enhanced Error Handling: Provides structured error responses, improved messages, and validation for SQL queries.
  • Response Formatting: Standardizes JSON structure, adds metadata, and supports complex data structures.
  • SQL to REST Conversion: Supports complex SQL operations and improves query validation.
  • Authentication & Headers: Enhances API key and token management, header handling, and security validation.

Integration with Windsurf

The server facilitates real-time query validation and optimized response formatting for UI components in the Windsurf Editor.

Installation

  1. Clone this repository.
  2. Install dependencies.
  3. Configure your Supabase connection.

Usage with Windsurf

Provides tools like postgrestRequest for API access and sqlToRest for SQL conversion.

Contributing

Contributions are welcome as per the guidelines provided in the repository.

License

This project is licensed under the MIT License.