Skip to content

Commit 90739af

Browse files
authored
docs: fix Claude Code MCP installation command syntax (supabase#36570)
Add missing -- separator in claude mcp add command. Without this separator, the CLI incorrectly interprets 'npx' as an environment variable instead of the command to execute, causing installation to fail. Fixes the command: claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token npx -y @supabase/mcp-server-supabase@latest To work correctly as: claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token -- npx -y @supabase/mcp-server-supabase@latest
1 parent 4b8d5f5 commit 90739af

File tree

1 file changed

+1
-1
lines changed
  • apps/docs/content/guides/getting-started

1 file changed

+1
-1
lines changed

apps/docs/content/guides/getting-started/mcp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ You can also add the Supabase MCP server as a locally-scoped server, which will
117117
1. Run the following command in your terminal:
118118

119119
```bash
120-
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=your_token_here npx -y @supabase/mcp-server-supabase@latest
120+
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=your_token_here -- npx -y @supabase/mcp-server-supabase@latest
121121
```
122122

123123
Locally-scoped servers take precedence over project-scoped servers with the same name and are stored in your project-specific user settings.

0 commit comments

Comments
 (0)