# browsa

The browsa MCP server for Claude Code runs tasks in cloud Chromium or exposes browser control through CDP. An agent can navigate pages, interact with forms and collect data.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 3 repo stars
- Author: browsa-io
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/browsa-io/browsa/tree/HEAD/browsa-mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/browsa

## What it does

browsa gives an agent a cloud Chromium browser and returns task results. With `run_task`, it can visit a site, enter form data, scroll through a page or return collected information as structured output. Long-running jobs can be checked or cancelled. The agent can also request a human response, such as help with a CAPTCHA.

For direct control, the server provides a CDP address. Its `observe` and `act` tools read a page and perform browser actions. A `BROWSA_API_KEY` is required. A model key can be saved in the workspace or supplied as `BROWSA_LLM_API_KEY`; Browsa-hosted models run without a model key and use credits per task.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `BROWSA_API_KEY`, `BROWSA_LLM_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add browsa -e BROWSA_API_KEY=<BROWSA_API_KEY> -e BROWSA_LLM_API_KEY=<BROWSA_LLM_API_KEY> -- npx -y @browsa/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add browsa-mcp --env BROWSA_API_KEY=<BROWSA_API_KEY> --env BROWSA_LLM_API_KEY=<BROWSA_LLM_API_KEY> -- npx -y @browsa/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "browsa-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@browsa/mcp"
            ],
            "env": {
                "BROWSA_API_KEY": "<BROWSA_API_KEY>",
                "BROWSA_LLM_API_KEY": "<BROWSA_LLM_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "browsa-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@browsa/mcp"
            ],
            "env": {
                "BROWSA_API_KEY": "<BROWSA_API_KEY>",
                "BROWSA_LLM_API_KEY": "<BROWSA_LLM_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e BROWSA_API_KEY=<BROWSA_API_KEY> -e BROWSA_LLM_API_KEY=<BROWSA_LLM_API_KEY> browsa-mcp npx -y @browsa/mcp
```
Replace <…> with your own values

## When to use it
- collect structured data from a web page
- fill out a site form and interact with page controls
- connect an agent to a browser through CDP
- check the status of a long-running browser job

## Example prompts
- Open a news site and return the headline of its top story.
- Fill in the form on this page and report the result.
- Start a browser and read the page currently open.

## Similar
- [Browserless](https://affpapa.org/en/nevibecode/mcp/browserless.md) — MCP server · ★ 19 repo stars
- [HKEx Filings](https://affpapa.org/en/nevibecode/mcp/hkex-filings.md) — MCP server · ★ 19 repo stars
- [Playwright Cloud Browsers](https://affpapa.org/en/nevibecode/mcp/playwright-cloud-browsers.md) — MCP server · ★ 18 repo stars
- [nab](https://affpapa.org/en/nevibecode/mcp/nab.md) — MCP server · ★ 18 repo stars
- [fiverr-mcp-server](https://affpapa.org/en/nevibecode/mcp/fiverr-mcp-server.md) — MCP server · ★ 18 repo stars
- [Vibe Test — Browser Testing Agent](https://affpapa.org/en/nevibecode/mcp/vibe-test-browser-testing-agent.md) — MCP server · ★ 18 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
