# Riffle [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/noetive/riffle  
**GitHub Stars:** 3  
**npm Downloads (last month):** 1182  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/riffle

## Description
Your agent uses the web as text, not screenshots. Several steps per call, only changes come back.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "riffle": {
    "command": "npx",
    "args": ["-y","@noetive/riffle","mcp"]
  }
}
```

## Documentation

## What Riffle does

Riffle gives an MCP agent a browser it can operate through text. Chrome or Chromium runs the page’s JavaScript, and Riffle converts the visible interface into concise lines describing elements, labels, states, relationships, and obstructions. The representation can indicate covered content, disabled controls, struck-through text, and other details that matter when deciding what to do next.

The agent does not use screenshots, coordinates, a mouse pointer, or keyboard emulation. It can identify controls by their text or by references returned in a view, then click, fill, select, check, press keys, hover, scroll, upload, wait, inspect dialogs, and navigate. Riffle can also expose page tables as TSV and list fetch and XHR requests.

## How it works

Riffle exposes `browser_run` for executing a newline-separated browser program and `browser_view` for reading the current page. A single program can combine navigation, interaction, assertions, and a final view, reducing the number of agent turns needed for workflows such as signing in. The run ends at the first failed instruction and reports the step and reason.

Views include interactive controls, readable page content, outlines, tables, text search, expanded references, network activity, and unseen changes. After the initial view, responses contain only differences, so unchanged page content is not repeatedly returned to the agent. Each view accepts a token budget.

Riffle waits for the page to respond and become quiet after actions rather than using a fixed delay. Every editor agent normally receives its own browser session; sessions can instead be shared by assigning the same session name. The service limits concurrent browsers to four by default, expires unused sessions after 15 minutes, and exits after 30 minutes with no work.

## Setup and configuration

Install through the initializer with `npx @noetive/riffle init`, optionally specifying `--client claude-code` or `--client cursor`. Running the initializer without a client attempts to configure the editor it finds. Use `--dry-run` to preview changes. Any MCP client can use an entry that launches `npx -y @noetive/riffle mcp`; native Windows setups should invoke npx through `cmd /c`.

A Go installation is also available through `go install github.com/noetive/riffle/cmd/riffle@latest`, and binaries can be obtained from the project’s releases. Chrome or Chromium must already be installed. `riffle doctor` checks the browser setup.

Riffle starts a separate, temporary Chrome profile and cleans it up when the process ends. For persistent authentication, configure `--keep-state NAME`. Cookies and site storage are saved after calls for the active site and can survive editor restarts, server shutdowns, and browser crashes. Shared session names share both a browser and its sign-ins, so separate projects should use separate names. Stored state should be protected because anyone able to read it may use those sign-ins.

## Tools and capabilities

- Run multi-step browser programs with `browser_run`.
- Read incremental or full page representations with `browser_view`.
- Navigate, click, double-click, fill fields, select options, check controls, press keys, hover, scroll, upload files, wait, and handle dialogs.
- Assert conditions such as an expected URL and inspect page changes.
- Extract page tables as TSV, search visible text, expand references, and inspect network requests.
- Drive localhost or other private addresses when started with `--allow-private`.
- Share a named browser session or keep site authentication with `--keep-state`.

## Limitations and notes

Riffle requires Chrome or Chromium on the host. Private-address access is restricted unless `--allow-private` is enabled. Browser concurrency is capped at four by default and can be changed with `riffle serve -max-browsers N`.

Persistent state is limited to storage for up to 50 sites, with the least recently used site removed first. Storage is saved for the site active when a call ends, not every site visited during the call, and storage from another-site frames is not included. A failed restoration starts the session without that stored state and reports an `event unrestored` notice.

Use `riffle close` to end the current session and browser, or `riffle stop` to stop Riffle and all its sessions. Session activity and names are available through the command-line interface, including `riffle view -s NAME` for a named session.

_Full upstream README: https://allmcps.com/mcp/riffle/readme_

