# Poke Browser

> Browser MCP for Poke — automate Chrome with natural language via the Model Context Protocol

- **Type:** MCP server
- **Install:** `agentstack add mcp-leoakok-poke-browser`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [leoakok](https://agentstack.voostack.com/s/leoakok)
- **Installs:** 0
- **Category:** [Web & Browser](https://agentstack.voostack.com/c/web-and-browser)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [leoakok](https://github.com/leoakok)
- **Source:** https://github.com/leoakok/poke-browser

## Install

```sh
agentstack add mcp-leoakok-poke-browser
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# poke-browser — Chrome Browser MCP

**A Chrome extension + MCP server for natural-language browser automation**

Built by [Poke](https://interaction.co) — the AI assistant from interaction.co — together with [Leo Kök](https://github.com/leoakok).

[poke-browser on GitHub](https://github.com/leoakok/poke-browser)

## Key features (MCP tools)

- **`navigate_to`** — Open URLs and wait for load completion on the chosen tab.
- **`find_element`** — Locate elements by CSS, text, ARIA, or XPath; queries respect **open shadow roots** (and the same-document tree you’d expect for complex widgets and “portal-style” UI mounted in the page).
- **`click_element`** — Click by selector or viewport coordinates; **always hovers ~1s** before the click so hover menus and delayed affordances can appear.
- **`type_text`** — Type into inputs and contenteditable regions; optional **`clear`** (default true) wipes existing text before typing, or set `clear: false` to append.
- **`get_dom_snapshot`** — Compact DOM tree with tags, roles, labels, bounds, and interactivity hints.
- **`capture_and_upload_screenshot`** — Capture the visible tab and POST it to your upload endpoint (or fall back to inline base64 when upload isn’t configured).
- **`get_accessibility_tree`** — Semantic nodes in reading order for screen-reader–style reasoning.
- **`scroll_window`** — Scroll by position, delta, direction, or “scroll into view” for a selector.
- **`managetabs`** — List, open, close, and switch tabs in the connected Chrome profile.
- **`browser_guide`** — In-repo Markdown playbook: every tool, common flows, and troubleshooting.

## Snapshot-then-act

After every **`click_element`** call, **inspect the page again** with **`get_dom_snapshot`** (or related tools) before the next action. Clicks often open modals, slide-overs, or rerendered regions; a fresh snapshot keeps the model aligned with what the user actually sees.

## Installation

1. **MCP server (npm)**  
   Run the published launcher (recommended):

   ```bash
   npx poke-browser@latest
   ```

   Or install globally / add as a dependency: `npm install poke-browser`. From a local checkout under `mcp-server/`, use `npm install`, `npm run build`, and `npm start`. Shared launcher flags: `-h/--help`, `-v/--version`, `-y/--yes`, and `-n/--name `. See [TESTING.md](./TESTING.md) for ports, env vars, and the inspector.

2. **Chrome extension**  
   Open `chrome://extensions`, enable **Developer mode**, **Load unpacked**, and select **this repository’s root folder** — the directory that contains `manifest.json` (the extension assets live alongside the manifest, not in a separate `extension/` directory).

3. **Connect**  
   Start the MCP server, load the extension, and align **WebSocket port** (and optional **auth token**) between the popup and `POKE_BROWSER_WS_PORT` / `POKE_BROWSER_TOKEN`.

## License

MIT — see [`mcp-server/package.json`](./mcp-server/package.json).

## Documentation

- **[TESTING.md](./TESTING.md)** — inspector payloads, WebSocket examples, troubleshooting.  
- **[mcp-server/README.md](./mcp-server/README.md)** — MCP server specifics and dev commands.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [leoakok](https://github.com/leoakok)
- **Source:** [leoakok/poke-browser](https://github.com/leoakok/poke-browser)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-leoakok-poke-browser
- Seller: https://agentstack.voostack.com/s/leoakok
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
