The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Update MCP docs for connecting to Cursor (#33952)
Tyler02fe57e8b906
diff --git a/apps/docs/content/guides/getting-started/mcp.mdx b/apps/docs/content/guides/getting-started/mcp.mdxindex 49691b960a7..713d10e6df4 100644--- a/apps/docs/content/guides/getting-started/mcp.mdx+++ b/apps/docs/content/guides/getting-started/mcp.mdx@@ -67,17 +67,25 @@ Below are some ways to connect to the Postgres MCP server using popular AI tools#### Cursor-1. Open Cursor and navigate to **Cursor Settings**.-1. Under the **Features** tab, tap **+ Add new MCP server** under the **MCP Servers** section.-1. Enter the following details:+1. Open Cursor and open `.cursor/mcp.json` file. Create the file if it doesn't exist.+1. Add the following configuration:++ ```json+ {+ "mcpServers": {+ "supabase": {+ "command": "npx",+ "args": ["-y", "@modelcontextprotocol/server-postgres", "<connection-string>"]+ }+ }+ }+ ```- - **Name**: Supabase (or your project name)- - **Type**: command- - **Command**: `npx -y @modelcontextprotocol/server-postgres <connection-string>`+ Replace `<connection-string>` with your connection string.- (replace `<connection-string>` with your connection string)+1. Save the configuration file.-1. You should see a green active status after the server is successfully connected.+1. Open Cursor and navigate to **Settings/MCP**. You should see a green active status after the server is successfully connected.#### Claude desktop