Skip to content

Commit 286d548

Browse files
committed
docs: SUPABASE_ACCESS_TOKEN env var
1 parent 3d27788 commit 286d548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Next, configure your MCP client (such as Cursor) to use this server. Most MCP cl
4444
}
4545
```
4646

47-
Replace `<personal-access-token>` with the token you created in step 1. If you are on Windows, you will need to [prefix this command](#windows).
47+
Replace `<personal-access-token>` with the token you created in step 1. Alternatively you can omit `--access-token` and instead set the `SUPABASE_ACCESS_TOKEN` environment variable to your personal access token (you will need to restart your MCP client after setting this). This allows you to keep your token out of version control if you plan on committing this configuration to a repository.
4848

49-
If your MCP client doesn't accept JSON, the direct CLI command is:
49+
If you are on Windows, you will need to [prefix the command](#windows). If your MCP client doesn't accept JSON, the direct CLI command is:
5050

5151
```shell
5252
npx -y @supabase/mcp-server-supabase@latest --access-token=<personal-access-token>

0 commit comments

Comments
 (0)