Logo van Browser AI MCP Server

Browser AI MCP Server

Organisatie
qckfx

AI-powered MCP server that provides natural language control for browser automation. Built on Playwright with an intelligent sub-agent that handles tool orchestration, keeping browser automation details out of Claude's context window. Features OAuth authentication for Claude subscribers and seamless web task automation.

Uitgeverqckfx
Repositorybrowser-ai
TaalTypeScript
Forks
4
Sterren
30
Beschikbare tools
1
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Browser AI MCP Server biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 1 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    30 sterren en 4 forks in de gekoppelde repository.

Browser AI MCP Server

smithery badge

An AI-powered MCP (Model Context Protocol) server that provides a natural language interface to browser automation. This server acts as an intelligent wrapper around the official Playwright MCP server, allowing you to control browsers using plain English commands through Claude.

Features

  • Natural Language Browser Control: Execute browser automation tasks using plain English commands
  • Claude Integration: Leverages Claude's AI capabilities through OAuth (using your Claude Code subscription)
  • Intelligent Tool Mapping: AI automatically translates your commands into appropriate Playwright tool calls
  • Session Management: Maintain context across multiple browser automation commands
  • Error Recovery: Smart error handling with helpful feedback

Installation

Installing via Smithery

To install Browser AI for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @qckfx/browser-ai --client claude

Manual Installation

bash
npm install -g @qckfx/browser-ai

Or use directly with npx:

bash
npx @qckfx/browser-ai

Setup

1. Authentication

The Browser AI MCP server requires Anthropic API access. You have two authentication options:

Option 1: OAuth Authentication (Recommended for Claude Subscribers)

If you have a Claude subscription, authenticate with your Claude account to use your subscription credits:

bash
npx @qckfx/browser-ai --auth

This will open a browser window for OAuth authentication. After authorizing, the token will be saved securely and your API usage will be charged to your Claude subscription rather than requiring separate API credits.

Option 2: API Key Authentication

Alternatively, you can use an Anthropic API key by setting the environment variable:

bash
export ANTHROPIC_API_KEY="your-api-key-here"

2. Configure with Claude Code

After authentication, add the server to Claude Code:

bash
claude mcp add browser-ai -- npx --yes @qckfx/browser-ai@latest

If using API key authentication, you can pass it as an environment variable:

bash
claude mcp add browser-ai --env ANTHROPIC_API_KEY="your-api-key-here" -- npx --yes @qckfx/browser-ai@latest

3. Configure Claude Desktop (Alternative)

If using Claude Desktop instead, add the following to your Claude Desktop configuration file (claude_desktop_config.json):

json
{
  "mcpServers": {
    "browser-ai": {
      "command": "npx",
      "args": ["@qckfx/browser-ai"],
      "env": {
        "PLAYWRIGHT_MCP_PATH": "@playwright/mcp@latest"
      }
    }
  }
}

Usage

Once configured, you can use natural language commands in Claude to control browser automation:

Example Commands

  • Navigation: "Go to example.com and wait for the page to load"
  • Clicking: "Click the login button"
  • Form Filling: "Fill the username field with 'john.doe@example.com'"
  • Screenshots: "Take a screenshot of the current page"
  • Complex Tasks: "Fill out the registration form with test data and submit it"

How It Works

  1. You provide a natural language command to Claude
  2. The AI interprets your intent and breaks it down into Playwright tool calls
  3. The server executes these tools via the Playwright MCP server
  4. Results are returned in a user-friendly format

Development

Project Structure

browser-ai/
├── src/
│   ├── auth/          # OAuth authentication
│   ├── mcp/           # MCP server and client
│   ├── ai/            # AI agent and tool mapping
│   ├── provider/      # Custom AI SDK provider
│   └── index.ts       # CLI entry point

Building from Source

bash
git clone <repository>
cd browser-ai
npm install
npm run build

Testing

Run the integration test:

bash
npm test

Debug Mode

Enable debug logging:

bash
npx browser-ai --debug

Architecture

User Command → Claude → Browser AI MCP → AI Agent → Playwright MCP → Browser
                              ↓
                        Claude (via OAuth)

The server exposes a single browser_ai tool that accepts natural language commands. It then:

  1. Uses Claude to interpret the command
  2. Generates a sequence of Playwright tool calls
  3. Executes them via the Playwright MCP client
  4. Returns a human-friendly summary

Troubleshooting

Authentication Issues

If you encounter authentication errors:

  1. Run npx browser-ai --auth to re-authenticate
  2. Ensure you have an active Claude Code subscription
  3. Check that the token hasn't expired

Connection Issues

If the server fails to connect to Playwright MCP:

  1. Ensure Playwright MCP is installed: npm install -g @playwright/mcp
  2. Check the PLAYWRIGHT_MCP_PATH environment variable
  3. Enable debug mode to see detailed logs

Tool Execution Errors

If commands fail to execute:

  1. Ensure the browser is in the expected state
  2. Try breaking complex commands into simpler steps
  3. Check the debug logs for specific error messages

Requirements

  • Node.js 18 or higher
  • Active Claude Code subscription
  • Playwright MCP server

License

MIT

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

Support

For issues and feature requests, please use the GitHub issue tracker.

Installatie

TypingMind
{
  "mcpServers": {
    "browser-ai": {
      "command": "npx",
      "args": [
        "--yes",
        "@qckfx/browser-ai"
      ]
    }
  }
}

Beschikbare tools

  • execute

    Execute browser automation tasks using natural language commands. This tool interprets your intent and translates it into appropriate browser actions.

Gebruik Browser AI MCP Server MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Browser AI MCP Server is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Browser AI MCP Server toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Browser AI MCP Server.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "browser-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@qckfx/browser-ai"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Browser AI MCP Server in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Browser AI MCP Server in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Browser AI MCP Server gebruiken om me hiermee te helpen?
Browser AI MCP Server
Zeker. Ik heb het gelezen.
Dit vond ik met Browser AI MCP Server.

Veelgestelde vragen

Waarvoor wordt de MCP-server Browser AI MCP Server gebruikt?

Browser AI MCP Server is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Browser AI MCP Server MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Browser AI MCP Server gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Browser AI MCP Server MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Browser AI MCP Server verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Browser AI MCP Server MCP met TypingMind?

Browser AI MCP Server werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Browser AI MCP Server MCP in TypingMind?

Browser AI MCP Server biedt 1 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Browser AI MCP Server MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Browser AI MCP Server authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