Interceptor logo

Interceptor

Organization
Hacker-Valley-Media

Browser automation and computer use for AI agents. One CLI and MCP server for your signed-in browser, native macOS apps, and real iPhones.

PublisherHacker-Valley-Media
RepositoryInterceptor
LanguageTypeScript
Forks
69
Stars
467
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    Interceptor exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    467 stars and 69 forks from the linked repository.

Interceptor connects an AI agent or script to your signed-in browser, native Mac apps, and a physical iPhone. It combines structured UI reads and actions with access to page traffic, rich editors, app internals, and device state. The agent can inspect what happened after an action and use that evidence for its next step.

Work you can build with InterceptorTools available
Research in your existing browser sessionPage text, tables, links, browser search, multiple contexts, and a source-ledger research workflow.
Edit a document, slide, or design and save the resultRich-editor scenes, canvas input, file uploads, and direct capture of page-produced export bytes.
Complete a native Mac task while you keep workingAccessibility controls, background input, Apple Events, and capture of covered windows.
Operate an app on a real iPhone and inspect its stateElement trees, taps, text entry, screenshots, process telemetry, and WebKit inspection.
Turn a demonstrated workflow into reusable commandsBrowser and Mac recording, event timelines, and replay-plan export.

Use it from any agent that can run shell commands, or through its built-in Model Context Protocol (MCP) server. Interceptor does not require a model API key; your chosen agent or model may have its own subscription or API costs.

Why Interceptor

  • Your existing browser session. Work with the profiles, cookies, and logins you already use. The default browser path uses an extension rather than launching a separate automated browser.
  • Look beyond pixels. Read DOM and accessibility structure, inspect network activity, and use specialized interfaces for rich editors, Electron apps, native runtimes, and iPhone services.
  • Background automation. Browser and native Mac operations default to background execution so you can keep working. Explicit activation brings a target forward when needed. Behavior and exceptions.
  • Keep the evidence. Return text or JSON, save artifacts, record workflows, and verify task state before marking a browser task complete.
  • Use one command vocabulary. open, read, act, and inspect combine common steps; detailed verbs and agent skills cover deeper work.

Get started

Download an installer from Releases. Start with Browser for web tasks, or Full for native Mac and iPhone work.

Host / packageWhat it enables
macOS: Interceptor-Browser-<version>.pkgCLI, daemon, and browser extension files.
macOS: Interceptor-Full-<version>.pkgBrowser package plus the native Mac bridge and iPhone tooling. The bridge requires macOS 15+.
macOS: Interceptor-Safari-<version>.pkgSafari extension add-on, installed after either core package.
Windows 11 24H2+: Interceptor-Browser-<version>-windows-{x64,arm64}.exeBrowser automation. Windows installation guide.
Linux: Interceptor-Browser-<version>-linux-{x64,arm64}.tar.gzBrowser automation and install scripts.

The macOS release binaries target Apple silicon. Windows and Linux support browser automation; native desktop control and iPhone setup require a Mac.

macOS installation

  1. Install the Browser or Full .pkg from Releases.
  2. In Chrome or Brave, install the Interceptor extension. The local runtime and browser extension are both required.
  3. For Safari, also install the Safari .pkg, open /Applications/InterceptorSafari.app once, then enable Interceptor and website access in Safari → Settings → Extensions. Safari requires your approval.
  4. With Full, grant the permissions needed by your task to interceptor-bridge. Run interceptor macos trust --walkthrough for guidance. Accessibility enables native UI control; screen, microphone, and app-automation access are needed for their respective features.

For an unpacked Chrome/Brave extension, enable Developer Mode on the browser's extensions page and load /Library/Application Support/Interceptor/extension/. Keep one copy per profile. Store and unpacked installations share an extension ID; store updates arrive after store review.

Windows and Linux

On Windows, run the architecture-matched installer, install the browser extension, then open a new terminal. Chrome, Brave, and Edge can use the Chrome Web Store listing; Edge requires allowing extensions from other stores. The Windows guide also covers unpacked extensions, silent installation, updates, and removal.

On Linux, extract the architecture-matched archive and run this from its directory:

