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
- Make sure your
.env
file contains the following Supabase credentials: - Install the required dependencies:
Running the Server
Run the MCP server using:
Or use the npm script:
Connecting to AI Tools
Cursor
- Open Cursor and navigate to Cursor Settings.
- Under the Features tab, tap + Add new MCP server under the MCP Servers section.
- Enter the following details:
- Name: Supabase
- Type: command
- Command:
npx tsx /path/to/mcp-server.ts
- You should see a green active status after the server is successfully connected.
Claude Desktop
- Open Claude desktop and navigate to Settings.
- Under the Developer tab, tap Edit Config to open the configuration file.
- Add the following configuration:
- 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:
Or with a limit:
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.
This server cannot be installed
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.
Un servidor de protocolo de contexto de modelo que permite consultar sugerencias de características de una base de datos Supabase, lo que permite que herramientas de IA como Cursor y Claude accedan y muestren datos de solicitud de características.
Related MCP Servers
- -securityAlicense-qualityA 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 -8233TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI tools to interact with Supabase databases, providing tools for reading, creating, updating, and deleting records in Supabase tables.Last updated -PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows AI models to log and retrieve contact events with various authorities (police, fire, medical, etc.) with rate limiting and persistent storage via Supabase.Last updated -1TypeScript
- -securityAlicense-qualityA Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.Last updated -12TypeScriptMIT License