```json { "mcpServers": { "supabase": { "command": "npx", "args": [ "-y", "@supabase/mcp-server-supabase@latest", "--read-only", "--project-ref=" ], "env": { "SUPABASE_ACCESS_TOKEN": "" } } } } ``` Replace `` with your project ref, and `` with your personal access token. ```json { "mcpServers": { "supabase": { "command": "cmd", "args": [ "/c", "npx", "-y", "@supabase/mcp-server-supabase@latest", "--read-only", "--project-ref=" ], "env": { "SUPABASE_ACCESS_TOKEN": "" } } } } ``` 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=" ], "env": { "SUPABASE_ACCESS_TOKEN": "" } } } } ``` Replace `` with your project ref, and `` with your personal access token. Make sure that `node` and `npx` are available in your system `PATH`. Assuming `node` is installed, you can get the path by running: ```shell npm config get prefix ``` Then add it to your system `PATH` by running: ```shell setx PATH "%PATH%;" ``` Replacing `` with the path you got from the previous command. Finally restart {{ .app }} for the changes to take effect. ```json { "mcpServers": { "supabase": { "command": "wsl", "args": [ "npx", "-y", "@supabase/mcp-server-supabase@latest", "--read-only", "--project-ref=" ], "env": { "SUPABASE_ACCESS_TOKEN": "" } } } } ``` Replace `` with your project ref, and `` with your personal access token. This assumes you have Windows Subsystem for Linux (WSL) enabled and `node`/`npx` are installed within the WSL environment. ```json { "mcpServers": { "supabase": { "command": "npx", "args": [ "-y", "@supabase/mcp-server-supabase@latest", "--read-only", "--project-ref=" ], "env": { "SUPABASE_ACCESS_TOKEN": "" } } } } ``` Replace `` with your project ref, and `` with your personal access token.