bash
bash scripts/install.sh --browser-only --brave
# For Chrome, use --chrome instead of --brave.
./dist/interceptor open "https://example.com"

Follow the installer's extension-loading instructions. The archive includes compiled binaries, so a separate Bun installation is not needed for this release path.

Your first browser task

With the extension enabled and browser open:

bash
interceptor open "https://example.com" --group first-task
interceptor read --group first-task
interceptor group close first-task

open starts the daemon when needed, opens a managed tab in the background, and returns the page's tree and text. You should see Example Domain. read inspects it again; group close cleans up that task's tabs.

If several browser contexts are connected, run interceptor contexts and add --context <id> to your browser commands. Safari's ID is safari. interceptor status reports local health but does not start the daemon by itself.

Connect your agent

For a shell-capable agent, adopt the browser, macOS, iOS, and research skills into detected agent runtimes. Mac and Windows installers bundle them; Linux archive users can run adoption from a source checkout containing .agents/skills/:

bash
interceptor skills adopt

For an MCP client, register Interceptor and restart the client. The installer detects Claude Code, Codex, Gemini CLI, Cursor, and Claude Desktop:

bash
interceptor mcp install
interceptor mcp status

The MCP server exposes browser, macOS, iOS, read, local, and raw tools, plus discovery resources. Its permissions are configured by the operator. See the MCP guide.

Browser automation

Read and operate the web apps you are already signed into. Chrome, Brave, and Safari use Interceptor's extension. Browser-specific limits are described in the browser guide.

  • Pages and forms: read text, HTML, tables, links, frames, and accessibility-style element references. Click, type, select, drag, scroll, and navigate. Native dropdown selection validates exact values or unique labels and rejects invalid options.
  • Rich editors and canvases: inspect supported scene graphs, select objects, navigate slides, and enter text in canvas-rendered editors. Workflows cover Google Docs, Slides, Sheets, Canva, and WebGL viewers; support depends on the app and operation.
  • Network and application state: inspect fetch/XHR, SSE, WebSocket, Beacon, and BroadcastChannel traffic; examine headers, rewrite matching requests, and export captured traffic. Passive inspection uses standard page APIs without attaching a debugger.
  • Files and exports: upload local files to inputs, drop zones, and supported file pickers. Save page-produced Blob, buffer, or blob: URL bytes directly to disk with save, including native exports from supported web apps.
  • Capture and browser data: screenshots, OCR, canvas inspection, cookies, storage, history, bookmarks, downloads, and session management.
  • Multiple tasks: select a browser profile with --context, a tab with --tab, and a task's managed tabs with --group. Use a distinct group for each concurrent worker.
  • Tab cleanup: when no command has touched a managed tab group for 10 minutes, Interceptor closes its idle tabs. It keeps the tab you are looking at, audible tabs, tabs with unsaved form input, and a window's last tab, so the group itself can remain. The extension popup changes the idle time and can delete the whole idle group instead (off by default). Administrators can set both through managed browser policy. interceptor sessions restore <id> reopens a closed page in the background.
bash
interceptor open "https://example.com" --group browser-task
interceptor find "Learn more" --group browser-task
interceptor inspect --group browser-task
interceptor group close browser-task

To interact, use the current reference returned by read or find: interceptor act <ref> clicks it; interceptor act <ref> "text" enters text. Re-read after navigation or a stale-reference error, and check the resulting state after an action.

Browser command reference · Rich-editor workflows · Export capture

macOS automation

Desktop automation for native Mac apps, windows, menus, and dialogs, including supported background workflows. The Full package provides a Swift bridge with Accessibility, capture, input, and Apple framework integrations.

bash
interceptor macos trust
interceptor macos tree --app "Finder"
interceptor macos windows --app "Finder"

These commands inspect Finder without activating it. Use returned element references with macos act, click, or type; use macos open "Finder" --activate when you want to bring it forward.

