extension_auth_login
Sign in to an extension.dev project (a code at extension.dev/device, then deviceCode), or clear stored logins.
Quick start
Log this machine in to the acme/newtab project on extension.dev
How the agent uses it
Answers the login; extension_auth_read lists them. A login lasts a day, or what lifetime says (CI: Access tokens).
Page text in the answer
Part of this tool's answer is text a web page or the extension wrote. The server fences it between <untrusted-data-ID> and </untrusted-data-ID> with a fresh random ID per call, named in untrusted.boundary. A fence is a signal to the model, not a gate: pair it with --no-ship when the agent reads pages you do not trust. See Server flags and telemetry.
Reference
| Group | platform, on with --features=local,platform (private alpha) |
| Tier | Platform |
| Needs | the server started with --features=local,platform |
| Read only | no |
| Destructive | yes |
| Idempotent | no |
| Reaches the open web | yes |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
action | "login" | "logout" | no | "login" | logout deletes only the local login. |
project | string | no | '<workspace>/<project>' from console.extension.dev (new: extension.dev/new). | |
projectPath | string | no | login: the directory whose GitHub origin names the project. | |
projects | array | string | no | login: 1 to 20 existing projects of one workspace, at most 48 characters each, or "*" with workspace. | |
workspace | string | no | login with projects: "*": the workspace. | |
deviceCode | string | no | login: resume token. | |
lifetime | "hour" | "day" | "week" | no | "day" | login: how long it lasts. |
waitSeconds | number | no | With deviceCode, seconds the call blocks for approval (0 to 900). | |
api | string | no | Base URL; omitted: EXTENSION_DEV_API_URL, else extension.dev. |
When it fails
- The tool is missing from the client's list. Start the server with
--features=local,platform; see Platform tools. - The answer reads
status: "platform-held". extension.dev is not open to the public yet and this workspace was not let in early, so nothing ran on its machines. Creating, running and building an extension still work on your machine; see Use the platform from your agent. - A login for every project is refused at approval. The workspace has more than 20 projects, or none. Name up to 20 projects in
projectsinstead. - The answer says the platform does not offer signing in to every project. The server you target predates
projects: "*". Pass the project names inprojects. - A login stops working before its 7 days are up, as
MinterNotMember. The account that approved it left the workspace. Sign in again as a current member. - The answer depends on the network. This tool reaches the open web, so a refusal can be the network, not the project.
Next
- MCP server: install, the three groups and the session gates
- Install in your client
extension_approvals_read: List the open approvals this login asked for on extension.dev, or read one.extension_approvals_revoke: Revoke an approval granted by mistake on extension.dev (owner token).extension_auth_read: List the extension.dev logins stored on this machine.extension_builds_act: Rebuild, recheck or configure builds on extension.dev, or create or configure a channel.extension_builds_download: Download a verified package of an extension.dev build to this machine.extension_builds_read: Read builds made on extension.dev: list recent ones, get one, or read its logs.extension_preview_web: Preview a build in the web emulator; share:true returns a link that needs no install.extension_project_create: Create an extension.dev project from a folder (projectPath, uploaded, no push; again: re-seed and rebuild) or a GitHub repo, BEFORE extension_auth_login.extension_publish: Publish and share a build through extension.dev: answers the tester link, a page with a download and a run command for each browser (no project yet: extension_project_create).extension_release_promote: Release a build to a channel on extension.dev, cut a version-bump pull request, or roll a channel back.extension_release_status: Read where a project stands on extension.dev: channels, builds, store submissions and reviews, history, rollout and listings.extension_shares_manage: Create an emulator preview link for a tester, or revoke a preview or build link, on extension.dev.extension_shares_read: List a project's emulator preview links and build links on extension.dev.extension_submit: Submit an extension.dev build to the Chrome, Firefox, Edge and Safari stores.extension_submit_check: Check a store submission without sending it: preflight, status and a dry-run submit answer here; any other action records an approval request for the workspace owner and answers...extension_submit_read: Read a project's store state through extension.dev: preflight answers what each store still needs, status the submissions.extension_workspace_configure: Change a project's settings, visibility or build environment on extension.dev.extension_workspace_create: Create a missing extension.dev workspace, before extension_project_create; the personal workspace always exists.extension_workspace_read: Read the extension.dev workspace: info, projects, usage and settings.