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

@ada-mcp/mcp-server

v0.1.87

Published

ADA MCP server for web/mobile automation (stdio + remote HTTP)

Readme

@ada-mcp/mcp-server

License: Apache-2.0 — Copyright 2026 Kalami (卡拉米). See LICENSE and NOTICE.

ADA MCP server package that supports:

  • Local stdio mode (default) for MCP hosts
  • Remote HTTP mode (server) with API key authentication
  • MCP Streamable HTTP on POST|GET|DELETE /mcp with optional SSE per MCP spec (@modelcontextprotocol/sdk transport)

标准安装(MCP)

请使用 @ada-mcp/[email protected] 拉起本包(见 launcher README):

{
  "mcpServers": {
    "ada-mcp": {
      "command": "pnpm",
      "args": ["dlx", "@ada-mcp/[email protected]"]
    }
  }
}

本包版本:@ada-mcp/[email protected](由 launcher 默认拉取;依赖锁定 [email protected])。

直接调试本包(无 launcher 拉包前测速):

pnpm dlx @ada-mcp/[email protected]
# npx 等价
npx -y @ada-mcp/[email protected]

启动时自动安装依赖(默认 Playwright)

进程启动前会按配置自动执行 install-deps(日志在 stderr):

| 配置 | 含义 | |------|------| | (未配置) | 仅安装 Playwright + 浏览器 | | playwright | 装 Playwright(显式写法,与默认相同) | | mobile | 装移动驱动依赖(Android/iOS 运行时检查 + Harmony 工具链) | | android / ios / harmony | 按平台安装 | | playwright,mobile | 组合(逗号连接多类) | | all | Playwright + 移动驱动 + Harmony | | none / skip | 不自动安装 |

环境变量

  • ADA_MCP_INSTALL_DEPS:范围,如 playwrightplaywright,mobileallnone
  • ADA_MCP_SKIP_INSTALL_DEPS=1:跳过自动安装
  • ADA_MCP_INSTALL_DEPS_FORCE=1:强制重装
  • ADA_PLAYWRIGHT_INSTALL_TIMEOUT_MS:每个 CDN 镜像的 playwright install 超时(默认 60 分钟)
  • ADA_INSTALL_STRATEGY_TIMEOUT_MS:npm 装包超时(默认 2 分钟)

依赖解析:系统全局 npm → 工作区/环境 → ~/.ada/deps;全局已装的不迁入共享目录。

代理与镜像

| 阶段 | 说明 | |------|------| | pnpm dlx @ada-mcp/launcher | 拉包前 registry 测速(推荐) | | pnpm dlx @ada-mcp/mcp-server | 依赖安装、preinstall / install-deps 测速 | | 启动后 install-deps | npm 与 Playwright CDN 候选测速 |

默认 npm 候选(相同时靠前):npmmirror(阿里) → npmjs → 腾讯 → 上海交大 → 中科大 → 华为云。

| 变量 | 说明 | |------|------| | npm_config_registry | 可选;影响 dlx 拉包 | | ADA_REGISTRY_CANDIDATES | 可选;在默认候选之外追加 | | ADA_NPM_PROXY_REGISTRY / ADA_PNPM_PROXY_REGISTRY | 可选;探测时置顶 | | PLAYWRIGHT_DOWNLOAD_HOST | 可选;Playwright 浏览器 CDN |

详见 ADA-MCP-接入手册 §5

CLI 参数(写在 MCP args 末尾):

  • --install-deps=playwright,mobile
  • --skip-install-deps
  • --install-deps-force 在标准 args 后追加,例如安装全部依赖:
"args": ["dlx", "@ada-mcp/[email protected]", "--install-deps=all"]

MCP Host 配置示例

pnpm(推荐)pnpm + dlx @ada-mcp/[email protected]

npx 等价npx + -y @ada-mcp/[email protected](内层同样 npx -y mcp-server,测速逻辑与 pnpm 一致)

{
  "mcpServers": {
    "ada-mcp": {
      "command": "npx",
      "args": ["-y", "@ada-mcp/[email protected]"]
    }
  }
}

Windows 若找不到 pnpm,可将 command 改为 pnpm.cmd 绝对路径;无 pnpm 时只能直接 npx -y @ada-mcp/[email protected](无 launcher 拉包测速)。

Remote mode

Set API key in environment variable first:

export ADA_MCP_REMOTE_API_KEY=your_token

Windows PowerShell:

$env:ADA_MCP_REMOTE_API_KEY="your_token"

Then run:

pnpm dlx @ada-mcp/mcp-server server --host=127.0.0.1 --port=8787 --allow-risky=true --risky-mode=whitelist --risky-commands=custom

Streamable HTTP (/mcp)

  • Endpoint: http://<host>:<port>/mcp — same API key headers as below (x-api-key or Authorization: Bearer).
  • First request: POST /mcp with JSON-RPC initialize (no Mcp-Session-Id); server returns a session id in Mcp-Session-Id response header.
  • Follow-up: POST /mcp with body + Mcp-Session-Id; for server-initiated streaming, open GET /mcp with Accept: text/event-stream and the same session header.
  • Session teardown: DELETE /mcp with Mcp-Session-Id.

When listening on all interfaces (e.g. --host=0.0.0.0), set allowed Host headers to satisfy DNS rebinding checks:

pnpm dlx @ada-mcp/mcp-server server --host=0.0.0.0 --port=8787 --api-key=your_token --allowed-hosts=localhost,127.0.0.1