Skip to content

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

feat: add npx example for windows (#37596)

AnikG1669a1803b6b
diff --git a/apps/docs/content/_partials/mcp_supabase_config.mdx b/apps/docs/content/_partials/mcp_supabase_config.mdx
index fd5068f69fb..b902d865d8e 100644
--- a/apps/docs/content/_partials/mcp_supabase_config.mdx
+++ b/apps/docs/content/_partials/mcp_supabase_config.mdx
@@ -54,6 +54,28 @@
}
```
+Or, if using `pnpm` instead of `npm`
+
+ ```json
+ {
+ "mcpServers": {
+ "supabase": {
+ "command": "cmd",
+ "args": [
+ "/c",
+ "pnpm",
+ "dlx",
+ "@supabase/mcp-server-supabase@latest",
+ "--read-only",
+ "--project-ref=<project-ref>"
+ ],
+ "env": {
+ "SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
+ }
+ }
+ }
+ }
+ ```
Replace `<project-ref>` with your project ref, and `<personal-access-token>` with your personal access token.
<Admonition type="note">