AreaCapabilities
App controlAccessibility trees, text and values, clicks, typing, keyboard input, scrolling, dragging, menus, app lifecycle, and window placement.
Capture and perceptionCovered/minimized-window screenshots, screen streaming, OCR and vision over a window or a saved image file (including an iPhone screenshot), system/microphone audio, speech recognition, sound classification, and language analysis.
Files and system workSpotlight search, file reads/writes/watchers, clipboard, URL fetching, OS logs, AppleScript/JXA, JavaScriptCore scripts, and Apple Events.
DocumentsPDF text, forms, annotations, merge/split operations, data detection, translation, and thumbnails.
Personal appsCalendar, reminders, contacts, photos, location, music, maps, sharing, and notifications through the corresponding system frameworks and permissions.
Visual toolsHTML and SpriteKit overlays, window-anchored HUDs, capture streams, and virtual displays.
Local computeApple Intelligence on supported macOS 26+ systems, OCI containers, and Linux/macOS VM lifecycle and guest tools. See the guides for runtime, model, and guest prerequisites.

Mac command reference · Background behavior · System and media tools · Documents · Personal data · Overlays · VMs

iPhone and iOS automation

Drive apps on a physical iPhone and inspect more than its screen. Interceptor's own on-device XCUITest runner handles UI work; additional interfaces expose developer and device services.

Setup requires an owned, unlocked iPhone in Developer Mode, pairing with your Mac, a Full installation, and Xcode signed into an Apple Developer team. Connect by USB for initial pairing. Wi-Fi operation is available once paired, with network reachability between the phone and Mac.

bash
interceptor ios discover
interceptor ios setup
interceptor ios tree

setup builds, signs, installs, and launches the runner. Complete any on-device XCTest authorization prompt yourself, grant Local Network access when needed, and keep the phone unlocked and awake during automation. This operates the phone's foreground UI. It does not provide the desktop's background-use guarantee.

AreaCapabilities
App interactionRef-tagged element trees, find/inspect, taps, text, scrolling, dragging, long presses, multi-finger gestures, hardware buttons, screenshots, a continuous frame stream over Wi-Fi, and app launch/activate/terminate. Taps, drags, swipes, and gestures also take screen coordinates, for games and canvas apps with no element tree.
On-device scriptsios eval runs JavaScript inside the runner, combining UI reads, decisions, and actions in one request.
Developer telemetryProcess lists, CPU/memory and GPU sampling, app launch with arguments, and location simulation through supported device services.
Web contentios web inspects exposed Safari and WKWebView targets: page structure, JavaScript, console, and network activity.
Device inspectionLogs, diagnostics, crash reports, profiles, and supported media or app-container file access. Availability depends on iOS, pairing, and service permissions.

Use --on <alias> to select a phone when several are configured. For setup, exact verbs, service limits, and connection recovery, see the iPhone guide and command reference.

Record and reuse workflows

Teach a browser workflow by doing it once while Interceptor records clicks, inputs, navigation, DOM changes, and correlated traffic. Export the session as a timeline or a replay plan:

bash
# Start with an open Interceptor-managed browser tab.
interceptor monitor start --instruction "Search the catalog and compare two items"
# Perform the workflow.
interceptor monitor stop
# Use the session ID returned above:
interceptor monitor export <session-id> --plan

Native Mac recording uses interceptor macos monitor and the same export <session-id> --plan pattern. Review a generated plan, supply any missing inputs, and check the result when replaying it.

For longer browser jobs, monitor task stores checkpoints, target context, lessons, and verification checks. Resume a task across agent sessions; task complete runs its checks and marks it complete only when they all return true.

Browser recording · Mac recording · Durable task state

Go deeper

These interfaces add access beyond ordinary UI controls. Each has its own setup and support boundaries.

InterfaceWhat it addsGuide
Electron / Chromium appsRead DOM, execute JavaScript, inspect traffic, and capture an app's web contents with macos cdp or macos cdp app. Some attachment paths require an app relaunch.App control
Native runtimeInspect live objects and layers, call selectors, change rendered text, and observe calls with macos runtime. Requires a compatible target and an agent dylib; advanced extensions are separate from the core package.Runtime setup and commands
ResearchA browser-based investigation workflow with query planning, saved sources, corroboration, and an evidence ledger. Start with interceptor research or the research skill.Research skill
ExtensionsAdd operator-supplied bridge domains, commands, runtime agents, and skills. Inspect installed extensions with interceptor extensions list.Extension authoring

The default browser path and passive capture do not require CDP. Electron control uses CDP where appropriate, and optional browser debugger commands are available separately.

