Files
Wen Bo Xie 61058a579a docs: describe personal access tokens as scoped (#52217)
## Problem

The [Personal Access Tokens
guide](https://supabase.com/docs/guides/platform/personal-access-tokens)
says tokens "come in two flavors: Classic tokens … Scoped tokens." The
Select Rewind blog post, the new Personal Access Tokens feature page,
and the launch community posts deliberately avoid that split. They
describe a token as something you scope and treat the full-access token
as an exception you can still create. Readers who follow "see the
Personal Access Tokens documentation" from those pieces land on the
opposite framing.

Three other guides that link to the PAT page also call it a "scoped
personal access token" as if it were a separate product.

## Solution

This PR rewrites the PAT guide around scoping as the default and stops
using "classic" and "scoped" as names for kinds of token. "Scoped"
appears only as a verb or a state ("scope a token", "scoped by
default"). "Legacy" appears only as the literal Dashboard badge.

- **`guides/platform/personal-access-tokens.mdx`**
- Replaces the two-flavors list with an intro that explains scoping
first and the full-access exception (shown with the **Legacy** badge)
second.
- Renames "Create and use a scoped personal access token" to "Scope a
token and use it" and "Use a scoped personal access token with the
Supabase CLI" to "Use a token with the Supabase CLI".
- **`guides/ai-tools/mcp.mdx`**,
**`guides/getting-started/api-keys.mdx`** and
**`guides/deployment/managing-environments.mdx`** reword "scoped
personal access token" to describe a state rather than a token type.
- **`spec/sections/generateAccessControlPartials.mts`** changes the MCP
tools fallback label from "Not available to scoped personal access
tokens" to "Not available to personal access tokens with a scope".
Because no tool hits this branch today, the generated partials don't
change.

The permissions, CLI behavior, `sbp_fc` prefix and examples stay the
same.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-23 15:06:21 +02:00
..