{
  "name": "cdp-toolkit",
  "version": "3.7.0",
  "description": "A lightweight chrome-devtools-mcp alternative: an MCP server + CLI that drives the tabs you name, one target per call over one direct WebSocket, with a bounded timeout on every call, so a stuck page can't wedge your agent or force a /mcp restart. Chrome over CDP and Firefox over WebDriver BiDi, with tools a backend can't run absent from tools/list rather than throwing mid-task. 52 tools (only 5 core tools listed by default, plus search_tools/call_tool to reach the rest) including built-in network mocking, a cookie group, tab leases with human-activity detection, real HTML5 drag-and-drop, raw mouse/scroll dispatch, downloads, permission grants, tab-to-video screen recording, native tab groups, and reaching nested same-process frames by execution context, so several agents can drive one browser without stealing each other's tabs or a human's. No Puppeteer, no all-target fan-out.",
  "type": "module",
  "license": "MIT",
  "author": {
    "name": "Stephen Blatt",
    "url": "https://github.com/sblattj"
  },
  "homepage": "https://github.com/sblattj/cdp-toolkit#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sblattj/cdp-toolkit.git"
  },
  "bugs": {
    "url": "https://github.com/sblattj/cdp-toolkit/issues"
  },
  "engines": {
    "bun": ">=1.1.0",
    "node": ">=22.0.0"
  },
  "keywords": [
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "chrome-devtools-mcp",
    "chrome-devtools-mcp-alternative",
    "chrome-devtools-protocol",
    "cdp",
    "browser-automation",
    "web-automation",
    "headless-chrome",
    "chrome-automation",
    "firefox",
    "firefox-automation",
    "headless-firefox",
    "webdriver-bidi",
    "bidi",
    "network-mocking",
    "api-mocking",
    "claude-code",
    "claude",
    "cursor",
    "windsurf",
    "ai-agent",
    "llm-tools",
    "puppeteer-alternative",
    "devtools",
    "bun"
  ],
  "main": "./dist/index.js",
  "exports": {
    ".": "./dist/index.js",
    "./package.json": "./package.json"
  },
  "bin": {
    "cdp-toolkit": "dist/mcp.js",
    "cdp": "dist/cli.js"
  },
  "files": [
    "dist/",
    "src/",
    "CONTRACT.md",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "bun run scripts/build.ts",
    "prepublishOnly": "bun run build",
    "cdp": "bun run ./src/cli.ts",
    "mcp": "bun run ./src/mcp.ts",
    "typecheck": "tsc --noEmit",
    "test": "bun test",
    "test:runtime": "bun test test/runtime-entry.test.ts",
    "smoke": "bun run ./test/smoke.ts",
    "bench:wedge": "bun run scripts/wedge-bench.ts",
    "mock:smoke": "bun run ./test/mock-smoke.ts",
    "screencast:smoke": "bun run ./test/screencast-smoke.ts",
    "mcp:smoke": "bun run ./test/mcp-smoke.ts",
    "contexts:smoke": "bun run ./test/contexts-smoke.ts",
    "firefox:smoke": "bun run ./test/firefox-smoke.ts",
    "firefox:attach:smoke": "bun run ./test/firefox-attach-smoke.ts",
    "firefox:coord:smoke": "bun run ./test/firefox-session-coord-smoke.ts",
    "firefox:multi:smoke": "bun run ./test/firefox-multi-agent-smoke.ts",
    "lease:smoke": "bun run ./test/lease-smoke.ts",
    "staleness:smoke": "bun run ./test/staleness-smoke.ts",
    "input:smoke": "bun run ./test/input-smoke.ts",
    "extension:smoke": "bun run ./test/extension-smoke.ts",
    "focus:smoke": "bun run ./test/focus-emulation-smoke.ts",
    "extract:smoke": "bun run ./test/extract-smoke.ts",
    "browser-ws:smoke": "bun run ./test/browser-ws-smoke.ts",
    "browser-ws:wedge": "bun run ./test/browser-ws-wedge.ts",
    "gateway:smoke": "bun run ./test/gateway-smoke.ts",
    "tab-groups:smoke": "bun run ./test/tab-groups-smoke.ts"
  },
  "devDependencies": {
    "@modelcontextprotocol/client": "^2.0.0",
    "@types/node": "22.10.10",
    "typescript": "5.7.3"
  },
  "dependencies": {
    "@modelcontextprotocol/server": "^2.0.0"
  }
}
