autologin-mcp 1.0.0 → 1.0.1

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 +24 -2
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -11,7 +11,9 @@
11
11
 
12
12
  <p align="center">
13
13
  <a href="https://github.com/olgaysezgin/autologin-mcp/actions/workflows/ci.yml"><img src="https://github.com/olgaysezgin/autologin-mcp/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
14
- <a href="https://www.npmjs.com/package/autologin-mcp"><img src="https://img.shields.io/npm/v/autologin-mcp" alt="npm"></a>
14
+ <a href="https://www.npmjs.com/package/autologin-mcp"><img src="https://img.shields.io/npm/v/autologin-mcp" alt="npm version"></a>
15
+ <a href="https://www.npmjs.com/package/autologin-mcp"><img src="https://img.shields.io/npm/dm/autologin-mcp" alt="npm downloads per month"></a>
16
+ <a href="https://nodejs.org"><img src="https://img.shields.io/node/v/autologin-mcp" alt="Node.js version"></a>
15
17
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"></a>
16
18
  <a href="https://olgaysezgin.github.io/autologin-mcp/"><img src="https://img.shields.io/badge/docs-website-4338ca" alt="Documentation website"></a>
17
19
  </p>
@@ -20,7 +22,12 @@
20
22
  <a href="https://olgaysezgin.github.io/autologin-mcp/">Website</a> ·
21
23
  <a href="#quick-use">Quick use</a> ·
22
24
  <a href="docs/README.md">Documentation</a> ·
23
- <a href="#faq">FAQ</a>
25
+ <a href="#faq">FAQ</a> ·
26
+ <a href="CHANGELOG.md">Changelog</a>
27
+ </p>
28
+
29
+ <p align="center">
30
+ <img src="docs/assets/demo.gif" width="860" alt="Demo: Claude Code finds an expired session while testing a web app, calls the autologin-mcp login tool, runs the one-time script in Chrome, gets success and continues. The password never appears in the chat.">
24
31
  </p>
25
32
 
26
33
  **autologin-mcp** is an open-source [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that lets AI coding agents such as **Claude Code** log in to the web app they are testing. When the agent's browser tab shows a login form, a "session expired" message, a 401/403 or a redirect to a login page, the agent calls the `login` tool, and autologin-mcp fills the form with credentials stored on your machine. The username and password never appear in the conversation, so they never reach the model. It works with **Claude in Chrome**, **Playwright MCP** and **chrome-devtools-mcp**, and needs no browser setup.
@@ -55,6 +62,17 @@ npx autologin-mcp add
55
62
 
56
63
  Upgrade with `npx autologin-mcp@latest install`, remove with `npx autologin-mcp uninstall`. Step-by-step guide: [Getting started](docs/getting-started.md).
57
64
 
65
+ ## Features
66
+
67
+ - **Logs in when the agent needs it.** The agent calls `login` when the page shows a login form, a "session expired" message, a 401/403 or a redirect to a login URL, then carries on with its task.
68
+ - **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.
69
+ - **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.
70
+ - **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.
71
+ - **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.
72
+ - **No account lockouts.** Three failed logins in five minutes pause the profile until you check the credentials.
73
+ - **Several accounts and apps.** One global credentials file outside your projects, with as many profiles as you need.
74
+ - **One command to install.** `npx autologin-mcp install` registers the MCP server, the skill and the guard hook in Claude Code.
75
+
58
76
  ## Why
59
77
 
60
78
  - **Sessions expire in the middle of long agent runs.** The agent stops, or asks you for the password.
@@ -156,6 +174,10 @@ npm run build && npm run smoke
156
174
 
157
175
  The end-to-end tests start a throwaway headless Chrome (set `CHROME_PATH` if Chrome is not in a standard location). See [CONTRIBUTING.md](CONTRIBUTING.md). Security reports: [SECURITY.md](SECURITY.md).
158
176
 
177
+ ## Releases
178
+
179
+ Every release has the same version in `package.json`, the git tag, npm and the [GitHub release](https://github.com/olgaysezgin/autologin-mcp/releases). See [CHANGELOG.md](CHANGELOG.md) for what changed in each version.
180
+
159
181
  ## License
160
182
 
161
183
  [MIT](LICENSE) © Olgay Sezgin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autologin-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
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.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,7 +19,8 @@
19
19
  "typecheck": "tsc --noEmit",
20
20
  "test": "vitest run",
21
21
  "coverage": "vitest run --coverage",
22
- "prepublishOnly": "npm run typecheck && npm run coverage && npm run build && npm run smoke",
22
+ "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",
23
24
  "smoke": "node scripts/smoke.mjs"
24
25
  },
25
26
  "keywords": [