Supabase MCP Server

by adiletD

Integrations

  • Allows querying of the feature_suggestions table in a Supabase database, with optional limits on the number of records returned.

Supabase MCP Server

This is a Model Context Protocol (MCP) server that connects to Supabase and allows you to query the feature_suggestions table.

Prerequisites

  • Node.js (v16 or higher)
  • npm
  • Supabase project with credentials

Setup

  1. Make sure your .env file contains the following Supabase credentials:
    SUPABASE_URL=your_supabase_url SUPABASE_ANON_KEY=your_supabase_anon_key
  2. Install the required dependencies:
    npm install

Running the Server

Run the MCP server using:

npx tsx mcp-server.ts

Or use the npm script:

npm run dev

Connecting to AI Tools

Cursor

  1. Open Cursor and navigate to Cursor Settings.
  2. Under the Features tab, tap + Add new MCP server under the MCP Servers section.
  3. Enter the following details:
    • Name: Supabase
    • Type: command
    • Command: npx tsx /path/to/mcp-server.ts
  4. You should see a green active status after the server is successfully connected.

Claude Desktop

  1. Open Claude desktop and navigate to Settings.
  2. Under the Developer tab, tap Edit Config to open the configuration file.
  3. Add the following configuration:
    { "mcpServers": { "supabase": { "command": "npx", "args": ["tsx", "/path/to/mcp-server.ts"] } } }
  4. Save the configuration file and restart Claude desktop.

Available Tools

query_feature_suggestions

Query the feature_suggestions table in your Supabase database.

Parameters:

  • limit (number, optional): Maximum number of records to return (default: 100)

Example usage in AI tool:

Can you show me feature suggestions from the database?

Or with a limit:

Can you show me the top 10 feature suggestions?

Troubleshooting

  • If you encounter connection issues, make sure your Supabase credentials are correct.
  • Check the console output for any error messages.
  • Ensure that the feature_suggestions table exists in your Supabase database.
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that enables querying feature suggestions from a Supabase database, allowing AI tools like Cursor and Claude to access and display feature request data.

  1. Prerequisites
    1. Setup
      1. Running the Server
        1. Connecting to AI Tools
          1. Cursor
          2. Claude Desktop
        2. Available Tools
          1. query_feature_suggestions
        3. Troubleshooting

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to explore and interact with Cursor IDE's SQLite databases, providing access to project data, chat history, and composer information.
            Last updated -
            10
            Python
            • Apple
          • A
            security
            F
            license
            A
            quality
            A starter template for building Model Context Protocol servers that can be integrated with Cursor or Claude Desktop, allowing developers to create custom tools and extensions for AI assistants.
            Last updated -
            1
            6
            9
            TypeScript
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude and other LLMs to perform database operations and invoke Edge Functions within Supabase through natural language.
            Last updated -
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.
            Last updated -
            9
            3
            TypeScript
            MIT License

          View all related MCP servers

          ID: q0r0dogm3j