Permissions and data

Interceptor runs locally and hands results to the agent or script you choose. That agent may send content to its model provider. Interceptor's browser extension has no publisher analytics; see the privacy policy for its access, passive page buffers, and storage behavior.

  • Real access: commands act in your accounts and apps. Browser commands normally target managed tabs, but the extension's permissions and local capture hooks are broader than that task boundary.
  • Credentials by name: the macOS keychain-backed vault can deliver a secret to an allowed target with --secret; supported Chromium saved logins can also be filled by host. Standard browser reads mask password and credential-marked fields. This is not blanket redaction of screenshots, scene reads, eval, or network data.
  • MCP permissions: reads and UI mutations are enabled by default. Destructive and arbitrary-code execution tiers require operator opt-in and confirmation. These gates belong to MCP; the direct CLI follows its own command contracts.
  • Focus: default browser and Mac actions preserve your working context. Browser --os input requires a focused target; browser pixel-screenshot fallback may briefly borrow focus. Use --no-fallback when that is unacceptable.

Permission guide · Credential delivery · MCP controls

Documentation

Start with the browser guide, Mac guide, or iPhone guide. For implementation details, read Architecture; for agent operating rules, read AGENTS.md.

bash
interceptor help                  # Capability overview for your installation
interceptor help <command>        # One command's usage and options
interceptor help --all            # Full command reference
interceptor manifest              # Machine-readable command contracts
interceptor diagnose              # Runtime and extension diagnostics

Updates and troubleshooting

On a Full Mac installation, interceptor update checks for an update and interceptor update status reports progress. Browser-only users can run a newer installer; interceptor upgrade --full adds native capabilities. Windows updates use the newer signed installer. Linux updates use the matching release archive.

If no browser context connects, check that both the runtime and extension are installed and enabled. interceptor diagnose distinguishes store and unpacked versions. interceptor reload --context <id> reloads an unpacked extension; a store copy remains subject to store publication. For missing native permissions, use interceptor macos trust --walkthrough.

macOS package removal: sudo bash "/Library/Application Support/Interceptor/uninstall.sh". Add --bridge-only to remove native Mac support while retaining Browser.

Development and contributions

The CLI, daemon, and browser extension use TypeScript and Bun. The native Mac bridge and iPhone runner use Swift. A local daemon routes commands to the selected browser, bridge, app runtime, or device.

For a source install, use Bun and an installed Chrome or Brave browser. The default build on macOS also builds the native bridge and requires macOS 15+ and a Swift 6.2 toolchain:

bash
git clone https://github.com/Hacker-Valley-Media/Interceptor.git
cd Interceptor
bun install
bun run build
bash scripts/install.sh --browser-only --brave
# On macOS, use --full instead of --browser-only for native capabilities.
./dist/interceptor open "https://example.com"

Enable Developer Mode in the selected browser profile before loading an unpacked extension. Branded Chrome requires manually loading extension/dist/ from its extensions page. The installer can relaunch Brave and asks before closing a running instance. Windows source installs use scripts/install.ps1; see the Windows guide.

For code changes, run the checks appropriate to the affected surface:

bash
bun run typecheck
bun test
bun run build

Report a bug with the version, OS/browser or device, command, expected result, and relevant redacted output. Contributions to code, reproducible workflows, and documentation are welcome.

License and credits

Interceptor is licensed under Elastic License 2.0. See commercial terms.

Created by Ron Eddings. Thanks to Pedram Amini for early feedback and Maestro, Daniel Miessler for the name and PAI, Klaus Agnoletti for Edge/Vivaldi installer support, and Alex Tabisz for Linux support.

Use Interceptor MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Interceptor is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Interceptor as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Interceptor MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "interceptor": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Interceptor MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Interceptor MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Interceptor to help me with this task?
Interceptor
Sure. I read it.
Here is what I found using Interceptor.

Frequently asked questions

What is the Interceptor MCP server used for?

Interceptor is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Interceptor MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Interceptor with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Interceptor MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Interceptor connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Interceptor MCP to TypingMind?

Interceptor runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Interceptor MCP provide in TypingMind?

Interceptor exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Interceptor MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Interceptor requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