Repository navigation
Open
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementpriority: mediumMedium priorityservice: platformPlatform service
Description
Summary
A person can now connect a coding agent to Tale by signing in from the agent, and it is on by default (#4926). It has been observed end to end with one real client, the Codex CLI, and with a stand-in agent. The other clients the guides will name were not driven end to end, because they need an interactive session or a hosted service. This issue tracks a manual round with each, so the documented steps are observed and not assumed.
What was observed (2026-10-13, a local stack, defaults untouched)
- Codex CLI:
codex mcp add tale --url <endpoint>, thencodex mcp login tale --no-browserwith the callback pasted on stdin. The backend fetched Codex's client metadata document fromchatgpt.com(log line[agent-oauth] client metadata document refreshed host=chatgpt.com), the person reached the consent page, Codex received a token, and the stored credential listed 39 tools over MCP (tools/listansweredokin the backend log). This run is what found that Codex asks for identity scopes beside the agent ones (openid profile email tale:organization …), which the endpoint now narrows instead of refusing. - A stand-in agent went through discovery, registration, consent, a call its access does not cover (refused), a refresh and a disconnect.
- Claude Code 2.1.296 (CLI): added with
claude mcp add --transport http tale <endpoint>, it shows "Needs authentication" from the endpoint's 401 challenge.claude mcp login tale --no-browser(run in a terminal) printed the authorization URL, the person signed in and chose the access on the consent page, and the redirect to Claude Code's local callback completed the sign-in (Authenticated with "tale");claude mcp listthen reportedtale … ✔ Connected, and the backend log shows its client metadata document read fromclaude.aiandserver/discoverandtools/listansweredok. Claude Code asked for exactly the scopes the endpoint lists (the agent scopes, no identity scopes). - Five agent lanes against real Postgres: 125 of 125 checks.
What was not observed
- Claude Code: the interactive
/mcpscreen (onlyclaude mcp loginwas run), and a tool call by the model. - Cursor, VS Code (agent mode), Gemini CLI, claude.ai (custom connector): not run at all. claude.ai also needs the deployment to be reachable from Anthropic's servers (the hardening page for operators lists their published range).
- Cursor's cloud agents: Cursor's documentation (read 2026-10-13) lists two callbacks,
http://localhost:8787/callbackfor the desktop app andhttps://www.cursor.com/agents/mcp/oauth/callbackfor the web and cloud agents. The first is a loopback redirect and is accepted; the second is a web redirect on a host that is not in the default list below, so a cloud agent would be refused unless an operator adds the host. - What each client sends at registration and at authorization. Registration with a web redirect is accepted only for
claude.ai,claude.com,chatgpt.com,vscode.devandinsiders.vscode.dev(DEFAULT_DCR_WEB_REDIRECT_HOSTSinservices/platform/backend/auth/agent-oauth-config.ts); a client with another web redirect would be refused, while a local loopback redirect is accepted (the list can be changed withTALE_MCP_DCR_WEB_REDIRECT_HOSTS). - Windows and WSL clients; a deployment behind a reverse proxy that does not forward the
.well-knownpaths (the operator guide has a path table).
What a round needs
- A throwaway deployment reachable from the client (for claude.ai, from the internet) and an owner account.
- The manual boxes:
services/platform/tests/manual/suites/auth.md(AUTH-F34toAUTH-F36,AUTH-B20,AUTH-A6) andservices/platform/tests/manual/suites/settings.md(SET-F85toSET-F88,SET-B38,SET-A11). - The vendors' own descriptions of sign-in, read on 2026-10-13: Claude Code
claude mcp add --transport httpthen/mcporclaude mcp login; Codexcodex mcp add … --urlthencodex mcp login, with CIMD or registration chosen automatically; claude.ai Customize › Connectors › Add custom connector (the OAuth client can be Claude's published identity or registered automatically, and the server must be reachable from Anthropic's network); opencodeopencode mcp auth <name>; Gemini CLIgemini mcp add --transport httpthen/mcp auth <name>; VS Code's documentation did not describe the sign-in. - For each client: the exact commands or clicks, what the client sent (read from the backend log and the Connected agents page), and the access the consent page offered, written down so the user guides can quote them.
Questions
- Which of these clients must be observed before the user guides name them as supported, and which can be listed as "should work, not verified"?
- Who runs the rounds that need a hosted client (claude.ai) or a paid plan?
Related
Metadata
Metadata
Assignees
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementpriority: mediumMedium priorityservice: platformPlatform service
Activity
yannickmonney commentedon Oct 13, 2026
Update 2026-10-14, after the connect dialog (#4958) and its follow-ups.
codex mcp add tale --url <endpoint>detects OAuth, starts the sign-in itself and ends with "Successfully logged in." once the person has answered the consent page; a latercodex mcp login talestarts a second sign-in. Run with Codex 0.162.0 while the dialog was open: the dialog changed from "Waiting for your agent to sign in…" to "Connected: Codex". The dialog and the guides gave two commands until fix(platform): give Codex one command that signs in #4962. Claude Code differs: itsaddonly adds ("Needs authentication"), andclaude mcp login taleis the second step.tale-review-bot commentedon Oct 31, 2026
Decision: Tale names a coding-agent client as supported only after its sign-in has been observed end to end and recorded. The four unobserved clients stay under Other until then, and the round that observes them needs a person.
The question. Which clients must be observed end to end before the connect dialog and the guides name them as supported, and who runs the rounds that the agents cannot run? (TALE-196, tale#4933)
Options weighed
List each documented client now as "should work, not verified". The cost: people would follow steps no one has run. The rounds so far found real differences:
addcommand, while Claude Code needs a secondloginstep (comment of 2026-10-14 on tale#4933).www.cursor.com, which the default list refuses. The list isDEFAULT_DCR_WEB_REDIRECT_HOSTSatservices/platform/backend/auth/agent-oauth-config.ts:21intale-project/talemaindf6105cef08a78084439c029d5917611c4adcf54.Unrun steps would be wrong in the same ways.
Observe before naming. This is the rule the connect dialog already follows: tabs for Claude Code and Codex, whose steps were run, and an Other tab with the address and the guide (same comment). The cost: people using Cursor, VS Code, Gemini CLI or claude.ai use Other until their client's round is done.
Decided: observe before naming, for every client. A client gets a tab in the connect dialog and its own steps in the user guides only after a round has observed it and recorded:
Until then, these clients reach Tale through Other. The reasons, in order: correctness of what Tale tells people, then consistency with how the dialog already works. TALE-200 (tale#4974) stays blocked on this round, and adds each client once its round is recorded.
Who runs the round: a person. Each client needs an account of its own:
Each also needs an interactive session, and claude.ai needs a deployment that Anthropic's servers can reach. No agent holds these accounts or can drive these apps. Creating or using an account in a person's name is an act only a person can do.
After the round:
What would change this decision: a vendor that publishes a scriptable, non-interactive sign-in an agent can run without an account. That client's round could then run in CI instead of by hand.
Waits for a person: run the manual sign-in round with Cursor (desktop app), VS Code (agent mode), Gemini CLI and claude.ai (custom connector).
Where: a throwaway Tale deployment, signed in as its owner, with agent sign-in on (the default). For claude.ai, the deployment must be reachable from Anthropic's servers.
What to do:
AUTH-F34–AUTH-F36,AUTH-B20andAUTH-A6inservices/platform/tests/manual/suites/auth.md, andSET-F85–SET-F88,SET-B38andSET-A11inservices/platform/tests/manual/suites/settings.md.What happens after: