Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update mcp section (#41474)

Alan Daniel07beffc2eb14
diff --git a/apps/www/data/solutions/developers.tsx b/apps/www/data/solutions/developers.tsx
index 31a440f5da5..7749403a4db 100644
--- a/apps/www/data/solutions/developers.tsx
+++ b/apps/www/data/solutions/developers.tsx
@@ -823,83 +823,22 @@ The output should use the following instructions:
apiExamples: [
{
lang: 'json',
- title: 'macOS',
+ title: 'Hosted',
code: `{
-"mcpServers": {
- "supabase": {
- "command": "npx",
- "args": [
- "-y",
- "@supabase/mcp-server-supabase@latest",
- "--read-only",
- "--project-ref=<project-ref>"
- ],
- "env": {
- "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
- }
- }
-}
-}`,
- },
- {
- lang: 'json',
- title: 'Windows',
- code: `{
-"mcpServers": {
- "supabase": {
- "command": "cmd",
- "args": [
- "/c",
- "npx",
- "-y",
- "@supabase/mcp-server-supabase@latest",
- "--read-only",
- "--project-ref=<project-ref>"
- ],
- "env": {
- "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
- }
- }
-}
-}`,
- },
- {
- lang: 'json',
- title: 'Windows (WSL)',
- code: `{
-"mcpServers": {
- "supabase": {
- "command": "wsl",
- "args": [
- "npx",
- "-y",
- "@supabase/mcp-server-supabase@latest",
- "--read-only",
- "--project-ref=<project-ref>"
- ],
- "env": {
- "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ "mcpServers": {
+ "supabase": {
+ "url": "https://mcp.supabase.com/mcp"
}
}
-}
}`,
},
{
lang: 'json',
- title: 'Linux',
+ title: 'CLI',
code: `{
"mcpServers": {
"supabase": {
- "command": "npx",
- "args": [
- "-y",
- "@supabase/mcp-server-supabase@latest",
- "--read-only",
- "--project-ref=<project-ref>"
- ],
- "env": {
- "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
- }
+ "url": "http://localhost:54321/mcp"
}
}
}`,