Skip to content

docs: scopes, and what connecting an app grants - #81

Merged
a-essawy merged 2 commits into
mainfrom
docs/scopes-and-connected-apps
Aug 31, 2026
Merged

docs: scopes, and what connecting an app grants#81
a-essawy merged 2 commits into
mainfrom
docs/scopes-and-connected-apps

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

Scopes went live on the API today. Two commits:

  • 8c7b51c corrects the MCP page, which claimed the server gives a client 10 tools (it is more, and the number had already been wrong twice, so it is gone rather than replaced), and adds how to review and revoke a connected app including the one-hour caveat on a token it already holds.
  • 40f1ea5 adds concepts/scopes.mdx: the six resources and their read/write scopes, write includes read, self-description is never scoped, narrowing a key at creation and the two limits every key has, what a consent screen asks, and the insufficient_scope response with its WWW-Authenticate header.

The changelog entry published today links to /docs/concepts/scopes, so this needs to land for that link to resolve.

All four repo validators pass: frontmatter, nav and redirects, plan limits, webhooks.

The page said the server gives a client 10 tools. It is more than that,
and the number was already wrong twice — dropped rather than replaced,
since a count in prose goes stale every time the surface changes.

Adds where connected apps are managed and what revoking actually does,
including the part that can surprise: the grant and every stored token go
immediately, but an access token the app already holds stays valid until
it expires, under an hour.
…mes one

A public API that refuses a caller by naming a scope has to document what
the scopes are, and there was nowhere to look them up — the word appeared
zero times across quickstart, sdk, cli and build-with-ai.

Covers the six resources and their read and write scopes, that write
includes read, that self-description is never scoped, how to narrow a key
at creation and the two limits every key has, what a consent screen is
asking and that a grant is bound to one workspace, and the insufficient_scope
response with its WWW-Authenticate header.

SHIPS WITH ENFORCEMENT, not before. The 403 section describes behaviour
production does not have yet: scopes are recorded and reported today, and
refused once SCOPE_ENFORCEMENT is on. See the rollout runbook in the
monorepo.
@a-essawy
a-essawy merged commit 18aa966 into main Aug 31, 2026
2 checks passed
@a-essawy
a-essawy deleted the docs/scopes-and-connected-apps branch August 31, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant