Skip to content

Explain coding-agent sign-in in the user guides - #4948

Merged
yannickmonney merged 2 commits into
mainfrom
docs/agent-signin-guides
Oct 13, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
docs/agent-signin-guides

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

The user guides still told people that an agent needs an API key and that the MCP endpoint has no OAuth sign-in. Coding agents sign themselves in since #4926, so the guides now describe it, in English, German and French.

  • MCP endpoint (develop/mcp-endpoint): the two ways in, then Sign in from your agent: what the agent asks, reads and receives; who may connect; the access levels with the tools each opens; one organization per connection; how a connection ends. The errors table gains the refusals an agent can meet: the 401 challenge, 403 INSUFFICIENT_SCOPE, 403 ORG_MISMATCH and the tool-level INSUFFICIENT_SCOPE.
  • Use Tale from your editor (develop/use-tale-from-your-editor): Sign in or use a key, and the setup for Claude Code and Codex (both observed), opencode, Cursor and Claude on the web (the vendors' documented steps, said plainly not to have been tried here).
  • New page platform/admin/connected-agents, after API keys in the navigation: connect an agent, what the consent page asks, who may connect with what access, see and disconnect agents, what ends a connection, and what to do when it does not work.
  • Pointers and corrections: API keys, the assistant page, the API reference (the sign-in server also signs agents in, and they are the exception to "no dynamic registration, no refresh tokens"), rate limits (registration and refused token requests), the operator page, the developer overview, the admin overview, "Connect an external client with MCP", settings over MCP and the triggers page (each said MCP needs an API key). The environment reference still said "until it is complete, agents connect with an API key and both ways in stay off", which the flip in Turn on coding-agent sign-in and narrow Codex's scopes #4926 made false; it now says both are on unless set to false.
  • Settings > API > MCP now says that a coding agent signs itself in and links to Connected agents, only where agent sign-in is on and the person may connect one; the key is then described as the way for scripts and clients that cannot sign in. Elsewhere the page reads as before.
  • A guard: lib/mcp/endpoint-docs.test.ts holds the access levels of the page, in all three languages, to the tool inventory: one entry per scope an agent connection can hold, in the order the consent page teaches them, naming exactly the tools that list it first. The levels are a list, not a table: a table squeezed the scope names into a narrow column. Mutants of the page (a tool dropped from an entry, a tool under the wrong scope, a misspelled scope) all fail it.

Proof

  • Claude Code 2.1.296 signed in end to end on a local stack with claude mcp login tale --no-browser (consent page, redirect to its local callback, claude mcp list → connected, server/discover and tools/list answered ok). This is more than the first PR could say: its sign-in had only reached "Needs authentication". Codex was observed in Turn on coding-agent sign-in and narrow Codex's scopes #4926.
  • Gate on the committed tree, rebased on main at 0cf2c45fda (pinned bun 1.4.2): lint:links, lint:manual, lint:conflicts, knip, oxlint (type-aware) and both typechecks clean; shared 974 tests, platform server + pii 89 114, platform UI 8 108, the two changed browser files 16, docs 716 — all pass. oxfmt --check reports one file, skill-detail-pane.tsx from fix(skills): protect stale edits with entity tags #4192, which this change does not touch.
  • The pages rendered in the docs site: the new page and the new sections, at desktop width.
  • German and French were each read by an independent native-language reviewer against the UI catalogs and the glossary. Their findings are applied, with the matching clarity fixes in English where the English had the same flaw, including the blocking ones: a time that read as a count of calls (all three languages), a French pronoun that reversed the narrowing rule it described, and a French sentence that dropped "may". Kept on purpose: "Agent / des Agents" in German (the glossary pins only "Coding-Agent" and "Coding-Agents"), and the English labels of Claude's own screens, where the reviewers were unsure and the page already says they may change.

Not here

The user guides said an agent needs an API key and that the MCP endpoint
has no OAuth sign-in; since agents can sign themselves in, that is wrong.
The MCP endpoint page now describes the sign-in (what the agent asks, who
may connect, the access levels and the tools each opens, one organization,
how a connection ends) and the refusals an agent can meet (401 challenge,
INSUFFICIENT_SCOPE, ORG_MISMATCH). The editor guide gives the commands for
Claude Code and Codex, which were signed in end to end against a local
stack, and the vendor-documented steps for opencode, Cursor and Claude on
the web, saying which were not tried.

A new page, Connected agents, covers the consent page, who may connect and
with what access, how to see and disconnect agents, what ends a connection
and what to do when it does not work. The API keys, assistant, API
reference, rate limit and settings pages point to it or say what changed,
and the operator page links to it. The environment reference no longer
says both ways in stay off. English, German and French ship together.

The access levels are a list rather than a table, so the scope names keep
their width. A test holds that list to the tool inventory in all three
languages. It wants one entry per scope an agent connection can hold, in
the order the consent page teaches them, naming exactly the tools that
list it first.
Settings > API > MCP told everyone to authenticate with a REST API key,
which stopped being the whole story once agents can sign themselves in.
Where the deployment lets agents sign in and the person may connect one,
the page now says an agent signs itself in, names what the person chooses
and links to Connected agents, and leaves the key for scripts and the
clients that cannot sign in. Elsewhere it reads as before.
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