JSPM

  • Created
  • Published
  • Downloads 1392
  • Score
    100M100P100Q148259F
  • License MIT

Dokobot CLI - Connect Chrome browser as a doko via Chrome DevTools MCP

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dokobot/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @dokobot/cli

    Connect your Chrome browser to Dokobot as a doko — letting AI agents browse, interact with, and extract content from the real web.

    Quick Start

    npx @dokobot/cli connect

    The CLI will guide you through setup automatically — no manual configuration needed.

    Prerequisites

    • Node.js 18+
    • Chrome with remote debugging enabled:
      1. Open chrome://inspect/#remote-debugging
      2. Check "Allow remote debugging for this browser instance"

    Install

    # Run directly (no install needed)
    npx @dokobot/cli connect
    
    # Or install globally
    npm i -g @dokobot/cli
    dokobot connect

    Commands

    connect

    Connect a Chrome browser to Dokobot.

    dokobot connect                              # Interactive setup
    dokobot connect --name "Work Chrome"         # Name your doko
    dokobot connect --browser-url http://127.0.0.1:9222  # Custom Chrome instance
    dokobot connect --device-id <id>             # Reconnect an existing doko

    list

    List all registered dokos on this machine.

    dokobot list

    remove

    Remove a registered doko.

    dokobot remove <device-id>

    config

    Configure API key and server URL interactively.

    dokobot config

    update

    Check for CLI updates.

    dokobot update

    Options

    Option Description
    --api-key <key> API key (or set DOKO_API_KEY env)
    --server <url> Server URL (default: https://dokobot.ai)
    --verbose Enable verbose logging

    How It Works

    1. The CLI connects to your local Chrome via Chrome DevTools Protocol
    2. It registers your browser as a doko on the Dokobot server
    3. AI agents can then send commands to your browser — navigating pages, clicking elements, extracting content, and more

    License

    MIT