npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@authloop-ai/mcp

v0.2.0

Published

MCP server for AuthLoop — hand off OTP, captcha, and password challenges to humans

Readme

@authloop-ai/mcp

MCP server for AuthLoop — human-in-the-loop authentication for AI agents.

Exposes authloop_to_human and authloop_status tools so AI agents can hand off auth challenges (OTP, captcha, password) to a human via the Model Context Protocol.

Setup

Add to your MCP client config:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "authloop": {
      "command": "npx",
      "args": ["-y", "@authloop-ai/mcp"],
      "env": { "AUTHLOOP_API_KEY": "al_live_..." }
    }
  }
}

Claude Code (claude_code_config.json):

{
  "mcpServers": {
    "authloop": {
      "command": "npx",
      "args": ["-y", "@authloop-ai/mcp"],
      "env": { "AUTHLOOP_API_KEY": "al_live_..." }
    }
  }
}

OpenClaw users: Use the native plugin @authloop-ai/openclaw-authloop instead — install via openclaw plugins install @authloop-ai/openclaw-authloop.

Tools

authloop_to_human

Loop an auth challenge to a human. Returns a session_url immediately — the agent sends this to the human, then calls authloop_status to wait for resolution.

Input

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | service | string | Yes | Name of the service (e.g. 'HDFC NetBanking') | | cdp_url | string | No | CDP endpoint — HTTP or WebSocket URL. Falls back to AUTHLOOP_CDP_URL env var. | | context.url | string | No | Current page URL | | context.blocker_type | string | No | 'otp', 'password', 'captcha', 'security_question', 'document_upload', 'other' | | context.hint | string | No | Hint for the human |

Output

{
  "session_id": "sess_...",
  "session_url": "https://authloop.ai/session/sess_..."
}

authloop_status

Wait for the human to resolve the auth challenge. Blocks until resolved, cancelled, or timed out. No input required.

Output

{
  "session_id": "sess_...",
  "session_url": "https://authloop.ai/session/sess_...",
  "status": "resolved"
}

Status is one of: resolved, cancelled, error, timeout.

How It Works

  1. Agent calls authloop_to_human when it hits an auth wall → gets session_url
  2. Agent sends the session_url to the human (show in chat, Telegram, Slack, etc.)
  3. MCP starts CDP screencast in the background, streams to relay
  4. Agent calls authloop_status to wait for resolution
  5. Human opens the URL, sees the live browser, types OTP/password (E2EE encrypted)
  6. Keystrokes dispatched to browser via CDP — auth completes
  7. authloop_status returns resolved → agent continues

Security

End-to-End Encryption (E2EE)

All user input is end-to-end encrypted between the human's browser and the MCP server. The relay server cannot read what the human types or clicks.

  • Key exchange: ECDH on P-256 curve
  • Encryption: AES-256-GCM (12-byte IV, 16-byte auth tag)
  • What's encrypted: all user input — keystrokes, clicks, scroll, paste, navigation, resolve/cancel
  • What's NOT encrypted: frames (visible page content — screenshots only)

The key exchange happens automatically when the viewer connects — no configuration needed. No input is accepted until E2EE is established.

Transport Security

  • All WebSocket connections use WSS (TLS encrypted)
  • Session tokens are short-lived (10 minute TTL by default)
  • Each session is isolated — tokens grant access to one session only
  • No credentials are stored or logged by the MCP server

Debug Log Safety

Debug logs (DEBUG=authloop:*) never contain:

  • API keys or tokens
  • Decrypted keystroke content
  • Shared secrets or private keys
  • Raw message payloads

Supported Input

| Action | How | |---|---| | Click | Mouse click dispatched via CDP | | Double-click | Double-click via CDP | | Type characters | Keypress → CDP char event | | Special keys | Backspace, Enter, Tab, arrows, Delete, F1-F12 with virtual key codes | | Modifier combos | Ctrl/Cmd+A, Ctrl/Cmd+C, Shift+arrows, etc. | | Paste | CDP Input.insertText — works on mobile too | | Scroll | Mouse wheel via CDP | | Back / Forward | Browser history navigation via CDP | | Reload | Page reload via CDP |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | AUTHLOOP_API_KEY | Yes | API key from authloop.ai/dashboard | | AUTHLOOP_CDP_URL | No | Default CDP endpoint (used when cdp_url not passed in tool call) | | AUTHLOOP_BASE_URL | No | Override API URL (default: https://api.authloop.ai) | | DEBUG | No | Enable debug logs (e.g. authloop:*) |

Debug namespaces

DEBUG=authloop:*           # everything
DEBUG=authloop:mcp         # MCP server + tool calls
DEBUG=authloop:session     # session lifecycle (create, connect, resolve)
DEBUG=authloop:stream      # WebSocket frames + input events
DEBUG=authloop:cdp         # CDP WebSocket commands/events
DEBUG=authloop:crypto      # E2EE key exchange
DEBUG=authloop:sdk*        # SDK HTTP client

Browser Compatibility

Works with any Chromium-based browser exposing CDP:

  • Chrome, Brave, Edge, Chromium
  • OpenClaw managed browser profiles
  • Remote CDP (Browserbase, Browserless)
  • Local or remote — HTTP endpoints auto-resolved via /json

Get an API Key

Sign up at authloop.ai — 25 free auth assists, no credit card required.

License

MIT