autologin-mcp 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -62,7 +62,7 @@ npx autologin-mcp add
62
62
 
63
63
  Upgrade with `npx autologin-mcp@latest install`, remove with `npx autologin-mcp uninstall`. Step-by-step guide: [Getting started](docs/getting-started.md).
64
64
 
65
- Another agent? `npx autologin-mcp print-config --client codex` (or `gemini`, `cursor`, `vscode`, `claude-desktop`, `hermes`) prints its configuration. See [Agents and browser tools](docs/clients.md).
65
+ Another agent? `npx autologin-mcp print-config --client codex` (or `gemini`, `cursor`, `vscode`, `claude-desktop`, `hermes`) prints its configuration. See [Agents and browser tools](docs/clients.md). autologin-mcp is also in the official MCP Registry as `io.github.olgaysezgin/autologin-mcp`.
66
66
 
67
67
  ## Features
68
68
 
@@ -70,7 +70,8 @@ Another agent? `npx autologin-mcp print-config --client codex` (or `gemini`, `cu
70
70
  - **The password never enters the chat.** Credentials go from a file on your machine straight into the page. Tool results are scrubbed of passwords, and a guard hook keeps the agent away from the credentials folder.
71
71
  - **No browser setup.** Bridge mode uses the JavaScript tool the agent already has. Turn on Chrome remote debugging and CDP mode fills the tab itself.
72
72
  - **Locked to your app's origin.** Credentials are released only to the site of the profile, so a prompt-injected page on another site gets nothing.
73
- - **Real-world forms.** React, Vue and Angular inputs, forms that render late, submit buttons in many languages, and the page's own error message when a login fails.
73
+ - **Real-world forms.** React, Vue and Angular inputs, forms that render late, identifier-first pages that ask for the email before the password, submit buttons in many languages, and the page's own error message when a login fails.
74
+ - **Knows when to stop.** Single sign-on, passkeys, captchas and a one-time code after the password are handed to you (`needs_human`) instead of failing or retrying, and those pages never receive the credentials.
74
75
  - **No account lockouts.** Three failed logins in five minutes pause the profile until you check the credentials.
75
76
  - **Several accounts and apps.** One global credentials file outside your projects, with as many profiles as you need.
76
77
  - **One command to install.** `npx autologin-mcp install` registers the MCP server, the skill and the guard hook in Claude Code.
@@ -118,7 +119,7 @@ A profile only fills pages whose host matches its root URL (`example.com`, `*.ex
118
119
  | Tool | What the agent gets back |
119
120
  |---|---|
120
121
  | `list_profiles` | Profile name, root URL and username for each profile. Never passwords. |
121
- | `login({ url?, profile? })` | Bridge mode: `run_in_page` with a one-time loader to run in the tab, as `script`, `function` or `expression` for the agent's browser tool. CDP mode: the result directly (`success`, `submitted`, `failed`, `no_login_form`, `rate_limited`, …). |
122
+ | `login({ url?, profile? })` | Bridge mode: `run_in_page` with a one-time loader to run in the tab, as `script`, `function` or `expression` for the agent's browser tool. CDP mode: the result directly (`success`, `submitted`, `failed`, `no_login_form`, `rate_limited`, …). `needs_human` with a `reason` (`sso`, `passkey`, `captcha`, `mfa_required`, …) when only a person can finish. |
122
123
  | `login_status({ profile? })` | The latest outcome per profile, for when the agent's JavaScript call was cut off. |
123
124
  | `open_config` | Opens the credentials file in your editor, or returns its path where there is no desktop. The content is never returned. |
124
125
 
@@ -126,7 +127,7 @@ More: [MCP tools](docs/mcp-tools.md) and [CLI reference](docs/cli.md).
126
127
 
127
128
  ### Security in one paragraph
128
129
 
129
- A Claude Code guard hook and deny rules block the agent from reading the credentials folder, also in skip-permissions mode. Every tool result is scrubbed of passwords. The bridge listens on `127.0.0.1` only, each script works once for 60 seconds, and credentials go only to the profile's origin, so a prompt-injected page on another site gets nothing. Three failed logins in five minutes pause a profile, so a wrong password cannot lock the account. autologin-mcp prevents accidental exposure, not a deliberately hostile agent: **use dedicated test accounts.** More: [Security model](docs/security.md).
130
+ A Claude Code guard hook and deny rules block the agent from reading the credentials folder, also in skip-permissions mode. Every tool result is scrubbed of passwords. The bridge listens on `127.0.0.1` only, each script works once for 60 seconds, and credentials go only to the profile's origin, and only once the page showed a login form to fill, so a prompt-injected page on another site gets nothing. Three failed logins in five minutes pause a profile, so a wrong password cannot lock the account. autologin-mcp prevents accidental exposure, not a deliberately hostile agent: **use dedicated test accounts.** More: [Security model](docs/security.md).
130
131
 
131
132
  ### Works with
132
133
 
@@ -162,8 +163,8 @@ More questions: [FAQ](docs/faq.md).
162
163
  ## Roadmap
163
164
 
164
165
  - [ ] Opt-in auto-login (CDP mode): watch a profile's URL and log in without the agent asking
165
- - [ ] Logins that navigate between documents, iframes, SSO login hosts
166
- - [ ] TOTP codes
166
+ - [ ] Logins that navigate between documents, and login forms inside iframes
167
+ - [ ] TOTP codes ([#1](https://github.com/olgaysezgin/autologin-mcp/issues/1))
167
168
  - [ ] `doctor` and `test <profile>` commands
168
169
  - [ ] Installers that write the config for Codex CLI, Gemini CLI and Cursor (`print-config` prints it today); a Claude Code plugin
169
170
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "autologin-mcp",
3
- "version": "1.3.0",
4
- "description": "Auto-login MCP server for AI coding agents (Claude Code, Claude in Chrome, Playwright MCP, chrome-devtools-mcp). Logs your agent into the app under test; credentials stay on your machine and never reach the model.",
3
+ "version": "1.3.2",
4
+ "mcpName": "io.github.olgaysezgin/autologin-mcp",
5
+ "description": "Auto-login MCP server for AI coding agents (Claude Code, Codex, Cursor, Gemini CLI) and their browser tools (Claude in Chrome, Playwright MCP, chrome-devtools-mcp, Puppeteer). Logs your agent into the app under test; credentials stay on your machine and never reach the model.",
5
6
  "type": "module",
6
7
  "bin": {
7
8
  "autologin-mcp": "dist/bin.js"
@@ -20,7 +21,7 @@
20
21
  "test": "vitest run",
21
22
  "coverage": "vitest run --coverage",
22
23
  "prepublishOnly": "node scripts/release.mjs publish-guard && npm run typecheck && npm run coverage && npm run build && npm run smoke",
23
- "version": "node scripts/release.mjs sync && git add README.md CHANGELOG.md docs",
24
+ "version": "node scripts/release.mjs sync && git add README.md CHANGELOG.md docs server.json",
24
25
  "smoke": "node scripts/smoke.mjs"
25
26
  },
26
27
  "keywords": [