Supabase MCP Server
A server for querying and managing data in a Supabase database.
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
.envfile contains the following Supabase credentials:SUPABASE_URL=your_supabase_url SUPABASE_ANON_KEY=your_supabase_anon_key -
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
- 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:
{ "mcpServers": { "supabase": { "command": "npx", "args": ["tsx", "/path/to/mcp-server.ts"] } } } - 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.
Related Servers
OrionBelt Semantic Layer
API-first engine and MCP server that transforms declarative YAML model definitions into optimized SQL for Postgres, Snowflake, ClickHouse, Dremio, and Databricks
Amazon Neptune
Query Amazon Neptune databases using openCypher, Gremlin, and SPARQL. Supports both Neptune Database and Neptune Analytics.
Seatable
A comprehensive Model Context Protocol (MCP) server for SeaTable that exposes end‑to‑end database capabilities (schema introspection, CRUD, querying, linking, select option management, and file attachment stubs) through 18+ rigorously defined tools.
PostgreSQL MCP Server by CData
A read-only MCP server for PostgreSQL, enabling LLMs to query live data from PostgreSQL databases.
MCP ODBC Server
Access ODBC-accessible data sources using a configured Data Source Name (DSN).
Unity Catalog MCP Server
An MCP server that allows LLM agents to seamlessly execute functions within Unity Catalog.
Salesforce MCP Server
Enables natural language interaction with Salesforce data. Query, modify, and manage Salesforce objects and records.
Fireproof
Immutable ledger database with live synchronization
Veeva MCP Server by CData
A read-only MCP server by CData that enables LLMs to query live data from Veeva.
Verodat
Interact with Verodat AI Ready Data platform