Skip to content

Commit 1669a18

Browse files
authored
feat: add npx example for windows (supabase#37596)
1 parent b3d2dc6 commit 1669a18

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

apps/docs/content/_partials/mcp_supabase_config.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,28 @@
5454
}
5555
```
5656

57+
Or, if using `pnpm` instead of `npm`
58+
59+
```json
60+
{
61+
"mcpServers": {
62+
"supabase": {
63+
"command": "cmd",
64+
"args": [
65+
"/c",
66+
"pnpm",
67+
"dlx",
68+
"@supabase/mcp-server-supabase@latest",
69+
"--read-only",
70+
"--project-ref=<project-ref>"
71+
],
72+
"env": {
73+
"SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
74+
}
75+
}
76+
}
77+
}
78+
```
5779
Replace `<project-ref>` with your project ref, and `<personal-access-token>` with your personal access token.
5880

5981
<Admonition type="note">

0 commit comments

Comments
 (0)