Skip to main content
0
O

Opencode Browser

Browser automation plugin for OpenCode AI editor - Control Chrome/Edge with AI, automate web testing

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

No login needed

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

OpenCode Browser MCP Plugin

An OpenCode plugin that integrates Browser MCP to enable browser automation capabilities within OpenCode. This plugin allows the AI to control a browser, navigate websites, fill forms, click elements, and perform other browser automation tasks.

Demo

Features

  • Full browser automation support through Browser MCP
  • Speed-oriented browser guidance injected into the model prompt
  • Tool-specific performance hints for expensive browser actions
  • Fast retry behavior with no artificial reconnect backoff in the plugin
  • Automatic detection of browser-related tasks
  • Context preservation for browser state across session compactions
  • Seamless integration with OpenCode's existing tools

Prerequisites

Before using this plugin, you need:

  1. 1.Node.js installed on your system
  2. 2.OpenCode installed and configured
  3. 3.Browser MCP extension installed in your browser (Chrome/Edge)

Installation

Step 1: Install Browser MCP Extension

  1. 1.Visit https://browsermcp.io/install
  2. 2.Install the Browser MCP extension for your browser (Chrome or Edge)
  3. 3.Follow the extension setup instructions

Step 2: Configure OpenCode

Fastest path:

bash
npx opencode-browser init

This creates or updates ./opencode.json with the required plugin and mcp.browsermcp entries while preserving any unrelated config you already have.

For a global setup instead of a project-local one:

bash
npx opencode-browser init --global

Create or update your opencode.json configuration file. You can create this file in one of two locations:

  • Global configuration (applies to all projects): ~/.config/opencode/opencode.json
  • Project-specific configuration (applies to current project only): ./opencode.json (in your project root)

Learn more about OpenCode configuration at https://opencode.ai/docs/config

Add this configuration to your opencode.json:

json
{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-browser"],
  "mcp": {
    "browsermcp": {
      "type": "local",
      "command": ["npx", "-y", "@browsermcp/mcp@0.1.3"],
      "enabled": true
    }
  }
}

This configuration does two things:

  1. 1.Installs the plugin - OpenCode automatically downloads opencode-browser from npm
  2. 2.Configures Browser MCP - Sets up the MCP server that actually controls the browser

That's it! No manual file copying required. OpenCode handles everything automatically.

The generated command pins the Browser MCP package version to avoid the extra @latest resolution step on startup and keep launches reproducible.

If you prefer to preview the generated config without writing it yet:

bash
npx opencode-browser init --print

#### Alternative: Install Locally (for development/testing)

If you want to modify the plugin or test changes:

Don't lose this

Three weeks from now, you'll want Opencode Browser again. Will you remember where to find it?

Save it to your library and the next time you need Opencode Browser, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

This plugs directly into your AI and gives it new abilities it didn't have before. Browser automation plugin for OpenCode AI editor - Control Chrome/Edge with AI, automate web testing. Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

What's New

Version 1.0.06 days ago

Imported from GitHub

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.