# Brave (AppleScript) MCP server

> Ask in plain English to list, open, switch or close Brave tabs, read page text, and move back and forward.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/brave-applescript

## Agent skills (3)

- [Brave with AI: browser control essentials for safe tab and page work](https://revampkey.com/marketplace/brave-applescript/skills/essentials.md): Explains how to point the Brave connector at the right tab, choose between overlapping tools, and recover from macOS permission and Brave-not-running errors. It asks before closing tabs, navigating or running code.
- [Brave with AI: read and summarise an open page, sourced](https://revampkey.com/marketplace/brave-applescript/skills/read-and-summarise-open-page.md): Reads one tab you already have open in Brave and summarises it or pulls out the facts you asked for, with quotes tied to where they appear. It confirms which page it is reading first and does not navigate or run scripts on it.
- [Brave Browser AI Tab Triage and Cleanup with AI](https://revampkey.com/marketplace/brave-applescript/skills/tab-triage-and-cleanup.md): Surveys every open Brave tab, groups them by purpose, and flags duplicates and stale tabs. It proposes what to close and waits for your approval before closing anything.

All skills: https://revampkey.com/marketplace/brave-applescript/skills.md

Brave Browser is a web browser for macOS. Each Brave window holds tabs, and each tab shows one web page. Brave (AppleScript) is a connector made by Tariq Alagha. It uses AppleScript, Apple's built-in automation language, to control Brave on your Mac. It is for people who browse with Brave on a Mac and want the agent to handle routine tab work.

Once you connect it, you ask RevampKey in plain English. The agent can list every open tab across all Brave windows and show the current tab's URL, title and ID. It can switch to a tab by its ID, open a URL in a new tab or the current tab, and close a tab by its ID. It can reload a tab, move back or forward through history, read the text of a page, and run JavaScript in a tab.

## What you can do

### Sorting out a window full of tabs

You have dozens of tabs open across several Brave windows. Ask the agent to list them all with their titles and IDs. It lists every open tab across all windows, so you can see what you have. Name the tabs you no longer need. The agent asks you to confirm before it closes any of them.

### Summarizing the article you are reading

You are reading a long page in Brave and want the main points. Ask the agent what the current tab is. It checks the active tab's URL and title. Then it reads the page's text and gives you a short summary. Nothing in the browser changes while it reads.

### Retracing your steps in a research session

You jumped between several pages and lost the one you need. Ask the agent to list your open tabs and switch to the one with the right title. Then ask it to go back a page or reload the tab. The agent asks before it switches tabs or moves through history.

## Things to ask

- What is the title and URL of the tab I'm looking at in Brave right now?
- List every tab I have open in Brave across all windows.
- Open github.com in a new Brave tab.
- Read the text of the page I'm on in Brave and summarize it.
- Go back to the previous page in Brave.

## What the agent can do

### Current tab and tab list

See which tab is active, with its URL, title and ID. List every open tab across all Brave windows. Switch to any tab by its ID so it comes to the front.

`get_current_tab`, `list_tabs`, `switch_to_tab`

### Opening and closing tabs

Open a URL in a new tab or in the current tab. Close a specific tab by its ID. The agent asks before it opens or closes anything.

`open_url`, `close_tab`

### History and reloads

Move back or forward through a tab's browsing history. Reload the current tab or a specific tab by its ID. Use these to get back to a page you already visited.

`go_back`, `go_forward`, `reload_tab`

### Page content and scripts

Get the text content of a web page in a tab, so the agent can read or summarize it. Run JavaScript code in a tab. Review any script before you approve it.

`get_page_content`, `execute_javascript`

## FAQ

### What do I need to connect Brave (AppleScript) to RevampKey?

You need a Mac with Brave Browser installed. The connector only works on macOS because it uses AppleScript. To connect it, open the Connectors tab in RevampKey and add Brave (AppleScript). After that, you can ask the agent about your Brave tabs in plain English.

### What can the agent do in Brave, and what can it not do?

The agent can list, switch, open and close tabs, move back and forward, reload tabs, read page text, and run JavaScript in a tab. It can only use these ten tools. It cannot use Brave features that none of these tools cover. Check the agent's answers before you act on them.

### Does the agent change my browser without asking, and what does it read?

No. The agent asks before it changes anything, such as opening, closing, switching tabs, reloading, or running JavaScript. It reads tab details and page text only when you ask it to. Tell it which tab or page you mean if more than one is open.

### Why does Brave (AppleScript) only work on Mac?

This connector controls Brave through AppleScript, which runs on macOS. It needs Brave Browser installed on your Mac. RevampKey runs on Mac, Windows and Linux, but this connector only works on the Mac version of your setup.

### What can an AI agent do with the Brave (AppleScript) MCP server?

It exposes 10 tools: 8 that read and 2 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Brave (AppleScript)?

Yes. 3 SKILL.md playbooks teach an agent how to do real Brave (AppleScript) work step by step. RevampKey installs them when you connect Brave (AppleScript); for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (10)

- `close_tab` (changes data)
- `execute_javascript` (changes data)
- `get_current_tab`
- `get_page_content`
- `go_back`
- `go_forward`
- `list_tabs`
- `open_url`
- `reload_tab`
- `switch_to_tab`

## Details

- Maker: Tariq Alagha
- Setup: Connect from the app
- Documentation: https://github.com/TariqAlagha/brave-browser-control

Page: https://revampkey.com/marketplace/brave-applescript
